Repository navigation
ci: give the macOS nightly 345 minutes, and keep its results when it overruns - #6209
Merged
Merged
Conversation
…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.
leaf-agent
approved these changes
Nov 16, 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.
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). GNUtimeout, from Homebrew's coreutils, now interrupts pytest at 345 minutes, and pytest writesresults.xmlfor every test that ran before the upload step.To weigh:
timeoutruns insideuv run. uv 0.13 passes every SIGINT it receives on to its child, so with uv insidetimeout'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 2interrupted at 25 s took one interrupt, wrote 224 test cases, exited 124 and left no workers;gtimeout … uv run pytestwrote no report. The Linuxtestjob'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.