Repository navigation
ci: run the test suite on Linux only - #227
Merged
Merged
Conversation
Remove the `tests-windows`, `parse-macos` and `tests-macos` jobs from .github/workflows/tests.yml and keep `guard-launch-mode`, `tests` and `tests-no-submodule` (all ubuntu), the triggers and the job bodies unchanged. No remaining job has `needs:` on a removed job, and the file has no `concurrency` block or job outputs. Brett Heap decided on 2026-10-15, for the whole estate, to drop the macOS and Windows test jobs. The workflow's header and trigger comments, README.md's CI paragraph and AGENTS.md's testing section described the removed jobs as current fact; they now say the suite runs on Linux only and that nothing in CI parses under macOS's bash 3.2. Remove the two tests that asserted on the deleted `/bin/bash -n` step: `test_the_macos_job_parses_every_bash_file_this_repository_ships` (tests/test_repo_hygiene.py) and `test_the_macos_job_parses_both_commands_with_bash_3_2` (tests/test_claude_current.py). Both read tests.yml and would fail without the `parse-macos` job. `test_shipped_bash_parses_under_bash` still parses every shipped file under the local bash. Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
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 1 day and 4 hours by commenting |
Reviewer's GuideThis PR simplifies CI to the three existing Ubuntu jobs by deleting the Windows suite, macOS suite, and macOS Bash 3.2 syntax gate, then aligns workflow commentary, documentation, and repository tests with the reduced platform coverage while leaving triggers and retained Linux job steps unchanged. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
brettheap
pushed a commit
that referenced
this pull request
Oct 17, 2026
…ich already makes #126 items 2 and 3 accurate Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Oct 17, 2026
brettheap
pushed a commit
that referenced
this pull request
Oct 17, 2026
origin/main moved to aaa7bc8 (#191, the installer payload source, and #227, which took the macOS and Windows jobs out of CI). The merge conflicted in two files and both resolve in favour of main: - .github/workflows/tests.yml: main's file in full. The comments this branch rewrote belonged to `tests-macos` and `tests-windows`, which are gone. - README.md: main's CI paragraph, with its "the four bash files" reworded to "the shipped bash files" so the sentence no longer carries a count. The paragraph keeps main's length, so the README line cap is untouched. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Oct 17, 2026
…he install tests' docstrings, the pin reader, the CI runner note and the lane manual (#58) With #191 and #227 on main the rest of #58's sites can be reached, and two sentences found by the sweep were stale in more than their number. - `openRepoTools` and `tests/test_openrepotools_command.py`: "ONE PATH NOTE for the four of them", "all four or none", "which of the four were missing", "each of the four files `--install` places" and "each of the ten" said a number the installer has not placed for a long while. They now say "everything it placed", "all of them" and "each of them". Comments and docstrings only. - `.github/workflows/tests.yml`: "Nothing this repository ships is Python at all — three bash files —" was wrong twice. `lanes-index` and `lane-worktrees` are `python3` scripts, and the count was stale. The true claim, the one the line exists for, is that nothing shipped needs a Python package: both import only the standard library. - `tests/test_upstream_pin.py`: the pin reader's docstring said the repository "ships three bash files and installs nothing"; it now says what is true without a count. - `docs/README-lanes.md`: the `--install` comment's "thirteen commands". Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap
pushed a commit
that referenced
this pull request
Oct 17, 2026
…ch on the tree the PR will be judged on origin/main at aaa7bc8 carries #191's install from the code an adopted assembly pins (a74c7fc) and #227's Linux-only CI. A trial merge (git merge-tree --write-tree) was clean; no file is changed on both sides: main changed .github/workflows/tests.yml, AGENTS.md, README.md, openRepoTools and four test modules, none of which this branch touches. The merged tree's counts are in the commits that follow. Lane: openRepoTools-3 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 17, 2026
brettheap
pushed a commit
that referenced
this pull request
Oct 18, 2026
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Oct 18, 2026
brettheap
pushed a commit
that referenced
this pull request
Oct 18, 2026
…ay it without a number (#58) The review of #239 found three more sentences of the kind #58 names, which the earlier commits here did not reach. All three are comments or test prose; no behaviour changes. - lane-end, the Amendment 15 block: 'the ONE resolver all four commands share' was never true of four. lane, lane-start, lane-end, lane-handoff, lane-rename and lane-worktrees all call canon-lane, so it now says what docs/README-lanes.md already says, that the commands share it rather than each keeping its own, and the clause (h) reason after it no longer counts implementations either. - tests/test_lane_helpers.sh, the alias-read refusal's comment: 'the four commands that read canon-lane' is now 'the commands that read canon-lane'. - tests/test_repo_hygiene.py, the docstring of the case-in-a-command- substitution rule: 'all twelve files already pass bash -n in CI, and the macOS job is the only place the defect exists' counted a list that holds 14 and named a job that Brett Heap took out of CI on 2026-10-15 (#227). It now says every file in ALL_BASH passes bash -n under the Linux bash CI runs, and bash 3.2 is the only place the defect exists. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Oct 19, 2026
brettheap
added a commit
that referenced
this pull request
Oct 19, 2026
…patch against the files #228's series leaves, add T009's assembly-root length-caps patch, and mark lines 17 and 33 of the Gate B walk PARTLY until they are reviewed (part of #186) (#266) * Replace T006's assembly-0001 and T010's code-leg tests.yml patch with versions that apply to the files #228's series leaves, and add T009's patch that sets the assembly-root length caps the re-cut needs (part of #186) The earlier assembly-0001 (sha256 cd69c2a9...c5d096) stopped applying to the root files once #227, #237 and #228 rewrote the lines seven of its twenty hunks stand on, and the earlier code-leg tests.yml patch (7ee3c6d0...786c3b) stopped applying once #227 rewrote tests.yml. Each is replaced at its own path, copied byte for byte from lane 1's private prep. The assembly-root caps the re-cut needs, AGENTS.md 354 and README.md 529, are a new patch beside them. - patches/t006/assembly-0001-...: re-cut, sha256 2ec48bbf00a90e857c77c6d8de8a68f8643e5351bf611bfc47476816a3eaead7 - patches/t010-code-leg-tests-workflow.patch: regenerated against tests.yml 2cfa173, sha256 1406ead36f1edab24254257d430d084306c618c3f1694faf647152d00cef6d56 - patches/t009-assembly-caps.patch: new, applied in the code leg after code-0001 and the T010 patch, sha256 2dd4aac276f54bebc164e12cf34c0aa64c6348b32414501f291e49f4d9b2bbe5 Specs only: no file outside specs/004-migrate-to-triad/ changes. Lane: openRepoTools-1 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Note in the 004 records that the earlier assembly-0001 and code-leg tests.yml patch are replaced at their paths, naming the new digests and why, and list T009's caps patch beside them (part of #186) Four records cite the replaced files by digest, by name or by what applying them gave: the gate A/B evidence's patch inventory, review table and review summary, the composed candidate's inputs, apply order and r3 build, T006's patch digests and apply results, and the T009/T010 record's patch list, length caps, section 5 and review summary. Each citation keeps what it says about that day, and a note beside it, headed "Superseded 2026-10-19", says the file at the path has since been re-cut or regenerated, gives the new sha256 and the reason (#227, #237 and #228 rewrote the lines the earlier files stand on), and says the earlier review covers the earlier file. The notes also list patches/t009-assembly-caps.patch beside the T006 and T010 patches where those are listed. tasks.md and the openspec change name no patch file, so neither changes. Lane: openRepoTools-1 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Gate B status walk: lines 17 and 33 go from MET to PARTLY, lines 32 and 33 describe the regenerated code-leg workflow patch, and the counts, the PARTLY list and the owed reviews follow (part of #186) Line 17 rested on lane 3's review of an assembly-0001 that no longer applies to the root files #228's series leaves, and line 33 on that review's reading of six jobs, three of which #227 removed, and of a code-leg workflow patch that no longer applies. Both go to PARTLY until the files that replace them have a recorded review, which is the independent review of the cutover-patches PR. - Lines 32 and 33 take the regenerated patch's drafted text, with the result on #228's stack top (it applies at every #228 head, and a leg-like run shows no code-leg RED) and lane 1's ruling of 2026-10-19 that `tests` and `guard-launch-mode` take no -rs, so the leg's skip reasons are read in `tests-no-submodule`. - Line 17 gives the re-cut's evidence: the earlier file's seven failed hunks, the re-cut's digest and apply results, and the 342 and 374 passed runs with the controls. - Line 46 says the reviews of the three patches are owed. Line 40 counts eight patch files. - The counts go from MET 27, PARTLY 18, OPEN 0, AFTER-GATE-C 1 to MET 25, PARTLY 20, OPEN 0, AFTER-GATE-C 1, recounted from the table; the PARTLY list gains 17 and 33, and a block "Moved on 2026-10-19" and a header note say why. - The section 3 rows for T006, T009 and T010 and the Gate C approval draft say which patches change and that T009's caps patch joins the follow-ups. Lane: openRepoTools-1 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Brett Heap <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This was referenced Oct 20, 2026
brettheap
added a commit
that referenced
this pull request
Oct 21, 2026
…init or lane-end where a utility run through command fails, and a scan of the shipped scripts keeps that shape out (#292) (#294) * Test the three places where macOS's bash 3.2 ends a set -e script at a failing command <utility>, and scan every shipped errexit script for that shape with bash's own parser (#292) The quirk: under `set -e`, GNU bash 3.2.57, macOS's /bin/bash, exits when a utility run through the `command` builtin fails, even on the left of `||` or `&&`, after `!`, in a condition, or in a function called from one. bash 5.2 carries on there. The new file runs `lanes --worktrees` (lanes:317), openRepoTools' `wip_hygiene_lines` (:4014) and lane-end's `dh_settle_gone` (:1377) the way their scripts run them. Under bash 3.2.57 five of those cases fail with exit 1 and no output; under bash 5.2 all of them pass. CI has had no macOS job since #227, so the scan is what Linux CI sees. bash's own parser reads each shipped script that turns `set -e` on, with `command` aliased to a marker word, so only a `command` in command position is found; each use must be in ALLOWED with the reason it cannot trip bash 3.2. On main it fails at the three sites. The fix follows. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Run a bare grep in lanes --worktrees and wip_hygiene_lines, and ask ps in a subshell of its own in lane-end, so macOS's bash 3.2 no longer ends them at a failing command <utility> (#292) Under `set -e`, bash 3.2.57 exits where a utility run through the `command` builtin fails, even on the left of `||` or after `!` in a condition. Three shipped sites sat there: - lanes:317 filtered the worktrees helper's stderr with `command grep -v`, which exits 1 whenever the helper said nothing but its "not fetching" note, so `lanes --worktrees` exited 1 with no output; - openRepoTools:4014, in `wip_hygiene_lines`, tested each hygiene line with `command grep -Fqx`, which fails exactly when the line is missing, so `wip init` stopped part-way through a template's `.gitignore`; - lane-end:1377, in `dh_settle_gone`, asked `! command -p ps -p` after `kill -0`, and `ps -p` fails exactly when the pid is gone, so lane-end ended at the moment it had its answer. The first two drop `command`, as the rest of those files already write `grep`. The third keeps `command -p`, which reaches the real `ps` past the shell suite's fake one, and runs it as the whole body of a subshell, whose status is ps's either way. The sweep found no other use in a script that turns `set -e` on outside a safe shape: lanes:503 is a pipeline element, lanes:507 sits inside `$( )`, and lanes-edit.sh's five run without `set -e`. The scan in tests/test_command_builtin_errexit_292.py now passes. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Say in AGENTS.md that command grep is for the agent's own shell and never for a set -e script, where macOS's bash 3.2 exits at a failing one (#292) "Read `command grep` wherever an exit status matters" is the cure for the harness's `grep` function, which only the agent's own shell has. Both of #292's grep sites read like that advice applied inside a script, where under `set -e` bash 3.2 exits at the failing command, even where its status is tested. The note is folded into its paragraph without adding a line. AGENTS.md sits at its 330-line cap (test_repo_hygiene), and only lines 280-283 change, so T006's assembly-0001, whose nearest hunk starts at line 288, still applies (`git apply --check`). This commit stands alone so that review can drop it. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Brett Heap <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Oct 21, 2026
brettheap
added a commit
that referenced
this pull request
Oct 26, 2026
…S.md opens with the shape's pointer and a short map of the three repositories, README.md gains them and the lockstep invariant, and every path that crossed into a leg names that leg. Rehearsal patch for #186, task T006 of specs/004-migrate-to-triad/tasks.md, against run C's rehearsed split 69b8924. Nothing under shape/ and no file with a row in contracts/shape-pin.yaml is touched. - AGENTS.md: line 1 is the exact pointer that openRepoShape 7f84ca4's SHAPE_POINTER_LINE and its adopt follow-up require. A seven-entry map follows: spec, code, this root, the tests, the lane tooling's code and manual, paired feature worktrees, and the local-rehearsal file-transport flag. The original AGENTS.md comes after it, unchanged except for 16 path repairs (docs/ -> spec/docs/, openspec/ -> spec/openspec/, and upstream/, contracts/, tests/ and .github/ -> code/...). 316 -> 340 lines. - README.md: a "Three repositories" section and "The lockstep invariant", which contracts/{spec,code}-pin.yaml's `resync_runbook: README.md#the-lockstep-invariant` names and which only shape/README.md carried. The install section now says the one-liner is unchanged and that the installer is code/openRepoTools. 12 path repairs, and the pin-bump block re-rooted with `cd code`. 486 -> 510 lines. - .gitignore: the shape's `.venv/` and `.DS_Store` merged in, and `/worktrees/`, the line the three-leg bootstrap requires. - .gitattributes: the same `* text=auto eol=lf` rule, re-explained for this root's pinned copies. The installer reason moved with its files to code/.gitattributes. - CLAUDE.md is unchanged: "Read AGENTS.md." is byte-identical to the shape's own rendered shape/CLAUDE.md. The two length caps in code/tests/test_repo_hygiene.py, 316 and 486, are today's counts. Once T009 points those tests at the assembly root, each cap is raised in a dated entry naming the rule its lines bought. Re-cut on 2026-10-19 (lane openRepoTools-1) against the root files #228's series leaves, 006-release-pypi-t025 b3aab89 with 006-release-pypi-pr3fix c6cea2a merged in (neither main 55aae16 nor 006-release-pypi d10cfb1 changes the four), and the .gitattributes block openRepoShape 190133d's split appends, headed `# openRepoShape (#471): ...`. Seven hunks had stopped applying where #227, #237 and #228 rewrote the lines around them: AGENTS.md's skip-no-lane-guard repair and its three under CI ruling 1, ruling 3 and the bash 3.2 paragraph, and README.md's install sentence and its `code/tests/run.sh` and `code/commands/swap.md` repairs. Each keeps its own lines, re-anchored one for one, so the repairs are still 16 and 13: ruling 1's `.github/workflows/tests.yml`, in the sentence #227 and #228 rewrote, is one of them, and no other line added since names a path that crossed into a leg. .gitattributes' last paragraph no longer says no path is listed by name, because the #471 block after the rule names nine; it says the block stays last. AGENTS.md 330 -> 354 lines and README.md 505 -> 529; the assembly-root caps move with them in t009-assembly-caps.patch. Lane: openRepoTools-1 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.



What
Removes the
tests-windows,parse-macosandtests-macosjobs from.github/workflows/tests.yml. The three ubuntu jobs (guard-launch-mode,tests,tests-no-submodule), the triggers and every kept job's steps are unchanged: the file is byte-identical fromon:through the end oftests-no-submodule. Nothing referenced the removed jobs (the file has noneeds:, no joboutputsand noconcurrencyblock).Also in this PR, because each would be false or red after the removal:
README.md(the CI paragraph) andAGENTS.md(item 1 of the 2026-09-16 ruling, and the sentence saying CI parses every shipped file under bash 3.2);/bin/bash -nstep out oftests.ymland fail without it:test_the_macos_job_parses_every_bash_file_this_repository_shipsintests/test_repo_hygiene.pyandtest_the_macos_job_parses_both_commands_with_bash_3_2intests/test_claude_current.py.Why
Brett Heap decided on 2026-10-15 to drop the macOS and Windows test jobs across the estate. Wall-clock, not dollars, is the cost. Measured for this repo, 1 to 15 October 2026: macOS 9,607 runner-minutes and Windows 245 runner-minutes; per PR run,
tests-macostook 122 to 127 min while the Linuxtestsjob took 44 to 54 min.parse-macoswas the check that Apple's bash 3.2 parses every shipped bash file; it can be restored as a single ten-second job if Brett wants it back.For the reviewer
pull_requeststill listslabeled. It was there so thereadylabel would reachtests-macos'sif:; nothing reads a label now, so any label re-runs the three Linux jobs. Left alone: this PR changes no trigger.tests/andlanes-edit.shthat name the removed jobs, and the dated records underspecs/(specs/004-migrate-to-triad/gate-b-checklist.mdrows 33 and 35 list these three jobs).mainrequires the removed checks (checked withgh api).Verification
Run locally in a worktree of this branch with the pinned
upstream/openRepoShapesubmodule checked out, Linux, Python 3.12.3, pytest 8.3.3 + xdist.yaml.safe_loadof.github/workflows/tests.ymlparses; jobs areguard-launch-mode,tests,tests-no-submodule.testsjob's command,python -m pytest tests -q -n 4 -p no:cacheproviderwith the job's git-identity variables set: 4 failed, 1413 passed, 9 skipped in 2385.50s (39:45). None of the four touches a file this PR changes:tests/test_run_wrapper.py::test_a_killed_run_removes_its_run_root_and_stops_the_suite[flock-2-130]and[mkdir-lock-2-130](the two SIGINT cases): my run was started as a background shell job, which hands its children SIGINT ignored. Re-run in the foreground, both pass.tests/test_supervised_restart_regressions.py::test_restart_accepts_equivalent_handoff_file_identity[parent]:lane-startexited 141 (SIGPIPE) once, under a full-n 4run. Not reproduced: it passed in a serial re-run and in six more runs under-n 4.tests/test_lane_helpers_suite.py::test_the_lane_helper_suite_passes: 6 of 4,600 assertions intests/test_lane_helpers.shfail, all in the section that unsetsLANES_WORKSTATIONinside a simulated container. It then takes the host's ownhostname -sas the workstation, and the suite's fixture rows are hard-coded toEagle, which is the name of the machine this ran on. Re-run alone with the hostname set toci-runner(a private UTS namespace, same uid):tests/test_lane_helpers_suite.py2 passed in 2335.91s, so the 6 assertions are the host name and not this change.actionlintstep exists in the workflow, so none was run.git diff --checkis clean.🤖 Generated with Claude Code