Skip to content

fix(release): allow beta validation child completion - #117463

Merged
vincentkoc merged 2 commits into
mainfrom
fix/release-beta-validation-timeout
Aug 1, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/release-beta-validation-timeout

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where beta Full Release Validation could cancel healthy release-check children after 60 minutes when queue delay and live QA extended the child run past the parent monitor deadline.

Why This Change Was Made

The release-check child owns its individual lane timeouts. Give the parent monitor the existing 240-minute release ceiling so it can wait for the child's authoritative final verifier instead of cancelling valid work.

User Impact

Release operators can complete beta validation without restarting an otherwise healthy release-check matrix at minute 60.

Evidence

  • Reproduced in Full Release Validation run 30696080585 attempt 4: the parent monitor timed out while child run 30702815121 remained healthy and in progress.
  • node scripts/run-vitest.mjs test/scripts/plugin-prerelease-test-plan.test.ts
  • node scripts/check-workflows.mjs
  • targeted oxfmt --check
  • git diff --check
  • autoreview clean

@vincentkoc vincentkoc self-assigned this Aug 1, 2026
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 1, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review August 1, 2026 15:16
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. labels Aug 1, 2026
@clawsweeper

clawsweeper Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 11:31 AM ET / 15:31 UTC.

ClawSweeper review

What this changes

The PR raises the beta Full Release Validation release-check monitor timeout from 60 to 240 minutes and updates two workflow-contract tests to require that ceiling.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep this PR open for normal maintainer merge review. The patch correctly removes a source-proven beta timeout mismatch, and the remaining gate is exact-head hosted validation. Likely related people: Peter Steinberger (original timeout path) and Vincent Koc (current release-workflow repair), both high confidence.

Priority: P1
Reviewed head: f7346e7c4db3dd340d97b9ee3d3f2e67cd57f131

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-backed repair with matching contract tests; the remaining action is exact-head hosted validation rather than a patch-quality correction.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored workflow PR is exempt from the external-contributor real-behavior-proof gate; the cited prior hosted run plus source-backed timeout and cancellation paths establish the defect, while exact-head hosted checks remain the merge gate.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored workflow PR is exempt from the external-contributor real-behavior-proof gate; the cited prior hosted run plus source-backed timeout and cancellation paths establish the defect, while exact-head hosted checks remain the merge gate.
Evidence reviewed 7 items Parent timeout mismatch: The proposed parent monitor uses a 240-minute ceiling; current main gives beta only 60 minutes even though this parent waits for a separately dispatched release-check workflow.
Child workflow can legitimately outlive 60 minutes: The child enables the live Telegram lane and gives that lane 210 minutes, so the beta parent can expire first while a valid child lane is still active.
Parent timeout cancels the child: The monitor installs an EXIT/INT/TERM trap that cancels the dispatched child, so parent expiry is not merely a reporting timeout.
Findings None None.
Security None None.

How this fits together

Full Release Validation dispatches the openclaw-release-checks.yml child workflow and monitors it until completion. The child runs release, live, package, and QA lanes with its own deadlines, then reports an authoritative final conclusion back to the parent.

flowchart LR
  A[Release operator] --> B[Full Release Validation]
  B --> C[Release-check monitor]
  C --> D[Release-check child workflow]
  D --> E[Validation lanes]
  E --> F[Final child verifier]
  F --> G[Release result]
Loading

Before merge

  • Resolve merge risk (P1) - A genuinely stuck release-check child can now take up to the established 240-minute parent ceiling to surface; merge should retain the child workflow’s lane-specific timeouts and final-verifier behavior, then wait for exact-head hosted checks.
  • Complete next step (P2) - The patch has no actionable review finding, but this MEMBER-authored PR carries the protected maintainer label and still has exact-head hosted checks in progress, so it needs normal maintainer merge review.
Agent review details

Security

None.

PR surface

Tests -4, Config +2. Total -2 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 2 6 -4
Docs 0 0 0 0
Config 1 3 1 +2
Generated 0 0 0 0
Other 0 0 0 0
Total 3 5 7 -2

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Land after exact-head workflow validation (recommended)
    Merge once the hosted checks for the current head pass and confirm the release-check child still owns its lane-level deadlines and final completion result.
  2. Keep the former beta ceiling
    Retain the 60-minute monitor only if release operators intentionally prefer fast cancellation over allowing the existing long-running child lane to complete.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Require exact-head hosted checks to pass and preserve the child workflow’s lane-specific timeouts and final-conclusion handling.

Technical review

Best possible solution:

Land the focused 240-minute parent ceiling after exact-head hosted checks pass, while keeping child lane deadlines and its final result verifier as the authoritative bounded failure path.

Do we have a high-confidence way to reproduce the issue?

Yes. Current source enables a 210-minute live Telegram child lane for beta-capable release checks while the beta parent monitor has only a 60-minute timeout and cancels its child on termination.

Is this the best way to solve the issue?

Yes. Raising only the parent to the existing 240-minute release ceiling is the narrowest repair because the child already owns its lane-specific limits and final aggregation; adding another child timeout policy would duplicate ownership.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 7bcbe743bd42.

Labels

Label justifications:

  • P1: The existing beta release path can cancel healthy release validation and require operators to restart the workflow.
  • merge-risk: 🚨 availability: The PR increases how long the parent waits before reporting a stuck child, making preservation of child-level deadlines and completion handling merge-relevant.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored workflow PR is exempt from the external-contributor real-behavior-proof gate; the cited prior hosted run plus source-backed timeout and cancellation paths establish the defect, while exact-head hosted checks remain the merge gate.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Current-main blame and symbol history trace the beta-specific monitor timeout to this release-workflow commit. (role: feature introducer; confidence: high; commits: d585c0c1ec49; files: .github/workflows/full-release-validation.yml, .github/workflows/openclaw-release-checks.yml)
  • Vincent Koc: This member authored the focused monitor repair and the follow-up package-acceptance contract alignment; earlier current-main history also contains adjacent release-workflow work. (role: recent release-workflow contributor; confidence: high; commits: 03698f98881f, f345da6f979b, f7346e7c4db3; files: .github/workflows/full-release-validation.yml, test/scripts/package-acceptance-workflow.test.ts, test/scripts/plugin-prerelease-test-plan.test.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Wait for the current-head hosted checks before merging.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-01T15:21:03.032Z sha f345da6 :: needs maintainer review before merge. :: none

@vincentkoc

Copy link
Copy Markdown
Member Author

Rank-up moves:

  • Resolve merge risk: accepted. The parent monitor now uses the established 240-minute release ceiling, while the dispatched child retains its lane-specific timeouts and final verifier. This avoids cancelling healthy beta validation without removing the bounded failure paths.
  • Complete next step: exact-head hosted checks are running on f7346e7c4db3dd340d97b9ee3d3f2e67cd57f131; this PR will merge only after those scheduled gates pass.

The previously missed package-acceptance contract assertion is aligned in f7346e7c4db. Focused local proof now passes both release workflow contract suites: 107 tests.

@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready proof:

  • Behavior: Full Release Validation's parent monitor now waits up to 240 minutes; the dispatched release-check child retains its own lane deadlines, including the 210-minute Telegram lane and final verifier.
  • Focused local proof:
    • node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts test/scripts/plugin-prerelease-test-plan.test.ts - 107 passed.
    • node scripts/run-vitest.mjs test/scripts/test-live.test.ts - 8 passed; this confirms the one failed hosted test was a timing flake.
    • node scripts/check-workflows.mjs - passed.
    • targeted oxfmt --check and git diff --check - passed.
  • Hosted exact-head proof:
    • CI 30705928454, attempt 2 - passed.
    • Blacksmith Testbox 30705928413 - passed.
    • Blacksmith ARM Testbox 30705928410 - passed.
    • Blacksmith Build Artifacts Testbox 30705928395 - passed.
    • Workflow Sanity 30705928402 - passed.
  • Canonical OPENCLAW_TESTBOX=1 scripts/pr prepare-run 117463 - passed.
  • ClawSweeper rank-up moves were addressed in the prior comment.

Known proof gap: the repaired trusted workflow must be exercised by rerunning Full Release Validation against immutable Code SHA f5df4bab021395b44142042c6b28e88e664ad837 immediately after merge.

@vincentkoc
vincentkoc merged commit 93d99bb into main Aug 1, 2026
167 of 169 checks passed
@vincentkoc
vincentkoc deleted the fix/release-beta-validation-timeout branch August 1, 2026 15:43
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 2, 2026
* fix(release): allow beta validation child completion

* test(release): align package timeout contract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant