Repository navigation
improve(ci): shorten the real-Gateway proof tail - #173532
Conversation
Twenty completed natural same-repository PR runs after a043d61 have median wall 18.84 min and p75 19.35 min, versus the earlier four-run median of 25.7 min. Scope mixes differ. Real-Gateway UI row 1 is the last substantive job in 10/20; runner assignment waits are 1-2 s. Remove the six-file balancing override from the existing planner. Desktop and required serial fixtures stay on row 1; all already-audited parallel fixtures use row 2's existing bounded pool. Keep the same jobs, selected tests, previews, desktop proof, worker limits and deadlines. Two paired logs show 104-119 s of extra parallel phase on row 1. Measured-file replay projects cohort median 17.59 min and p75 19.04 min; this is an estimate, not an observed after result. Two already-balanced samples could be 93/30 s slower. Natural runs will measure the outcome. Proof: 160 planner/workflow/resource-ownership tests; scripts and tooling root types; typed lint; workflow lint; format; line-cap; P2 review. The canonical-placement regression fails before the owner fix. Decoded PR, push, schedule and manual inventories and desktop/row flags remain exactly equal. No CI dispatched or rerun.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c839047e9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| includePatterns: files.filter( | ||
| (file) => (parallelFiles.has(file) && !standaloneCompanions.has(file)) === (shard === 2), | ||
| ), | ||
| includePatterns: files.filter((file) => parallelFiles.has(file) === (shard === 2)), |
There was a problem hiding this comment.
Update the other shard-placement documentation
This now sends every allowlisted parallel file to shard 2, but docs/ci/capacity.md:213 still says shard 1 receives selected standalone companions and shard 2 owns only the remaining parallel files. That description is now false for the six moved companions and can mislead future capacity or routing changes, so update the capacity guide together with the node-lane page.
AGENTS.md reference: AGENTS.md:L128-L128
Useful? React with 👍 / 👎.
|
Merged via squash auto-merge.
|
) Twenty completed natural same-repository PR runs after e91f2f4 have median wall 18.84 min and p75 19.35 min, versus the earlier four-run median of 25.7 min. Scope mixes differ. Real-Gateway UI row 1 is the last substantive job in 10/20; runner assignment waits are 1-2 s. Remove the six-file balancing override from the existing planner. Desktop and required serial fixtures stay on row 1; all already-audited parallel fixtures use row 2's existing bounded pool. Keep the same jobs, selected tests, previews, desktop proof, worker limits and deadlines. Two paired logs show 104-119 s of extra parallel phase on row 1. Measured-file replay projects cohort median 17.59 min and p75 19.04 min; this is an estimate, not an observed after result. Two already-balanced samples could be 93/30 s slower. Natural runs will measure the outcome. Proof: 160 planner/workflow/resource-ownership tests; scripts and tooling root types; typed lint; workflow lint; format; line-cap; P2 review. The canonical-placement regression fails before the owner fix. Decoded PR, push, schedule and manual inventories and desktop/row flags remain exactly equal. No CI dispatched or rerun.
What Problem This Solves
Real-Gateway UI row 1 is the last substantive job in 10 of 20 recent completed same-repository PR CI runs. It finishes after row 2 in all ten paired observations.
User Impact
There is no product behavior change. The same selected tests and desktop proof run once across the existing two jobs, with unchanged worker limits, runners, previews and deadlines.
Why This Change Was Made
Remove an old six-file balancing override. Required serial and desktop fixtures stay on row 1; already-audited parallel fixtures use row 2's existing bounded worker pool. This deletes a separate parallel phase from the busy serial row without introducing another scheduler.
The observed cohort has an 18.84-minute median wall and 19.35-minute p75, versus an earlier four-run median of 25.7 minutes; the scope mix differs. Two paired logs show 104–119 seconds in the extra phase. Measured-file replay projects a 17.59-minute median and 19.04-minute p75, but two already-balanced samples could be 93 and 30 seconds slower. These are projections; natural CI must establish the actual result.
Evidence
ci-node-test-plan,ci-workflow-ui-fullandvitest-ui-e2e-config.No CI was dispatched or rerun. This ready PR is the fallback after two direct-push races with unrelated main commits; the reviewed patch is unchanged.