Skip to content

ci(macos-advisory): give the library test build job a 70-minute limit (#8391) - #16525

Closed
EffortlessSteven wants to merge 1 commit into
mainfrom
claude/project-thread-hnx77f
Closed

EffortlessSteven wants to merge 1 commit into
mainfrom
claude/project-thread-hnx77f

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

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

  • swarm-only CI, runner, routing, source-of-truth, or agent-operating surface

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-hnx77f
Stack 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 rustc process for the ripr library 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 the lib-build leg and 40 for clippy; the build step may run 65.
  • docs/CI.md, changelog fragment.

Scope Classification

  • One architectural seam

Proof

  • Hosted: a macOS Advisory dispatch on this branch. Not established until it completes.
  • Local check-workflows result is added below once it finishes.

Limits

  • This raises a limit. It does not make the build faster; a 14 GB runner or a smaller unit-test crate would.
  • cargo xtask precommit was not run locally; hosted qualification covers it.

Generated by Claude Code

…#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
@EffortlessSteven EffortlessSteven self-assigned this Nov 28, 2026
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 138 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: ffe13f28-e934-4bbf-944d-94358d4d3bf5
Commits

Reviewing files that changed from the base of the PR and between 21c9a79 and 68cd43a.

Files selected for processing: 3

  • .github/workflows/macos-advisory.yml
  • changelog.d/8391-macos-advisory-build-headroom.md
  • docs/CI.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Copy link
Copy Markdown
Member Author

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

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/CI.md
Comment on lines +884 to +887
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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

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.

Suggested change
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.

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