Skip to content

ci: run the test suite on Linux only - #32

Merged
brettheap merged 1 commit into
mainfrom
ci/linux-only-tests-20261015
Oct 15, 2026
Merged

brettheap merged 1 commit into
mainfrom
ci/linux-only-tests-20261015

Conversation

@brettheap

@brettheap brettheap commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What

  • .github/workflows/tests.yml: drops macos-latest from the test matrix. With one operating system left, the os axis is removed and the job sets runs-on: ubuntu-latest directly. The Python axis (3.10, 3.12) is unchanged, so the workflow runs two jobs instead of four. The file has no comments, so none were added.
  • README.md: the Development section said "CI covers Linux and macOS"; it now says "CI covers Linux only".

Why

Brett Heap decided on 2026-10-15 to drop the macOS and Windows test jobs across the estate. This repo used 587 macOS runner-minutes from 1 to 15 October 2026, at about a minute per job.

Verification

Run locally in the worktree with GIT_AUTHOR_NAME=ci [email protected] GIT_COMMITTER_NAME=ci [email protected] set, the workflow's test step python -m unittest discover -s tests -v:

  • python3 -c "import yaml; yaml.safe_load(open('.github/workflows/tests.yml'))": parses.
  • Python 3.12.3: Ran 96 tests in 15.857s, OK, no skips.
  • Python 3.10.18 (in a throwaway venv with requirements.txt installed): Ran 96 tests in 15.837s, OK, no skips.
  • git diff --check: clean.
  • tests/ has no reference to macOS, Darwin, tests.yml or the workflows directory, so no test asserts on the workflow's contents.
  • Not run: the workflow on a GitHub runner. It runs on this PR; expect two jobs.

For the reviewer

  • The job names change with the os axis: the checks become test (3.10) and test (3.12) where they were test (ubuntu-latest, 3.10) and so on. The repo has no branch protection and its two active rulesets require no status checks, so nothing waits on the old names.
  • Records that name the old four-job matrix are left as written: specs/002-triad-first-project-new, specs/003-parent-obstacle-wording, openspec/changes/archive/, and the in-flight openspec/changes/add-project-overview/design.md and openspec/changes/add-project-clean-all-safe/{design,proposal}.md.

🤖 Generated with Claude Code

Summary by Sourcery

Limit CI testing to Linux while preserving the supported Python-version coverage.

Enhancements:

  • Run the CI test suite on Linux only while retaining coverage across Python 3.10 and 3.12.

CI:

  • Reduce the test matrix from four jobs to two by removing macOS runners.

Documentation:

  • Update the development documentation to state that CI covers Linux only.

What: .github/workflows/tests.yml drops macos-latest from the test matrix. With one operating system left, the os axis goes and the job sets runs-on: ubuntu-latest directly; the Python axis (3.10 and 3.12) is unchanged, so the workflow runs two jobs instead of four. README.md's Development section said CI covers Linux and macOS; it now says CI covers Linux only.

Why: Brett Heap decided on 2026-10-15 to drop the macOS and Windows test jobs across the estate. Historical records under openspec/ and specs/ that name the old four-job matrix are left as written.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 15, 2026

Copy link
Copy Markdown

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 8 hours and 53 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Oct 15, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

The pull request removes macOS from the CI test matrix and simplifies the workflow to run the existing Python 3.10 and 3.12 test jobs directly on Ubuntu, while updating README documentation to match; the change was validated with YAML parsing, both Python test runs, and diff checks.

File-Level Changes

Change Details Files
Restrict the CI test matrix to Linux while preserving coverage across the supported Python versions.
  • Remove the macOS matrix entry and the single-value OS axis.
  • Set the workflow runner directly to ubuntu-latest.
  • Continue running the unittest suite on Python 3.10 and 3.12, producing two jobs instead of four.
  • Update the documented CI platform coverage to Linux only.
.github/workflows/tests.yml
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sonarqubecloud

Copy link
Copy Markdown

@brettheap
brettheap merged commit e9d6711 into main Oct 15, 2026
6 checks passed
brettheap pushed a commit that referenced this pull request Oct 18, 2026
Brings #31 (single-repository.yaml) and #32 (CI on Linux only, by Brett
Heap's decision of 2026-10-15). No conflict: neither touches the change
directory.

Lane: openRepoProject-4
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 18, 2026
#32 made CI Linux only by Brett Heap's decision of 2026-10-15, so the
proposed matrix is ubuntu-latest x 3.10-3.15, six jobs instead of twelve.
R3 (a macOS entry) is withdrawn but keeps its number. The macOS errno,
fixture and runner notes are removed, and one NOTED macOS residual sits
under Risks. The README wording keeps "Linux only". The tests.yml line
citations follow the new file, and P2's check name is test (3.16).
"Ordering and shared files" gains #32 and notes that #21 and feature 004
still name four jobs.

#21's delta is byte-identical between a43e7d2 and 1b84a94, so every
cited delta line and the base text match. Its proposal moved 20 lines:
the Out of Scope citations are now lines 401, 412-416 and 412-414.

Lane: openRepoProject-4
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 18, 2026
Brings #31 (single-repository.yaml: openRepoProject stays a single
repository, Brett Heap's decision of 2026-10-14) and #32 (CI on Linux
only: tests.yml runs ubuntu-latest with Python 3.10 and 3.12; README's
Development section says CI covers Linux only). No conflict.

Lane: openRepoProject-4
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 18, 2026
…he [G] reconcile items

After merging main at e9d6711 (#31 single-repository.yaml; #32 CI on Linux
only), the spec follows the CI change, and feature 004's citations move
from 5a71f83 to its current head on origin, 66d60b6, with lane
openRepoProject-2's edits applied.

Main (e9d6711):
- Dependencies, Runtime and CI: CI runs on Linux only (Python 3.10 and
  3.12 on ubuntu-latest; README, Development), not "Linux and macOS";
  change 2's design Context still names the old matrix; feature 004's
  Git 2.36 floor job is named, with Q3 left open.
- EC-017 and FR-049: the non-UTF-8 path tests run on every CI job; the
  macOS skip of design D13 stays, serving only a local macOS run.
- Header and Assumptions: #32 moved the workflow lines change 2 cites
  (tests.yml:10 and :18, now 9 and 17); the spec cites no line of
  project, README.md or the workflow. Suite still 96 tests at e9d6711.
- #31 touches nothing the spec cites.

Feature 004, 5a71f83..66d60b6, spec.md, data-model.md,
contracts/project-clean.md and tasks.md diffed:
- data-model, Gate and the reflog outcome table: a reflog read past its
  filesystem budget now leaves the row unprobed (inspection-incomplete),
  no longer inspection-error (plan review M5). This matches change 2;
  the first [G] reconcile item is removed and C-22 records the reading.
- data-model, reflog outcome table, unchanged: "over 65,536 bytes" is
  reflog-unavailable, and tasks T059 and T066 still decide a reflog of
  exactly 65,536 bytes by its entries (plan review m10). The spec follows
  the delta ("read to its 64 KiB bound") under ruling R-33: 65,536 bytes
  or more is reflog-unavailable, 65,535 is decided by its entries
  (FR-033, EC-009, C-22, and a named boundary test in FR-049). Lane 2
  rules this one feature 004's to settle, so the second [G] item is
  removed too; the Assumptions' rule (the change governs, the plan
  reconciles with 004's merged text) still covers any remaining gap.
- data-model, Child handle: kind delete-branch renamed delegate (the
  git branch -d child); states, the 4 s cleanup bound and R-30 are
  unchanged. Dependencies now lists probe, removal and delegate, plan-stage
  detail, the overview starting only probe handles; the push and
  delete-branch actions keep their names.
- contracts/project-clean.md: the internal-error message is now
  "TYPE: TEXT", without "Internal error: ". No change: FR-021 and FR-039
  ask only for a message naming the exception class; the git-too-old and
  git-unavailable messages are unchanged.
- tasks.md: T001 ticked (the 96-test baseline). No change beyond the
  test count note.
- spec.md: no change; the cited FR-009, FR-062, FR-067, EC-001, the
  contract's "Git children" and the data model's "Driver outcome" are
  unchanged.
- Outside the four files: project gained empty regions and imports
  (T004 step 1), so "no code yet" now reads "only empty regions and
  imports"; research.md rewords R10 and R14 (delegate, advance(now)).

clarify-questions.md is not touched (its Q2 still cites 5a71f83), and no
question is answered. openspec validate add-project-overview --strict:
valid. Traceability by script: 13 of 13 requirements, 63 of 63
scenarios. Checklist re-validated, 16 of 16.

Lane: openRepoProject-4
Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 18, 2026
F1: tasks.md 3.1 and design.md Migration Plan step 3 now require green checks on every job of .github/workflows/tests.yml (two since #32), not four.

F2: design.md Context says CI runs ubuntu-latest only, on Python 3.10 and 3.12 (tests.yml:9-10 at e9d6711).

F3: proposal.md Out of Scope states the matrix as Python 3.10 and 3.12, Linux only since #32.

F4: proposal.md acceptance criterion 1 drops "CI" from "macOS CI"; the socket stays optional for a run by hand on macOS.

clarifications.md: the README pin reads unchanged on this branch but for README.md:282, which #32 changed outside every cited range.

Lane: openRepoProject-1

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
)

