Repository navigation
ci(macos-advisory): give the library test build job a 70-minute limit (#8391) - #16525
EffortlessSteven wants to merge 1 commit into
Conversation
…#8391) The build is one compiler process and cannot be split across jobs. Cold builds on non-main refs passed the 37-minute step three times out of four, which left dispatches and labelled PRs without a library result (#16149). Clippy and the test job keep their 40 minutes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmoWbVm1GnYhvf9h8XC
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 21 minutes. View limit details
|
|
Withdrawing this. Its stated reason was that cold builds on non-main refs passed the 37-minute step and left #16149 without a native result. The #16149 thread has since reported that those notes are out of date, #16149 does not depend on this change, and the 27 Nov readback on #16149 records a cold main build of 32m02s inside the existing cap with the direction not to extend the timeout on that evidence. Every scheduled main run since #16077 has built inside 37 minutes (33.5 and 27.6 minutes by job time). The trial dispatch on this branch is cancelled; nothing here was merged. If builds later exceed 37 minutes on main, the evidence to bring is the scheduled runs' build durations, and the options remain more memory or more time. Generated by Claude Code |
There was a problem hiding this comment.
Code Review
This pull request increases the macOS Advisory library test build job limit to 70 minutes to accommodate cold builds on non-main branches that can exceed the previous limit. The documentation in docs/CI.md and the changelog have been updated to reflect this change. Feedback on the documentation suggests clarifying the phrase 'its step 65' to 'its step 65 minutes' to prevent ambiguity between a step number and a duration.
| takes 18 to over 34 and may run for 37 minutes. The build is one compiler | ||
| process and cannot be split, and cold builds on non-main refs passed 37 | ||
| minutes three times out of four (#16149), so that job alone has a | ||
| 70-minute limit and its step 65. A slower run fails as missing evidence. The integration suites are not part of this lane. |
There was a problem hiding this comment.
The phrase "its step 65" is ambiguous and could be read as referring to a step number rather than a duration. Clarifying it to "its step 65 minutes" improves readability.
| takes 18 to over 34 and may run for 37 minutes. The build is one compiler | |
| process and cannot be split, and cold builds on non-main refs passed 37 | |
| minutes three times out of four (#16149), so that job alone has a | |
| 70-minute limit and its step 65. A slower run fails as missing evidence. The integration suites are not part of this lane. | |
| takes 18 to over 34 and may run for 37 minutes. The build is one compiler | |
| process and cannot be split, and cold builds on non-main refs passed 37 | |
| minutes three times out of four (#16149), so that job alone has a | |
| 70-minute limit and its step 65 minutes. A slower run fails as missing evidence. The integration suites are not part of this lane. |
Requested by Steven · project thread
Summary
The macOS Advisory library test build job gets a 70-minute limit (step 65). Clippy and the test job keep 40 minutes.
Swarm / Source Boundary
Source-of-truth Links
Governing issue or accepted claim: #8391
Acceptance delta (one sentence): A cold macOS library test build finishes inside its job, so a dispatch or labelled PR on any ref gets a library result.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
claude/project-thread-hnx77fStack parent or prerequisite PR (if any): none (#16077 has merged)
Proposed replacement of PR (if any; not yet accepted): none
Why
#16077 split the build from the run and left the build step 37 minutes. That holds on main so far (nightlies of 27 and 28 Nov built in 33.5 and 27.6 minutes and ran the whole suite), but the margin is thin and it does not hold elsewhere: cold builds on non-main refs passed 37 minutes three times out of four, twice in a row on run 45367949669, which leaves #16149 without a native result for its exact head. A proof-only copy of the lane at 65/70 minutes passed every time (reported from the #16149 thread; not re-measured here).
The build is one
rustcprocess for theriprlibrary tests. It needs about 14 GB (measured on Linux) on a hosted runner with about 7 GB, and one compiler process cannot be split across jobs or resumed. The remaining ways to make it finish are more time or more memory. More time is the reversible one.Scope
.github/workflows/macos-advisory.yml: the matrix job's limit is 70 minutes for thelib-buildleg and 40 forclippy; the build step may run 65.docs/CI.md, changelog fragment.Scope Classification
Proof
check-workflowsresult is added below once it finishes.Limits
cargo xtask precommitwas not run locally; hosted qualification covers it.Generated by Claude Code