Repository navigation
Conversation
brain-nightly.sh refuses to publish while release-affecting source is uncommitted, but its pathspec list missed four modules the reducer and the release tools import, so a local edit to one was frozen under a Git authority that lacked it: - brain/install_wikidata_observation.py, brain/wikidata_observation.py (brain/build_common.py) - catalog/huggingface_download.py (brain/build_common.py) - brain/tools/execution_environment.py (the release tools) The policy already treats all four as release-affecting. A new test computes the local-import closure of the reducer scope and the release tools (lazy imports included) and requires the nightly's uncommitted-source check to cover every module in it, so a future import cannot slip past.
Owner
Author
|
Verdict: merge after release B is promoted, as the description says. Nothing blocks merge.
Posted by Claude Code (AutoformBot "Merge Currently Open PRs 4" session). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
brain-nightly.shrefuses to publish while release-affecting source is uncommitted. Its pathspec list misses four modules that the reducer and the release tools import, so a local edit to one of them was frozen under a Git authority that lacked it:brain/install_wikidata_observation.pyandbrain/wikidata_observation.py, imported bybrain/build_common.pycatalog/huggingface_download.py, imported bybrain/build_common.pybrain/tools/execution_environment.py, imported by the release toolssite/ops/brain_release_authority.pyalready treats all four as release-affecting. Only the nightly's source check missed them. Found in #75's re-review.Change
test_release_cleanliness_gate_covers_every_module_the_reducer_imports(site/ops/test_brain_nightly.py):reducer-inputs-v1.json) and the release tools (build_release,verify_release,measure_store,authority_contracts,fold_proposals, the Wikidata bundle modules andingest/common). Lazy imports inside functions count, and imports resolve along the scripts'sys.path(brain,brain/tools,site,catalog,site/ops).bash -npasses under bash and/bin/bash3.2. I didn't run the suite locally because machine load was above the agreed limit; CI runs it.