Repository navigation
The 006 workflows contract describes tests.yml as opensoft/openRepoTools-code#22 leaves it: tests and tests-no-submodule are gates over a matrix of shard jobs, and the Held-by list names each assertion (opensoft/openRepoTools#77) - #18
Merged
Merged
Conversation
… gates over a matrix of shard jobs and lists what tests/test_tests_workflow.py holds of them, as opensoft/openRepoTools-code#22 leaves tests.yml (opensoft/openRepoTools#77) opensoft/openRepoTools-code#22 (head f86c2e5c423f) makes the code leg's tests and tests-no-submodule checks gates over a matrix of shard jobs, tests-shard and tests-no-submodule-shard, and keeps all four check names. Its body says that the contract's "Held by tests/test_tests_workflow.py" list describes the workflow before that PR, and that the spec leg needs an amendment. This is that amendment. It is meant to land right after code#22, on Brett Heap's 2026-11-09T21:57:15Z choice "(a) Lane 4, now (Recommended)" (opensoft/openRepoTools#165 comment 6752536766). specs/006-release-pypi/contracts/workflows.md: - Jobs: tests and tests-no-submodule no longer "stay byte for byte"; each is a gate over a matrix of shard jobs, and no shard job has one of the release gate's four ids. - Step 3, the git identity: the tests-shard job sets it now, where the tests job did. - "Held by tests/test_tests_workflow.py": "The four job ids are present" and "The three existing jobs keep today's ..." become the assertions that test makes at code#22's head: the exact set of six jobs and their `name:` and `if:`; the kept runner, checkout, Python and `run:` commands of guard-launch-mode and of the two shard jobs, with the shard's pytest command; the gates' `needs:`, `if: ${{ always() }}` and last verify step; each matrix as the plan's shard list; the report upload; the 60-minute timeout. specs/006-release-pypi/plan.md: - Scale/Scope: the count of CI jobs in tests.yml says that two shard jobs sit behind two of the four. Left as they are, each a record of what #228 specified or did, or still true by the four check names: spec.md FR-025, FR-029 and FR-046, research.md R9, tasks.md T015 to T017, proposal.md, design.md, the delta specs, data-model.md and the release gate's contract. Needs its own review. Lane: openRepoTools-4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Reviewer's GuideDocumentationUpdate the workflows contract to describe the shard jobs, their gates, and the assertions held by the workflow test, while clarifying the related comments and package-job identity.
Clarify that FR-025’s unchanged-jobs requirement binds the earlier change while the later change shards the two test jobs and preserves their ids.
Update the plan’s CI job summary to distinguish the four release-gate ids from the two shard jobs behind them.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
does to tests.yml, what a shard gains and whose continue-on-error the Held-by list holds, as opensoft/openRepoTools-code#22 leaves them (spec#18 review fixes) Lane 3's independent review of 0f16433 (opensoft/openRepoTools#77 comment 6753087793) said READY AFTER FIXES. This commit makes them, on top of 0f16433, and checks each claim against opensoft/openRepoTools-code#22 at its head 05a7b4413f69, the in-place merge of code main 5d6eced into f86c2e5c. - MUST 1, specs/006-release-pypi/spec.md, FR-025: a note beside "The three existing jobs MUST stay unchanged", which is unchanged, saying that the MUST binds #228's change, that #77 later made tests and tests-no-submodule gates over shard jobs, and that the three keep their ids (FR-046). Lane 3's ruling on 6752928881: a note beside the MUST, not a change to it. - SHOULD 2, contracts/workflows.md, Jobs: says what #77 does, and drops "did too, until #77", which #296's runs-on change made false. It no longer says guard-launch-mode is byte for byte. - SHOULD 3, contracts/workflows.md, The header comment: "Every other comment stays as it is" is scoped to #228's change, and says what #77 reworded, extended and added. - NIT 5: names guard-launch-mode, tests and tests-no-submodule where it said "The three". - NIT 6: the Held list's first jobs bullet no longer attaches "which are" to tests and tests-no-submodule. - NIT 7: the gate bullets say that "no continue-on-error" is the job's and the last step's, that the gates' download step has continue-on-error: true, and that the diff review answers for the steps nothing holds. - NIT 8: the shard job bullet lists what a shard gains: timeout-minutes, strategy, env SHARD on the step that runs the shard, and the report upload. Left, with the reason in the PR body: NIT 9 (plan.md line 91, research.md line 220, design.md line 432 say the tests job runs the suite or its wheel tests: the tests check still stands for that run, so none is made false), and NIT 11 (a #22 test-file comment, for a #22 follow-up). Needs lane 3's delta check. Lane: openRepoTools-4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
beside opensoft/openRepoTools#77, say where the tests-no-submodule comment now sits, and the note calls its MUST a requirement (#18 review, round 2) Lane 3's check of 8a4853c (opensoft/openRepoTools#77 comment 6754292827) said READY AFTER NITs A and C, with B and D optional. This commit takes all four, on top of 8a4853c, and checks the text against opensoft/openRepoTools-code main 39839dc, whose tree b7deb16 is the head 05a7b44 of opensoft/openRepoTools-code#22. - NIT A: the FR-025 note (specs/006-release-pypi/spec.md) and the Jobs bullet of contracts/workflows.md name opensoft/openRepoTools-code#22, the pull request that sharded the jobs, beside opensoft/openRepoTools#77. - NIT C: contracts/workflows.md, "The header comment", says that opensoft/openRepoTools#77 extended the comment that sat above tests-no-submodule, now above tests-no-submodule-shard. At code main it is tests.yml lines 225 to 240, above the shard job at 241, and nothing sits above the gate at 287. - NIT B: the FR-025 note says "this requirement binds", where it said "this MUST binds". It adds no requirement. - NIT D: this subject writes every number as opensoft/openRepoTools#N, opensoft/openRepoTools-code#N or opensoft/openRepoTools-spec#N. 8a4853c stays as it is. Needs lane 3's delta check. Lane: openRepoTools-4 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap
added a commit
to opensoft/openRepoTools-code
that referenced
this pull request
Nov 10, 2026
…ls, hash members as they are read, and catch RecursionError in the index checks (opensoft/openRepoTools#352 items 1 to 3) (#23) This takes items 1 to 3 of opensoft/openRepoTools#352 in the release workflow's wheel and index checks: - an extra directory entry in the release wheel now fails the inventory check; - members are hashed as they are read, the total uncompressed size is capped, and a member compressed by any method but stored or deflated is refused before any read; - a RecursionError from deeply nested index JSON is caught and refused by name, and a Python that decodes the nesting refuses it as not its JSON API's. Item 4 waits for opensoft/openRepoTools-spec#18. Follow-ups 5 and 6 come in a later pull request. Lane openRepoTools-3's independent review read READY AFTER FIXES at e7ec834; its one MUST is fixed in 8510181, which passed lane 3's delta check. d23268d and b69a8b1 change tests only. All 14 checks are green at b69a8b1 on main 86d635b. It lands under Brett Heap's standing landing word for lane 3's own fixes, typed in lane 3's session on 2026-11-10. Lane: openRepoTools-3 Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap
marked this pull request as ready for review
November 10, 2026 12:29
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 4 days and 5 hours by commenting |
This was referenced Nov 10, 2026
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.
Lane: openRepoTools-4
Claim: opensoft/openRepoTools#77 (comment)
What this changes, and why
opensoft/openRepoTools-code#22, "CI runs the tests as a matrix of shards, keeping the four check names (opensoft/openRepoTools#77)", made each of the code leg's
testsandtests-no-submodulejobs a gate over a matrix of shard jobs,tests-shardandtests-no-submodule-shard, and kept all four check names. It has landed, at 2026-11-09T23:18:48Z, as codemain39839dc78cc4da49eca217f5fd4e52f4abfb7c3d, whose treeb7deb16is the tree of its last head05a7b44.Its body said that this leg's "Held by
tests/test_tests_workflow.py" list describes the workflow before that PR, and that the spec leg needs an amendment. This PR is that amendment. It amends the contract to code#22, so that the contract and the spec describetests.ymlandtests/test_tests_workflow.pyas codemainhas them.The PR has three commits:
0f16433eis the amendment.8a4853cmakes the fixes that lane openRepoTools-3's independent review asked for (CI's Linux test job takes 46–72 minutes a run, because its Python tests and the shell suite run one after the other openRepoTools#77 comment 6753087793, READY AFTER FIXES), with lane 3's answers on FR-025 andplan.md(comment 6752928881).2ae29e4takes lane 3's check of8a4853c(comment 6754292827, READY AFTER NITs A and C, with B and D optional).When it lands
Brett Heap chose to have lane 4 draft this PR at 2026-11-09T21:57:15Z, "(a) Lane 4, now (Recommended)", relayed in opensoft/openRepoTools#165 comment 6752536766. Code#22 has landed, so the contract now describes a workflow the code leg has. The PR waits for lane 3's delta check of
2ae29e4, and then for Brett's word. No test in the code leg reads these files.W2's spec leg also edits
contracts/workflows.md. A merge of specmaina980d93into this branch is clean (tree6ebb4eca), and the coordinator makes it at landing. The line numbers below are this branch's at2ae29e4. In the merged tree the Held heading is at line 441 and the FR-025 note atspec.md:582.Each changed place
specs/006-release-pypi/spec.md, FR-025, lines 577-581. The MUST "The three existing jobs MUST stay unchanged" is left as it is. A note beside it says that this requirement binds #228's change, that CI's Linux test job takes 46–72 minutes a run, because its Python tests and the shell suite run one after the other openRepoTools#77 (CI runs the tests as a matrix of shards, keeping the four check names (opensoft/openRepoTools#77) openRepoTools-code#22) later madetestsandtests-no-submoduleeach a gate over a matrix of shard jobs, and that the three keep their ids (FR-046). This is lane 3's ruling: a note beside the MUST, not a change to it.specs/006-release-pypi/contracts/workflows.md, "The header comment", lines 36-40. "Every other comment stays as it is" is scoped to #228's change. The note says what spec(ci): require fresh admission observations after caller movement #77 later did to the comments: it reworded the header comment's sentences on what every trigger runs, extended the comment that sat abovetests-no-submodule, now abovetests-no-submodule-shard, and added comments abovetests-shardand inside both shard jobs. At codemainthat comment istests.yml:225-240, above the shard job at:241, and nothing sits above the gate at:287.contracts/workflows.md, "Jobs", lines 44-51. It said thatguard-launch-mode,testsandtests-no-submodulestay byte for byte. Now it says what spec(ci): require fresh admission observations after caller movement #77 (CI runs the tests as a matrix of shards, keeping the four check names (opensoft/openRepoTools#77) openRepoTools-code#22) does: it leavesguard-launch-modeas it is, and makestestsandtests-no-submoduleeach a gate over a matrix of shard jobs. There is no history claim, and no byte-for-byte claim forguard-launch-mode, because #296 changedruns-onon all three. It names the three,guard-launch-mode,testsandtests-no-submodule, as among the gate's job ids that the code leg keeps (FR-046). The release gate in the code leg'srelease.ymlcompares a job's name with each of the four exactly, so a shard job never counts as one.contracts/workflows.md, step 3 of thepackagejob, lines 57-58. The git identity is set "as thetests-shardjob sets it", where it said thetestsjob. Thetestsgate does not set it.contracts/workflows.md, "Held bytests/test_tests_workflow.py", lines 365-415. These replace "The four job ids are present" and "The three existing jobs keep today's ...". Each bullet is what a test oftests/test_tests_workflow.pyasserts at codemain:tests-shardandtests-no-submodule-shard, the shard jobs behindtestsandtests-no-submodule; none of the six has aname:; only the two gates have anif:, which is${{ always() }}(test_tests_yml_has_the_four_gate_jobs_and_the_two_shard_jobs_and_no_other);guard-launch-modeand the two shard jobs keep the runner, checkout options, Python version andrun:commands, the shard's pytest command replacing the old one. The bullet lists what a shard gains:timeout-minutes,strategy, anenv:ofSHARDon the step that runs the shard, and the upload step (test_tests_yml_existing_job_keeps_todays_runner_checkout_python_and_runs);needs:,if: ${{ always() }}, absence ofstrategy:and of a job-levelcontinue-on-error, and its last step, the only one that runsci_shards.py verify(test_tests_yml_the_gate_waits_on_its_shards_and_fails_closed). Lines 398-402 say that "nocontinue-on-error" is the job's and the last step's, that the gates' download step hascontinue-on-error: true(tests.yml:214and:302), and that the diff review answers for the steps no test holds. Lines 403-404 say that whatverifychecks is held bytests/test_ci_shards.py;fail-fastis false, and each shard job keeps its report in one upload step that always runs (test_tests_yml_the_matrix_is_the_plans_shards_and_their_reports_are_kept);timeout-minutesis 60 (test_tests_yml_each_shard_job_times_out_at_60_minutes).specs/006-release-pypi/plan.md, "Scale/Scope", lines 135-137. "4 CI jobs intests.yml" now says that these are the release gate's ids and that two shard jobs sit behind two of them. Lane 3 ruled to keep this hunk (comment 6752928881).The bullets about the triggers, the
packagejob,tomli, the wheel check and the header comment are unchanged, and so are the tests behind them.The reviews' items
First review, at
0f16433e:main. The merge is the coordinator's, at landing.continue-on-error: done, at lines 387 and 398-402.Second check, at
8a4853c:spec.md:578-581) and in "Jobs" (workflows.md:44).tests-no-submodulecomment sits now: done, atworkflows.md:38-40.spec.md:578.2ae29e4's subject writes each number asopensoft/openRepoTools#N,opensoft/openRepoTools-code#Noropensoft/openRepoTools-spec#N.8a4853cstays as it is.Checked and left
spec.mdlines 214, 575-576 (FR-025), 627 (FR-029) and 797 (FR-046), and the edge case at line 351: each names the four ids, which code#22 keeps, and the gate reads them by name. Still true.contracts/workflows.mdstep 6 of the release build, lines 219-223: the four jobs "each ran", none in progress, the newest succeeded. Still true, because a gate always runs and goes red when a shard fails.plan.mdline 91 ("CI'stestsjob is the suite of record"),research.mdline 220 ("In thetestsjob the wheel tests skip, and every other package test runs there") anddesign.mdline 432 ("they also run in thetestsjob"): the review's optional NIT 9. Left, and lane 3 accepted the reason. Each says what is run or skipped, and in which check. The pytest shards run the tests, and thetestscheck is the gate that fails unless the shards add up to the whole suite, so it is still the check of record. The skip behaviour is unchanged, intests-shardandtests-no-submodule-shard. None of the three is made false, only less exact about which job holds the step.research.mdR9 (line 232),data-model.mdline 154,plan.mdlines 204 and 212,tasks.mdT015 to T017,quickstart.md: records of what 006 decided and did, or statements about the four check names. R9's list of what the workflow test holds is incomplete now, not false.openspec/changes/release-tags-pypi/,proposal.mdline 480 ("The three existing jobs are unchanged") and the delta specs: the proposal for #228, and the delta specs name only the four ids.openspec validate release-tags-pypi --strictstill reports the change valid (openspec 1.13.1, withDO_NOT_TRACK=1).docs/release-notes/v1.1.0.mdline 39 ("every run has four jobs"): the notes of a released version.specs/004-migrate-to-triad/: dated evidence, and the T010 patch.git apply -R --checkaccepts the patch against the code leg's earliermaintests.yml, so it is already applied there, and code#22 branched from that file: code#22 does not make it stale.Not in this PR
NIT 11 is a follow-up for the code leg, with opensoft/openRepoTools#77's:
tests/test_tests_workflow.pyat codemainstill says that thetestsjob sets the git identity, in the comment at line 171 ("The identity the fixture commits carry, as thetestsjob sets it") and in the docstring at line 1239. Thetests-shardjob sets it.Checks
main39839dc'stests/test_tests_workflow.py,.github/workflows/tests.yml,tests/test_ci_shards.pyand.github/ci/ci_shards.py. All are found as written, exceptrelease.yml, which is in the re-wrapped line ofplan.mdand is not a claim about the code leg'stests.yml.SHARD'senv:is on the step that runs the shard in both shard jobs (tests.yml:188and:276),timeout-minutes: 60andfail-fast: falseare in both, and the onlycontinue-on-errorin the file is the two download steps (:214and:302). The comment that was abovetests-no-submoduleis at:225-240, abovetests-no-submodule-shardat:241, and nothing is above the gate at:287.tests/test_tests_workflow.pythat hold the triggers, the jobs, the gates, the matrices, the timeouts, the header comment and the digest rule were run at39839dc, in a clone of the code leg with its submodule: 14 passed. Thepackagejob's tests were not run.openspec validate release-tags-pypi --strict, openspec 1.13.1 withDO_NOT_TRACK=1: valid.git diff --check: clean.git merge-treeof this branch over specmaina980d93: clean.Review
Lane openRepoTools-3's independent reviewer, on sonnet-xhigh, reviewed
0f16433e, and lane 3 checked8a4853cby its diff.2ae29e4needs lane 3's delta check. The PR then waits for Brett's word.🤖 Generated with Claude Code
Summary by Sourcery
Amend the 006 release workflow contract to match the shard-based tests workflow while preserving its externally required check names.
Enhancements: