Repository navigation
refactor: simplify full release validation child workflows - #117385
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 3:07 PM ET / 19:07 UTC. ClawSweeper reviewWhat this changesThe branch replaces five duplicated Full Release Validation child-workflow dispatch, adoption, polling, and cleanup scripts with one YAML-anchored shared dispatcher that keeps each job’s inputs, timeout, and failure policy. Merge readinessThis PR remains necessary: current Priority: P2 Review scores
Verification
How this fits togetherFull Release Validation is the release operator workflow that starts CI, plugin prerelease, release checks, package Telegram E2E, and performance child workflows. Each monitor must dispatch the child from the reviewed workflow ref, adopt exactly one matching run, report its outcome, and cancel that adopted run if monitoring exits unexpectedly. flowchart LR
A[Release inputs and target SHA] --> B[Full Release Validation]
B --> C[Shared child dispatcher]
C --> D[Exact-ref child workflow]
D --> E[Run adoption and polling]
E --> F[Release validation result]
E --> G[Cancel adopted child on monitor exit]
Decision needed
Why: The implementation is a centralized automation owner for release validation; whether the consolidation’s operational blast radius is acceptable requires release-owner judgment beyond automated tests and hosted proof. Before merge
Agent review detailsSecurityNone. PR surfaceTests +492, Config -529. Total -37 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one canonical dispatcher, retain the five explicit mode bindings and current release-check timeout ownership, and merge only after a release-workflow owner confirms the current-base result preserves each child’s exact-ref, cancellation, and advisory/fail-fast contracts. Do we have a high-confidence way to reproduce the issue? Not applicable as a user-reported bug. The relevant behavior has an exact-head hosted GitHub Actions run in the PR body plus executable branch tests that exercise the shared dispatcher’s adversarial paths. Is this the best way to solve the issue? Yes, conditionally: one canonical dispatcher is a better owner boundary than five copied monitor scripts because the child-specific behavior remains explicit through modes and environments. The remaining requirement is a release-owner check of the current-base merge because the shared path is operationally sensitive. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 71b35c3e1db1. LabelsLabel 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 (5 earlier review cycles)
|
|
Merged via squash.
|
* origin/main: (22 commits) refactor(ui): consolidate cron form control rendering (openclaw#117576) fix(memory): recover restored session freshness (openclaw#117548) fix(whatsapp): normalize future-proof QA poll and video note ingress (openclaw#117579) fix(perf): separate warm and first-device health probes (openclaw#117525) fix(ci): repair plugin prerelease validation (openclaw#117562) fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(ui): preserve Talk transcript surrogate bounds fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578) perf(gateway): mark recovery before model preparation (openclaw#117544) fix(ui): harden Talk transcript marker bounds test(openai): parse realtime websocket frames safely fix(openai): keep embedding identity stable across upgrades (openclaw#117557) fix(googlechat): drop invalid thread resource names before send (openclaw#108324) test(ui): cover bounded realtime Talk entries fix(ui): bound realtime Talk conversation text test(ui): cover reentrant Talk meter cleanup ...
* origin/main: fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578)
* origin/main: (28 commits) refactor(ui): consolidate cron form control rendering (openclaw#117576) fix(memory): recover restored session freshness (openclaw#117548) fix(whatsapp): normalize future-proof QA poll and video note ingress (openclaw#117579) fix(perf): separate warm and first-device health probes (openclaw#117525) fix(ci): repair plugin prerelease validation (openclaw#117562) fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(ui): preserve Talk transcript surrogate bounds fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578) perf(gateway): mark recovery before model preparation (openclaw#117544) fix(ui): harden Talk transcript marker bounds test(openai): parse realtime websocket frames safely fix(openai): keep embedding identity stable across upgrades (openclaw#117557) fix(googlechat): drop invalid thread resource names before send (openclaw#108324) fix(skills): preserve profile in ClawHub command hints (openclaw#117555) fix(cli): explain filtered plugin policy without unsafe recovery (openclaw#117556) fix(irc): strip markdown from outbound text (openclaw#112961) ...
* origin/main: (53 commits) fix(whatsapp): normalize future-proof QA poll and video note ingress (openclaw#117579) fix(perf): separate warm and first-device health probes (openclaw#117525) fix(ci): repair plugin prerelease validation (openclaw#117562) fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578) perf(gateway): mark recovery before model preparation (openclaw#117544) test(openai): parse realtime websocket frames safely fix(openai): keep embedding identity stable across upgrades (openclaw#117557) fix(googlechat): drop invalid thread resource names before send (openclaw#108324) fix(skills): preserve profile in ClawHub command hints (openclaw#117555) fix(cli): explain filtered plugin policy without unsafe recovery (openclaw#117556) fix(irc): strip markdown from outbound text (openclaw#112961) refactor(plugins): consolidate registry snapshots (openclaw#117561) test(ui): cover reentrant Talk meter cleanup fix(plugins): fail blocked enable commands (openclaw#117536) fix(ui): reclaim reentrant Talk audio meters ...
* origin/main: (22 commits) refactor(ui): consolidate cron form control rendering (openclaw#117576) fix(memory): recover restored session freshness (openclaw#117548) fix(whatsapp): normalize future-proof QA poll and video note ingress (openclaw#117579) fix(perf): separate warm and first-device health probes (openclaw#117525) fix(ci): repair plugin prerelease validation (openclaw#117562) fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(ui): preserve Talk transcript surrogate bounds fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578) perf(gateway): mark recovery before model preparation (openclaw#117544) fix(ui): harden Talk transcript marker bounds test(openai): parse realtime websocket frames safely fix(openai): keep embedding identity stable across upgrades (openclaw#117557) fix(googlechat): drop invalid thread resource names before send (openclaw#108324) test(ui): cover bounded realtime Talk entries fix(ui): bound realtime Talk conversation text test(ui): cover reentrant Talk meter cleanup ...
* origin/main: fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578)
* origin/main: (28 commits) refactor(ui): consolidate cron form control rendering (openclaw#117576) fix(memory): recover restored session freshness (openclaw#117548) fix(whatsapp): normalize future-proof QA poll and video note ingress (openclaw#117579) fix(perf): separate warm and first-device health probes (openclaw#117525) fix(ci): repair plugin prerelease validation (openclaw#117562) fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(ui): preserve Talk transcript surrogate bounds fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578) perf(gateway): mark recovery before model preparation (openclaw#117544) fix(ui): harden Talk transcript marker bounds test(openai): parse realtime websocket frames safely fix(openai): keep embedding identity stable across upgrades (openclaw#117557) fix(googlechat): drop invalid thread resource names before send (openclaw#108324) fix(skills): preserve profile in ClawHub command hints (openclaw#117555) fix(cli): explain filtered plugin policy without unsafe recovery (openclaw#117556) fix(irc): strip markdown from outbound text (openclaw#112961) ...
* origin/main: (53 commits) fix(whatsapp): normalize future-proof QA poll and video note ingress (openclaw#117579) fix(perf): separate warm and first-device health probes (openclaw#117525) fix(ci): repair plugin prerelease validation (openclaw#117562) fix(tasks): sanitize every human task and flow detail (openclaw#117568) fix(feishu): cancel unread streaming-card error bodies before release (openclaw#117312) fix(status): honor explicit local RPC fallback timeouts (openclaw#117519) fix(tasks): validate notification policy before persistence (openclaw#117554) refactor: consolidate full release child workflows (openclaw#117385) refactor(policy): centralize doctor health-check descriptors (openclaw#117578) perf(gateway): mark recovery before model preparation (openclaw#117544) test(openai): parse realtime websocket frames safely fix(openai): keep embedding identity stable across upgrades (openclaw#117557) fix(googlechat): drop invalid thread resource names before send (openclaw#108324) fix(skills): preserve profile in ClawHub command hints (openclaw#117555) fix(cli): explain filtered plugin policy without unsafe recovery (openclaw#117556) fix(irc): strip markdown from outbound text (openclaw#112961) refactor(plugins): consolidate registry snapshots (openclaw#117561) test(ui): cover reentrant Talk meter cleanup fix(plugins): fail blocked enable commands (openclaw#117536) fix(ui): reclaim reentrant Talk audio meters ...
What Problem This Solves
Full Release Validation repeated exact-reference dispatch, run adoption, polling, and cancellation across five child jobs, making release safety rules costly to maintain and allowing a child workflow to outlive a monitor that fails unexpectedly.
Why This Change Was Made
Share one GitHub-supported YAML scalar anchor across the existing five child monitors, with explicit job-owned modes. Preserve every existing job interface, nonce, exact-ref and SHA check, one-shot dispatch, retry boundary, advisory profile, timeout, and fail-fast filter. Capture only the adopted workflow and run identifiers so EXIT cleanup survives Bash function unwinding.
User Impact
Release operators retain the same validation and publishing behavior with 529 fewer handwritten workflow lines. Unexpected monitoring failures now reliably cancel their exact adopted child workflow. No configuration, provider, protocol, credential, or external workflow interface changes.
Evidence
pnpm check:workflowspassed pinned Actionlint, Zizmor, and repository workflow guards.pnpm check:changedpassed test-root typechecking and script linting with zero warnings or errors.Real GitHub Actions behavior proof (exact reviewed head)
Parent and child workflow head:
27ef13af731b0333ccf5e34580543dce8272da0c; historical signed release target:v2026.3.31/213a704b71f4996dc82a583288ee53785215f627.Controlled proof graph: three Ubuntu parent jobs plus one read-only Ubuntu child preflight. Every other child, Docker job, package preparation, provider lane, signing, publication, and release evidence dispatch was skipped; no repository secrets were used.
Exact-head hosted CI also completed successfully: https://github.com/openclaw/openclaw/actions/runs/30698370856\n\n### Current-main three-way merge proof (Docker refactor(docker): consolidate E2E scenario helpers #117359 and beta timeout fix(release): allow beta validation child completion #117463)
Reviewed head remains
27ef13af731b0333ccf5e34580543dce8272da0c; checked actualmainis83208eb4a96addc4d58f7d09d926634e7d93abd5, with true common ancestora88f3ffc9609d6fc0b70e370160801dc66d8d14c.Landed fix(release): allow beta validation child completion #117463 (
93d99bbb083b472f95951b7bb72f7494e5af5f82) changes three PR files: the release workflow, package-acceptance test, and plugin-prerelease test. Its owner fix changesrelease_checks.timeout-minutesto 240 so healthy beta children survive queue delay; both updated suites assert.toBe(240).Actual full current-main merge verified:
git merge-tree --write-tree 83208eb4a96addc4d58f7d09d926634e7d93abd5 27ef13af731b0333ccf5e34580543dce8272da0cexits 0 as tree8a78c894f88ebc97161af9a246ef4449ddaf62be; all three overlapping files auto-merge without conflicts. This is the complete current-main tree, not GitHub's stale synthetic merge and not the earlier upstream-owner proxy.The real merged production workflow keeps the new 240-minute timeout and explanatory owner comment, while preserving the single five-mode dispatcher, exact ref/SHA checks, one-shot exact-run adoption, fail-fast ownership, and adopted-child cleanup. Both actual merged tests retain
.toBe(240), all 45 hostile dispatcher cases, and landed Docker planner removal/shared-helper assertions.The actual full merge also preserves landed SQLite refactor refactor(state): inline canonical database schemas at build #117433: both deleted
src/state/*-schema.generated.tsfiles stay absent, both canonical replacement schema files stay present, andscripts/build-all.mjshas the exact same Git blob as checkedmain(0234bd2a0471464b14820b631d05cd563f62f2d5). No unrelated main work is reverted.Against that current-main tree, production remains 529 lines smaller; tests are counted separately, with the whole four-file diff 37 lines smaller.
Historical evidence is explicitly scoped: the 345-test Blacksmith combined-tree run predates fix(release): allow beta validation child completion #117463; the successful hosted CI and real parent/child links above validate reviewed head
27ef13af731b0333ccf5e34580543dce8272da0c, not a fabricated current-merge CI run. The new timeout/SQLite interaction is proven by the actual complete clean merge tree and direct merged-content assertions. No cancelled or wrong-head Testbox run is cited as merged-head evidence.No rebase is needed: the real current-main three-way merge preserves release timeout ownership, both tests, all dispatcher guarantees, the Docker cleanup, and the later SQLite deletions.