Repository navigation
fix(ci): avoid redundant release validation work and delayed failures - #167356
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
Codex review: needs maintainer review before merge. Reviewed October 8, 2026, 1:55 PM ET / 17:55 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR packs measured release tests, reuses authenticated retained publication artifacts, detects producer failures earlier, and preserves failure diagnostics. Example: A release maintainer waits for npm qualification while another producer job continues running
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review The previous SDK archive blocker is resolved, and no new actionable defect was found. This maintainer-authored PR remains useful; the available validation supports the implementation without establishing complete release-workflow behavior or measured end-to-end savings. Priority: P2 Before mergeNone. FindingsNone. Provenance
Tests
Agent review detailsHow this fits togetherFull Release Validation coordinates tests and prepares package and container artifacts for an exact release candidate. Publication workflows consume its authenticated evidence and original artifact descriptors before publishing. flowchart TD
A[Exact release candidate] --> B[Release validation coordinator]
C[Retained validation evidence] --> D[Admission and artifact verification]
D --> E{Complete reusable artifacts?}
E -->|Yes| F[Original qualified artifacts]
E -->|No| G[Fresh artifact preparation]
B --> D
F --> H[Publication gates]
G --> H
Technical reviewBest possible solution: Keep release evidence authentication in the existing verifier and reuse only complete original artifacts while preserving fresh preparation and publication authority checks. Do we have a high-confidence way to reproduce the issue? Yes, source and executable regression scenarios establish the redundant preparation, delayed producer-failure detection, and original-attempt selection paths; this review did not execute them. Is this the best way to solve the issue? Yes, the patch extends the existing release owners and preserves their authentication and fallback contracts; complete workflow timing improvement remains unmeasured. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1c8be7fb6e9a. Provenance checked
TestingProof path: in-process harness. Added test files: 15. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +1178, Docs +1, Config +119, Other +891. Total +2189 across 37 files. View PR surface stats
Stored data modelPersistent data-model change detected: LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
|
|
@clawsweeper re-review Fixed the SDK availability finding in f37b84f. Reuse now requires the separate SDK evidence archive for the original qualified producer attempt. Missing, expired, and wrong-attempt regressions fail against the prior implementation and pass after the fix; all 41 artifact CLI cases pass. The corrected workflow/qualification replay passes 96 cases, and fixture lint/type corrections are included. |
|
🦞👀 Re-review progress:
|
|
Merged via squash auto-merge.
|
…openclaw#167356) * fix(ci): preserve release failure diagnostics and bounded recovery * fix(ci): bound and pack measured full-release test jobs * fix(ci): reuse authenticated release publications and fail waits early * fix(ci): require complete retained publication inputs * fix(ci): narrow artifact and workflow error contracts
…#167356) Backport of 11f0d10 (#167356) adapted for 2026.10.3. Timing refit keeps the release line's push-event main sampling; the hosted release planner keeps its historical-wall floor but retires it once the current selection is measured and leaves continuity owners to the ported retention. Ports the completed-producer-success archive policy (from #165856) needed by publication reuse, and guards an empty Bash 3.2 array in the reuse finder. (cherry picked from commit 11f0d10)
What Problem This Solves
Fixes avoidable full release validation work, repeated artifact builds, late producer-failure detection, and oversized Node test jobs.
User Impact
Release maintainers get fewer scheduled jobs, authenticated reuse of retained publication artifacts, and earlier actionable failures. There is no runtime product change. Existing qualification, artifact integrity, coverage, worker limits, and release gates remain enforced.
The observed hour-long updater/Doctor hangs and Kova memory overage still need separate investigation. This change improves their diagnostics and bounds; it does not claim to fix those root causes. Existing frozen release cuts need an intentional backport or new qualification to consume these changes.
Why This Change Was Made
Evidence
Measured focused test costs
Commands used
pnpm test test/scripts/<file> --maxWorkers=1; wall seconds include startup.The existing packed-runner sibling-continuation case passed separately in 2.15 seconds.
Final native replays passed: artifact CLI 41 cases/22.52s, continuation workflow 21/6.70s, publication qualification 18/5.30s, and state qualification 16/4.66s (96 cases). Earlier corrected-case replay passed package workflow 8/10.31s, npm shell 20/46.84s, timing discovery 1/55.84s (42.7s cold transform), planner 5/16.83s, and decision 1/8.91s. The corrected planner and artifact suites also passed together, 43 cases/24.85s before the SDK regression was added.
Initial PR CI measured the continuation file at 1.625s inside a 105.11s compact shard. Its one stale literal-condition assertion is replaced with the passing fresh/retry/reuse truth table above. The three added SDK cases cost 3.53s against the original defect and fail on that version; the final 41-case cost above includes their passing replay.