Skip to content

ci: give the macOS nightly 345 minutes, and keep its results when it overruns - #6209

Merged
max-sixty merged 1 commit into
mainfrom
mac-test-fixes
Nov 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
mac-test-fixes

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Raises the macOS nightly's limit from 300 to 345 minutes and keeps its results when it overruns. Three of the last eight nights hit 300 minutes and the other five took 4¼ hours or more, so the job sat at its limit, and a run that timed out uploaded no results.xml (run 43853405137). GNU timeout, from Homebrew's coreutils, now interrupts pytest at 345 minutes, and pytest writes results.xml for every test that ran before the upload step.

To weigh: timeout runs inside uv run. uv 0.13 passes every SIGINT it receives on to its child, so with uv inside timeout's process group pytest got two interrupts, and the second, during worker teardown, ended it before the report was written. Locally, uv run gtimeout … pytest tests/model -n 2 interrupted at 25 s took one interrupt, wrote 224 test cases, exited 124 and left no workers; gtimeout … uv run pytest wrote no report. The Linux test job's 5-hour interrupt sends the same double signal, but its nightly takes 2¾–3¾ hours, so this leaves it alone. Setup took 3 minutes last night, which leaves about 10 minutes of the 6-hour job deadline for stopping and the upload.

Max picked the 345-minute limit on a Leaf page. pre-commit and actionlint pass; the step runs only on a schedule or a dispatch, so tonight's nightly is its first run.

This was written by Claude Code on behalf of max-sixty

…overruns

GNU timeout interrupts pytest at 345 minutes, inside uv run so pytest gets one SIGINT: uv passes on every interrupt it receives, and a second one during worker teardown ended pytest before it wrote results.xml.
@max-sixty
max-sixty merged commit c0abe39 into main Nov 16, 2026
5 checks passed
@max-sixty
max-sixty deleted the mac-test-fixes branch November 16, 2026 20:26
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.

2 participants