Repository navigation
fix(ci): report full release decisions sooner - #135076
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed September 1, 2026, 6:04 AM ET / 10:04 UTC. ClawSweeper reviewWhat this changesThe PR polls a SHA-pinned Full Release Validation run and its decision-artifact metadata every two minutes, while retaining 15-minute detailed progress reads and bounded discovery backoff. Merge readinessKeep this maintainer-owned release-automation PR open for normal maintainer review. The introduced state machine changes the correct observer and has focused boundary coverage; no concrete patch defect was found. Priority: P3 Review scores
Verification
How this fits togetherThe release-validation helper dispatches a SHA-pinned GitHub Actions run, observes its parent status and decision artifact, then reports the outcome and verifies evidence before removing temporary refs. This change affects how quickly release operators learn a validated blocking decision. flowchart LR
A[Release operator] --> B[SHA-pinned validation helper]
B --> C[GitHub Actions parent run]
C --> D[Decision artifact metadata]
D --> E[Validated release decision]
C --> F[Sparse progress reporting]
E --> G[Operator outcome and ref cleanup]
Decision needed
Why: The change intentionally trades additional lightweight GitHub metadata reads for earlier release decisions, and the protected maintainer workflow requires an explicit human landing judgment. Before merge
Agent review detailsSecurityNone. PR surfaceTests +246, Docs +4, Other +45. Total +295 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 the single SHA-pinned observer, confirm the exact artifact-name filter against a completed GitHub Actions run, and land only after exact-head CI completes. Do we have a high-confidence way to reproduce the issue? No live current-main run was performed in this read-only review; source inspection and the focused fixture establish a clear, source-reproducible 15-minute coupled-polling path. Is this the best way to solve the issue? Yes. The change keeps the behavior in the existing SHA-pinned observer, preserves authoritative payload validation, and avoids adding a second release watcher. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e2eb6a694d0b. 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
|
|
Resolved the remaining review items before landing on the unchanged head The completed-run probe used the exact endpoint {"total_count":1,"artifacts":[{"id":9777101851,"name":"full-release-decision-33442207246-1","expired":false,"run_id":33442207246,"head_sha":"d410677110e41918c341056793d4c38740d9cf00"}]}This confirms the name filter against a completed historical parent; it does not claim that historical run passed. The response contains only public run/artifact metadata. The artifact endpoint's documented name filter and the normal cache route were also checked. The +45 tooling-line tradeoff is accepted under the requested release-verification speedup: readiness belongs to this one observer, metadata stays bounded, downloads are deferred until needed, and passing state is retained only for its exact attempt. Merely reducing the old timer would repeat expensive downloads; a generic watcher would lose validated early decisions. There is no persisted data, schema, vector, embedding, or model change—the added state is local to the running observer. Exact-head CI 33494985655 and required gate |
What Problem This Solves
Full release verification can leave operators waiting up to 15 minutes after a result becomes available. The SHA-pinned helper uses the same delay for parent status, decision downloads, detailed progress, and run discovery.
Why This Change Was Made
Check parent status and exact-attempt decision metadata every two minutes, while keeping full progress-job reads at least 15 minutes apart. Download decisions only after the named artifact appears, retain validated passing decisions for that attempt, and reset readiness when the attempt changes. Discovery uses bounded 30/60/120-second backoff.
Metadata is only a readiness hint. Downloaded decisions still require the existing identity validation; parent completion and the strict evidence verifier still own success and temporary-ref cleanup. The 12-hour deadline, failure handling, diagnostic drain, and frozen Code/Tooling identities are unchanged. No new configuration or workflow dispatch is added.
User Impact
Release operators get results sooner without downloading an absent artifact on every observation. This reduces observation delay, not test execution time. Each regular iteration makes at most two metadata requests; cache and network latency remain additional. Application behavior is unchanged.
Evidence
The owner is the existing SHA-pinned dispatch helper. The previous coupled polling delay is replaced rather than adding a second watcher. Tooling delta: +61/-16 (net +45), required for readiness tracking and separating metadata from downloads; tests +258/-12, docs +12/-8; application runtime delta zero. Existing generic GitHub watchers do not observe validated Release Decision artifacts while diagnostics continue, so they cannot replace this helper's release contract.