Lane: openRepoProject-2

Brings 63dd4ad and e9d6711. The test job now runs on ubuntu-latest only, by Brett Heap's decision of 2026-10-15; 004's docs follow under lead ruling R-35.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
Lane: openRepoProject-2

Main's #32 dropped macos-latest, so the test job is now ubuntu-latest with Python 3.10 and 3.12, two jobs. The git-floor comment still said the four jobs above; it now names the two. The job itself is unchanged: every T003 clause was re-read against the file and holds.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
…04's docs

Lane: openRepoProject-2

R-33 the reflog's 64 KiB bound per the delta; R-34 T047's last slot read with a test, the retire list, T037's pin at da33d92; R-32 the test layout and the departures reworded against the change's own documents; R-35 Linux-only CI since #32; R-36 ENOTDIR as missing and a relative core.worktree resolved against the git directory. Writer ran on claude-sonnet-5-5 (transcript checked); ed19c71, 116fda2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
Lane: openRepoProject-2

A Linux job that builds Git 2.36.6 from kernel.org's tarball (sha256 checked) on a cache miss, puts it first on PATH, fails unless git --version prints 2.36.6, and runs the -k test_clean_ -k test_status_ -k test_doctor_ selection; timeout-minutes 30 on this job only; the test job as #32 left it. CI run 39332801978 at 339b309: git-floor, test (3.10) and test (3.12) green. Writers ran on claude-sonnet-5-5 (assistant turns checked); 2ec938b, 339b309.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
…009)

Lane: openRepoProject-2

Takes the integration branch at 182d9b5: tests/clean_support.py
(T009), the traceability record (T002) and main's #31 and #32, so
that T005's tests/test_clean_timing.py can load project through
load_project().

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
…(design D6)

#21's head moved from 1b84a94 to 8f3ca2d (main e9d6711 merged, then its CI
statements aligned with Linux-only CI, #32). Its spec delta is byte-identical,
so both MODIFIED blocks stand; every current-fact citation is re-pinned and
the history records stay as written.

The proposal's #21 bullet now says lane 1 aligned its text with Linux-only CI
and that its task 3.1 ("every job") holds once the matrix widens. Its Feature
004 bullet now names 004's plan at d1e7c56, the git-floor job merged on 004's
branch (4baec61), and lane 2's ruling R-46 (count-free comment, f9a639a), so
no edit is needed on 004's account in either landing order.

Lane: openRepoProject-4
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap pushed a commit that referenced this pull request Oct 19, 2026
Lane: openRepoProject-2

Each as its recommendation words it (lead ruling R-42), with these
choices:

- M1, with doc-round-3 input 10: citations at 961c405 are read with git
  show 961c405:<file>, since this branch's project differs from T004
  (a0368ac), tests/ from T009, and one README line from #32; no line
  counts are quoted (tasks Path Conventions, plan Citations, research).
- M2, with L9's US4 sentence: US5's text lane runs after US4, and its
  removal lane after US4 and the text lane; the lane statements, the
  dependency entry, the fan-out table and the critical path follow.
- M3: T076 pauses the clock around confirm(), data-model's confirming
  state says so, and T098's push deadline test gains a late answer that
  still pushes.
- M4, M5: T115 adds test_status_json_paths_carry_their_flags and
  test_status_sigterm_during_inspection, and a search-denied leg to the
  doctor test; FR-058 maps to T115.
- M6: T031 gives each row an unprobed marker, T049 counts it as
  inspection-incomplete, and T066 only sets it.
- M7: FR-066 names a per-test timing table (R-29), no single scale.
- M8: Path Conventions, T133, the Notes and plan.md's tree name the
  change's tasks.md hunks the branch carries; a merge resolves the PR
  #19 conflict.
- M9: T003, T007, T010, T011 and T022 call each spike a reference the
  lead supplies, each task completable from its own text; no location.

