Repository navigation
fix(ci): finish release E2E with bounded parallel shards - #133109
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 2:15 AM ET / 06:15 UTC. ClawSweeper reviewWhat this changesThis PR runs existing Gateway, Control UI, and agent-plugin release E2E commands as nine bounded parallel jobs and documents the resulting CI behavior. Merge readinessKeep open for normal maintainer handling. The patch appears to replace the current sequential release E2E invocation with a complete, bounded matrix without a blocking correctness finding; a hosted run remains the relevant integration confirmation. Priority: P2 Review scores
Verification
How this fits togetherThe reusable release workflow checks out a selected revision, builds a private QA environment, then runs repository E2E coverage before release validation proceeds. This change affects only how those existing E2E commands are scheduled and reported. flowchart LR
A[Release caller] --> B[Selected source revision]
B --> C[Reusable E2E workflow]
C --> D[Gateway test shards]
C --> E[Control UI test shards]
C --> F[Agent-plugin Gateway test]
D --> G[Release validation results]
E --> G
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceTests +23, Docs +15, Config +24. Total +62 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the reusable-workflow matrix and confirm its first hosted release invocation completes all nine rows with the expected per-surface results. Do we have a high-confidence way to reproduce the issue? Yes. Current main still runs the sequential repository E2E command, and the supplied failed release-run evidence identifies its 90-minute job deadline as the observed failure; this read-only review did not rerun that workload. Is this the best way to solve the issue? Yes. Scheduling belongs in the reusable workflow while the existing package commands and Vitest configurations continue to own discovery and shard membership; adding a second custom test planner would create duplicate ownership. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 98fe750bd258. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
What Problem This Solves
Resolves a problem where full release verification exhausted the repository E2E job's 90-minute deadline before completing Control UI coverage. In the failed release-check run, setup took nine minutes and all four Gateway partitions passed over the next 49 minutes. The standalone agent-plugin Gateway test passed, then UI cases were still passing when GitHub cancelled the job. This was sequential workload exceeding the job budget, not a hung test.
Why This Change Was Made
The reusable workflow now schedules the existing commands as nine matrix jobs: four native Gateway shards, four duration-weighted Control UI shards, and the standalone agent-plugin Gateway test. The matrix runs at most six jobs at once and drains every row after a failure. Each row retains the selected source SHA, full private-QA build, Chromium and sandbox prerequisites, existing worker limits, and 90-minute deadline. Local
pnpm test:e2eis unchanged.The workflow owns this scheduling problem. No product code, test assertions, exclusions, retries, or timeouts were weakened. Existing Vitest discovery and sequencers still own membership. Shared build artifacts were deliberately not introduced: the normal CI artifact profile is not interchangeable with this full private-QA build. The tradeoff is nine builds and eight additional jobs per invocation. Full release callers use GitHub-hosted runners, adding no Blacksmith registrations; standalone Blacksmith dispatches can register nine runners, with six concurrent. The live organization registration bucket had all 10,000 registrations available during this change.
Also fixes three adjacent runner assertions that could silently match a later job because their regex crossed job boundaries. They now inspect the parsed owning jobs and preserve the existing 32/32/8-core assignments.
User Impact
No runtime or configuration behavior changes. Maintainers receive independent failures and complete E2E results without waiting for Gateway and UI suites to run sequentially. Actual elapsed-time improvement still needs the fresh full hosted run after landing; no speedup number is claimed yet.
Evidence
868d728005f3d0b3e5b7719d70ec205013ed086f: Gateway partitions are 50/50/50/49 files and exactly match all four original hosted partitions. UI partitions are 81/82/82/82 files. Both unions equal their complete inventories with zero duplicate or omitted files. This was collection-only proof, not a full test pass.Provenance: the sequential command is present in the frozen failing source. The original introduction of the timeout is not attributed to a commit; growth in aggregate suite time exposed it. The existing runner sizes are intentional and unchanged.
ClawSweeper disposition: no correctness or security findings. Its hosted-matrix rank-up move will be completed immediately after landing in a fresh all-group Full Release Validation pinned to the landed tooling commit and frozen product commit above. I am choosing the review's post-merge integration option under the operator's autonomous landing request, rather than running a duplicate full E2E matrix before the required main-lineage tooling pin exists. The exact-head PR CI gate remains required before merge; no release or publication is authorized or performed. Hosted nine-row completion and timing are still pending and will be attached when observed.
Landed as
00f8d76e573402e818a7bb67c73aa2a0c250fdabafter exact-head CI and all 128 reported checks passed. The fresh all-group full verification is now running with that tooling commit and product868d728005f3d0b3e5b7719d70ec205013ed086f; evidence reuse is disabled and all package/Telegram coverage is enabled. Its result and nine-row timings are pending.Validation correction: the isolated
868d728assembly was rejected by the unchanged source-Telegram trust gate before its Telegram build. Its diagnostic collector continues, but it cannot supply a green full result. The authoritative replacement is full run 33297344670, using the earliest existing main commit containing all landed repairs,b7f745ced2b4562a456ef8757f556f2d100beaab, and the same pinned tooling00f8d76e573402e818a7bb67c73aa2a0c250fdab. That source is not byte-equivalent to the isolated assembly; the replacement runs every group fresh with no evidence reuse. The unchanged Telegram provenance check passed before dispatch. A focused MiniMax run on the replacement also completed both model routes through prompt/read/exec/image after the earlier run saw explicit provider refusals; no prompt, assertion, retry, or timeout change was made.Hosted matrix proof is complete: all nine rows in release checks 33296719912 passed on Code
868d728005f3d0b3e5b7719d70ec205013ed086fand landed Tooling00f8d76e573402e818a7bb67c73aa2a0c250fdab. The complete six-concurrent wave ran from 06:23:32Z to 07:04:09Z: 40m37s, versus the previous combined job cancelling at 90m14s while still executing UI coverage. This fulfills the nine-row rank-up proof; it is not a green full-release claim, since that parent independently failed the unchanged Telegram provenance gate. The replacement main-ancestor candidate still runs all groups fresh.