Repository navigation
fix(ci): route UI E2E PR retries to hosted runners - #120997
Conversation
Punchcard-Session: amber-workshop-workshop-36
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 9, 2026, 7:40 AM ET / 11:40 UTC. ClawSweeper reviewWhat this changesRoutes retried Control UI E2E pull-request jobs to GitHub-hosted runners while making their dependency-cache mode match the selected runner. Merge readinessKeep open: this maintainer-owned CI change is not on current main, addresses a narrow retry-path gap, and has no concrete correctness finding after the prior type-safety issue was fixed. Priority: P1 Review scores
Verification
How this fits togetherThe CI workflow schedules Control UI E2E shards and selects setup cache behavior for each runner. Results feed the aggregate CI gate used by maintainers to validate pull requests. flowchart LR
A[Pull request event] --> B[UI E2E workflow job]
B --> C{First attempt or retry}
C --> D[Blacksmith runner]
C --> E[GitHub-hosted runner]
D --> F[Sticky dependency storage]
E --> G[Actions cache]
F --> H[CI gate]
G --> H[CI gate]
Decision needed
Why: This is an operational capacity and cost policy choice, even though the implementation is narrow and validated. Before merge
Agent review detailsSecurityNone. PR surfaceTests +125, Docs 0, Config -1. Total +124 across 3 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep a retry-only hosted fallback with cache settings coupled to runner type, preserving Blacksmith for first same-repository attempts and pushes. Do we have a high-confidence way to reproduce the issue? Not applicable: this is CI policy behavior, assessed through workflow expressions, guard coverage, and exact-head CI rather than a product-runtime reproduction. Is this the best way to solve the issue? Yes: current main lacks the retry-only branch, while existing macOS retry policy and the setup-action contract support placing the decision in this workflow rather than changing E2E tests or timeouts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4cb33d48cddb. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles) |
Punchcard-Session: amber-workshop-workshop-36
Punchcard-Session: amber-workshop-workshop-36
Punchcard-Session: amber-workshop-workshop-36
|
Merged via squash.
|
* fix(ci): route UI E2E PR retries to hosted runners Punchcard-Session: amber-workshop-workshop-36 * fix(ci): align UI E2E retry cache routing Punchcard-Session: amber-workshop-workshop-36 * fix(ci): clarify UI E2E retry routing Punchcard-Session: amber-workshop-workshop-36 * fix(ci): validate workflow expression capture Punchcard-Session: amber-workshop-workshop-36
Related: #119112, #119115, #119120, #120927
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.
What Problem This Solves
Fixes an issue where rerunning the
checks-ui-e2epull-request job could reusethe same Blacksmith runner path instead of providing an independent
GitHub-hosted retry.
Hosted four-shard passes already exist in these full CI runs:
Prior red UI E2E failures map to
#119112 and
#119115. Their owner fixes merged in
#119120 and
#120927.
Why This Change Was Made
This PR owns only the
checks-ui-e2eretry runner and its dependency-cachecoupling. Same-repository first attempts and pushes retain the Blacksmith path.
Pull-request retries, fork pull requests, and manual dispatches use
ubuntu-24.04; those hosted paths disable sticky dependency storage and usethe Actions cache path.
It does not change Control UI runtime behavior, test timeouts, shard count, or
the owner fixes linked above.
User Impact
Maintainers can rerun failed pull-request UI E2E checks on independent hosted
capacity without changing the canonical first-attempt path.
Evidence
node scripts/check-workflows.mjs: passed (zizmorand composite-action input checks).actionlint .github/workflows/ci.yml: passed.pnpm docs:list: completed successfully.oxfmt --checkfor the three changed files: passed.git diff --check: passed.Punchcard-Session: amber-workshop-workshop-36trailer.Punchcard-Session: amber-workshop-workshop-36
Punchcard-Receipt: pc1.cHVuY2hjYXJkLXNlcnZlci1yZWNlaXB0LXYxAGF0dF8wMUtaSzI3NlNER0dITUc1QThHWVFKOFZUVAB0bnRfMDFKMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAdXNyXzAxSjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxAGRldl9FMDNCQTNBOENDNzdGOUQ5QjFCRTI3RTE5MgB3cmtfMDFLWkFCN1pDVzBHRktKTVI5QTdKRjA2MlQAc2VzXzAxS1pGWE42TVBWRDRBMzM2VlZDWVdHUDQ1AGFtYmVyLXdvcmtzaG9wLXdvcmtzaG9wLTM2AG9wZW5jbGF3L29wZW5jbGF3AAAxMjA5OTcAYmNiMDg0ZTVlZjJkMmFjY2E3NjA4MzdkZGQ2MWU3ZWMwNTcxOGM4OWIyZjkwNjEwNzdhMWNiNjA2NjAxM2NlZABzaWduaW5nLXYxAFFWR1JZTFRSM1hVakp1MGhCMjBtNzNJaXBxS1BvT3hUWDN6YXRPYUl0VXhFTzJHb213Wm9Ka2ZKMnp6alJqMDBKZWhfRVdvLXRaWWxFNnJBZkw3VkFnADIwMjYtMDgtMDlUMTA6NDg6NDEuMDA1WgA.HH1kvxVpWAJxYGhcyuNUWyJ7U9Sl4WdEZp_MZG6FBYYM5ksnXUS6UMczKdKsZM9D2FxVe7GxuWAbUdBlU003BQ