Repository navigation
ci: run the layout oracle gate on free hosted runners - #35809
Conversation
[Medium impact] The change shifts a bounded set of PR layout-oracle jobs onto shared hosted Linux capacity. The PR appears safe to merge, with a non-blocking gap in the test that protects runner costs. Findings
SummaryMoves the PR layout gate to free GitHub-hosted runners by removing
Reviews (1) · Last reviewed commit: "ci: run the layout oracle gate on free h..." · Reviewed by Greptile |
| // Both lanes run on free hosted runners. | ||
| expect(prWorkflow.jobs.layout_oracle.with.fast_runners).toBeUndefined() |
There was a problem hiding this comment.
Paid runners can return unnoticed
The updated test checks that fast_runners is omitted, but not that omission selects hosted runners. If the default in e2e.yml changes to true, this test still passes while the layout gate returns to paid runners. Also assert that the reusable workflow's fast_runners default is false.
Walkthrough
Priority: Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 2

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
38b40e1a-54fc-4dfb-ae14-4cdf4d5c5b34
Files selected for processing: 3-
.github/workflows/pr.ymlconfig/scripts/pr-e2e-route-contracts.test.mjsdocs/readme/ci-runners.md
Files with no reviewable changes: 1-
- .github/workflows/pr.yml
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
-
| run as 12 shards on `ubuntu-24.04-arm`, which match the old five 8-vCPU | ||
| Blacksmith shards; `ORCA_UNIT_FULL_SHARD_COUNT` tunes the count. Preflight (lint | ||
| and typecheck) also runs on hosted ARM: shards, packaging and the layout oracle | ||
| do not wait for it, so its slower runner stays off the gate's critical path. |
There was a problem hiding this comment.
Correct the gate critical-path description.
layout_oracle can start without preflight, but the required verify job needs both jobs. A slow or failed preflight still delays or blocks the merge gate. Replace “stays off the gate's critical path” with wording that only describes parallel job start. (raw.githubusercontent.com)
| Blacksmith shards; `ORCA_UNIT_FULL_SHARD_COUNT` tunes the count. Preflight (lint | ||
| and typecheck) also runs on hosted ARM: shards, packaging and the layout oracle | ||
| do not wait for it, so its slower runner stays off the gate's critical path. | ||
| The layout oracle and advisory e2e lanes run on `ubuntu-24.04`. |
There was a problem hiding this comment.
Limit the Ubuntu claim to Linux E2E lanes.
The reusable E2E workflow also defines orcad-serve-mode-switch-windows on windows-2022. Its condition can select that advisory lane. Say “Linux advisory e2e lanes” or document the Windows exception. (raw.githubusercontent.com)
Summary
fast_runners: truefrom the PRlayout_oraclecall, so its build and its three spec jobs run on freeubuntu-24.04instead of Blacksmith 8-vCPU (build) and 4-vCPU (specs).Verification
pr-e2e-route-contracts,pr-e2e-gate-contractandpr-preflight-gatespass locally (107 tests).