Also reflows one long line of commit d166d30's T084 text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Oct 21, 2026
…obstacle-wording) (#21)

* OpenSpec: refuse-non-directory-parent-early proposal (draft)

Lane: openRepoProject-1

Drafts the proposal for the follow-up to fix-parent-obstacle-wording that
its design D6 deferred to its own change: refuse a parent that cannot hold
the new repository before the plan, the confirmation and any creation, on
every path of project new, the dry run included. Proposed on Brett Heap's
word "propose the non-directory parent follow-up as a new change"
(2026-10-11); governing issue #20.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Apply the alignment review to the proposal

Lane: openRepoProject-1

Stack architect (1 mismatch, 5 drifts) and QA lead (1 mismatch, 9 gaps)
on draft PR #21 at 50812a9; every gap is a statement the change itself
makes false, so all are in scope.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Apply council round 1 to the proposal

Lane: openRepoProject-1

Product advocate and adversary engineer on f8a6df2: one structural term
for a parent blocked by a non-directory, with the permission boundary
stated; the head refusal re-reads the parent; Preview and the Triad-first
answers scenario become MODIFIED; W1's benefit restated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Apply council round 2 to the proposal

Lane: openRepoProject-1

Systems architect on f8a6df2: the ADDED requirement owns the refusal as a
step of the single-repository path however it was chosen, and the delta
modifies only statements that become false, keeping true ones word for word
(relative forms included); README 75-77 takes the relative form; the
backstop text matches the corrected permission boundary, with "Nothing was
created." only on the early refusal; the rewritten test keeps its
comparison form.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* OpenSpec: refuse-non-directory-parent-early packet (clarifications, design, delta, governance tasks)

Lane: openRepoProject-1

Completes the governance packet on draft PR #21: clarifications N1 to N6
from the council's NOTED list; design D1 to D6 (the parent_case read, once
for the question and afresh at the bench head; the fixed texts and README
replacements; the tests; the feature-record supersession; the workBenches#145
handoff; the explicit non-changes); the delta, one ADDED requirement and four
MODIFIED full blocks that change only the statements this change makes false;
and the governance-only tasks with the Speckit handoff left to ratification.
openspec validate --strict passes for the change and for --all; the suite is
unchanged at 96 OK.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Apply the re-verification fix round (F1-F5) to the packet

F1: qualify "keep its existing order of refusals" for a parent blocked by a non-directory (Codex P1, spec.md; proposal.md lists)
F2: qualify the single-repository continuation clause of "Creation question offers the Triad first" (Codex P1, spec.md; proposal.md lists)
F3: permission boundary names a directory the person cannot write or a missing parent whose nearest existing path is one (spec.md, design.md, proposal.md)
F4: "A single repository with a parent that is not blocked" no longer promises exit 0 or a created parent
F5: README dry-run replacement says "unless a refusal comes first" (design.md, proposal.md)

Lane: openRepoProject-1

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Complete D4's supersession list and scope the permission observation (R1-R8)

R1-R7: D4 (design.md) and its mirror in proposal.md list every statement of features 002 and 003 that this change makes false, each citation checked against the file; 002 FR-008's end and FR-011 join the list since F1 and F2 landed, and only 003 SC-005 and 002 FR-013 stay true
R8: the Errno 13 observation names a missing parent directly below a mode-555 directory (proposal.md, clarifications.md)
R9-R11: README and backstop wording (verifier INFO)

Lane: openRepoProject-1

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Name 003 FR-010 with the README check D4 supersedes

D4 (design.md) and its mirror in proposal.md now name feature 003 FR-010 (spec.md:187-189) beside quickstart.md:86 and spec.md:60-62: the requirement form of the README check that this feature's README text supersedes.

Lane: openRepoProject-1

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Name feature 002's contract cells and data-model dry-run sentence in D4 (R12)

D4 (design.md) and its mirror in proposal.md now list contracts/project-new.md :36-38 (the "today's flow" cells of the table of inputs that skip the question) and data-model.md :95-96 ("A dry run ends after the plan with status 0 and nothing written"), both made false for a parent blocked by a non-directory; contract line :35 stays off the list, as it matches main spec :103-106.

Lane: openRepoProject-1

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Align the packet's CI statements with Linux-only CI (#32)

F1: tasks.md 3.1 and design.md Migration Plan step 3 now require green checks on every job of .github/workflows/tests.yml (two since #32), not four.

F2: design.md Context says CI runs ubuntu-latest only, on Python 3.10 and 3.12 (tests.yml:9-10 at e9d6711).

F3: proposal.md Out of Scope states the matrix as Python 3.10 and 3.12, Linux only since #32.

F4: proposal.md acceptance criterion 1 drops "CI" from "macOS CI"; the socket stays optional for a run by hand on macOS.

clarifications.md: the README pin reads unchanged on this branch but for README.md:282, which #32 changed outside every cited range.

Lane: openRepoProject-1

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Brett Heap <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant