Repository navigation
fix(ci): avoid unnecessary release verification delays - #132271
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: found issues before merge. Reviewed August 28, 2026, 10:33 PM ET / August 29, 2026, 02:33 UTC. ClawSweeper reviewWhat this changesThis PR reduces release-validation waiting by separating coverage locks, running iOS screenshots beside builds, and grouping upgrade scenarios into bounded Docker jobs. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open: the new concurrency identity splits the legacy Priority: P2 Review scores
Verification
How this fits togetherRelease validation dispatches CI, package, iOS, and Docker checks for a candidate revision. Workflow concurrency prevents equivalent coverage from duplicating expensive validation work. flowchart LR
A[Release request] --> B[Concurrency identity]
B --> C[Full release validation]
C --> D[Release checks]
D --> E[Docker and package checks]
C --> F[iOS build]
C --> G[iOS screenshots]
E --> H[Release evidence]
F --> H
G --> H
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +154, Docs +16, Config +6, Other +32. Total +208 across 18 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Canonicalize Do we have a high-confidence way to reproduce the issue? Yes, from source: dispatch equivalent Is this the best way to solve the issue? No. Raw input belongs outside the concurrency identity because the release-check owner canonicalizes Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0f054bb3df51. 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
HistoryReview history (1 earlier review cycle)
|
|
Addressed the latest ClawSweeper finding in
No release workflow was dispatched. |
|
The requested terminal Docker evidence is now verified: run33228575529 passed on final workflow head Final-head required PR CI is green. All four iOS proof jobs also passed, with the independent build and screenshot shards starting together and the full native branch finishing in27m50s. The current-candidate consent failure is pre-existing and reproduced by an ungrouped control; the separate fixture repair is documented in the body without weakening consent. This addresses the latest ClawSweeper rank-up request to inspect the terminal Docker result. Its persistence heuristic is a false positive: the patch moves pure baseline-support policy and schedules CI jobs; it changes no schema or stored data. |
|
Merged via squash.
|
* fix(ci): avoid unnecessary release verification delays * test(ci): align release phase guard with coverage identity * fix(ci): canonicalize minimum release coverage lock --------- Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
Full Release Validation spends substantial time waiting on unrelated coverage or serial work. Recent runs show different profiles of the same candidate queueing for 71–87 minutes, ten independent upgrade scenarios passing serially in 58m03s, and iOS screenshot jobs waiting for a 37–42 minute build whose outputs they do not consume.
Why This Change Was Made
User Impact
The matched-candidate, matched-runner benchmark reduced the ten-scenario execution window from 58m03s to 17m12s (70.4% shorter), and runner wall time from 59m44s to 19m09s. All ten scenarios passed exactly once, without omissions, retries, or timeouts. The complete focused workflow, including fresh candidate preparation, took 30m33s. This is a measured slice, not a whole-FRV speedup claim. Runner queueing and the Windows packaged-upgrade installation tail remain separate limitations. The deliberate 15-minute launcher polling interval remains unchanged.
Evidence
No product-runtime changes or new configuration. Infrastructure scripts/workflows add 38 net lines, needed for bounded scenario grouping; the compatibility policy is moved rather than duplicated. Tests add 154 net lines. The normal FRV survivor matrix uses hosted runners; splitting adds 21 jobs, bounded by the new cap. Resource-specific live locks remain unchanged.
Timing evidence: profile queue 32554227833, profile queue 32930981923, successful upgrade batch, serial iOS CI. Avoiding the unused live-image builds removes about four minutes from each affected runner, not eight minutes from overall wall time.
Separate published-upgrade fixture follow-up
The current candidate exposes a pre-existing capability-consent failure in the published-upgrade fixture: it calls
update --yes --jsonand noninteractive doctor, then starts the gateway without the documented explicit consent repair. Historical ungrouped job 98716957141 contains the same failure. Its 61m13s timing establishes serialization but is not a passing benchmark; the passing 58m03s benchmark above supersedes that sample.Do not fix this by disabling consent, preinstalling missing companions, or dropping scenarios. A separate fixture repair must exercise
update repair --accept-capabilitiesafter the existing migration assertions, verify artifact-bound acceptance, and cover configured-plugin and automatic-restart variants. This PR leaves that security contract unchanged. A single-scenario control reproduced the same failure on the same current candidate; the timing replay uses the exact historical passing candidate with omissions disabled.The timing replay completed successfully on workflow head
34e128909683e960993232dc993f9a340fa62218, testing the exact historical candidate0d4e8f2f5ce702ceb247e9d3e155df49a02b29ab. It explicitly uses GitHub-hostedubuntu-24.04, matching the historical successful runner class. All four group artifacts were checked against the historical artifact: the same ten names passed exactly once; no omissions, failures, timeouts, or retries. This satisfies the ClawSweeper request to inspect the terminal Docker result before merge. An initial replay with the direct workflow default (Blacksmith) was intentionally cancelled rather than used for a hardware-confounded comparison.Review follow-through
Thanks @vincentkoc for fixing the late ClawSweeper finding in
4aa73c2109c31e35a8f388264ddfb92ff520778d: supportedminimumrequests now canonicalize tobetain both concurrency keys. Equivalent aliases share one lock, distinct coverage remains independent, and effective soak normalization remains unchanged. The added behavioral regression passes locally; Vincent also recorded a failing/passing reproduction and 233 focused checks in his comment. This commit changes only the two admission expressions and their tests, leaving the benchmarked grouping/image planner and iOS workflow bytes unchanged. Both alias-related rank-up moves are addressed.