Repository navigation
fix(test): unblock restart-auth plugin and worker publication qualification - #205679
Conversation
A resident Gateway finishes the core update run before its update watcher records the plugins step. The restart-auth survivor asserted WhatsApp's installed version right after the serving turn, so it could read the pre-maintenance install (R7 FRV: "whatsapp plugin version changed: 2026.12.1-beta.1") without knowing whether maintenance was late or failed. Wait, bounded, for the plugins step of the recovery run (matched by runId). A failed step fails with its own detail; an unfinished one fails at the deadline. Version, integrity and serving checks are unchanged. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
The worker turn fixture limits plugins to openai with no memory slot so the real model runtime does not cold-load unrelated bundled plugins (#204726). The context-engine test replaced the whole plugins object to select its engine, dropping that allowlist, so its first case built a prepared model runtime over every bundled plugin. On loaded runners that exceeded the 120s publication deadline (FRV R5 and R7: "prepared model runtime publication (workspace plugins; agent main) timed out"). Merge the engine slot into the fixture's plugin config instead. Locally under load ~120, the direct case drops from 97.6s to 29.1s; both cases pass. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
…cation Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 29ca3fa8-b23e-8333-b278-093e45524731
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR waits for resident recovery plugin maintenance and preserves the worker fixture’s plugin configuration when selecting a context engine. Example: Resident recovery updates core to 2100.1.0 before plugin maintenance finishes.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs two source-backed release-validation fixture defects while preserving existing assertions, and no actionable code defect was found. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe release-validation harness drives installed OpenClaw updates and checks plugin survival; the worker integration fixture prepares a real model runtime before exercising context-engine settlement. flowchart TD
A[Release validation] --> B[Recovery update]
B --> C[Resident Gateway]
C --> D[Plugin maintenance]
D --> E[Matching run status]
E --> F[Survival assertions]
A --> G[Worker fixture]
G --> H[Prepared context engine]
Technical reviewBest possible solution: Retain the run-matched maintenance wait and extend the existing worker fixture configuration without replacing its plugin restrictions. Do we have a high-confidence way to reproduce the issue? Source establishes the premature maintenance boundary and discarded worker settings; the reported hosted failures were not independently replayed during this read-only review. Is this the best way to solve the issue? Both changes repair the fixture owners directly, preserve existing assertions and runtime deadlines, and add no competing production implementation; the new timeout override is confined to the test harness. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 57f17332ca0d. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +45, Other +51. Total +96 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 Reviewed November 25, 2026, 8:50 PM ET / November 26, 2026, 01:50 UTC. |
…cation (#205679) * fix(e2e): wait for resident recovery plugin maintenance A resident Gateway finishes the core update run before its update watcher records the plugins step. The restart-auth survivor asserted WhatsApp's installed version right after the serving turn, so it could read the pre-maintenance install (R7 FRV: "whatsapp plugin version changed: 2026.12.1-beta.1") without knowing whether maintenance was late or failed. Wait, bounded, for the plugins step of the recovery run (matched by runId). A failed step fails with its own detail; an unfinished one fails at the deadline. Version, integrity and serving checks are unchanged. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(test): keep the worker context-engine turn on its plugin allowlist The worker turn fixture limits plugins to openai with no memory slot so the real model runtime does not cold-load unrelated bundled plugins (#204726). The context-engine test replaced the whole plugins object to select its engine, dropping that allowlist, so its first case built a prepared model runtime over every bundled plugin. On loaded runners that exceeded the 120s publication deadline (FRV R5 and R7: "prepared model runtime publication (workspace plugins; agent main) timed out"). Merge the engine slot into the fixture's plugin config instead. Locally under load ~120, the direct case drops from 97.6s to 29.1s; both cases pass. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(test): unblock restart-auth plugin and worker publication qualification Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 29ca3fa8-b23e-8333-b278-093e45524731 --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit 90ba762)
…irement-rule * origin/main: (172 commits) test(gateway): expect a revoked person's Goal retry to be hidden as not found (#205698) fix: keep browser disabled when only hardening relay authentication (#203137) fix: recover Linux stream automations after command-anchor crashes (#203149) fix(whatsapp): identify voice-note captions as text in delivery receipts (#205381) fix(test): unblock restart-auth plugin and worker publication qualification (#205679) chore(ui): refresh control ui locales (#205691) fix: reduce memory during SQLite usage refresh (#201064) fix(plugins): readmit native captures with a dangling host link chore(i18n): refresh native locales (#205680) fix(update): hash SQLite lock bytes as zeros so Windows exclusion cannot fail verification (#205668) fix(skill-workshop): skip the skill diet for skills with Markdown outside support directories (#204881) fix(plugins): clarify dated SDK migration notices (#200932) fix: keep the resident launcher when reinstalling Gateway (#205655) fix: show the whole reply when you reopen a TUI session (#200455) test(ui): wait for restored speech player authorization (#199502) feat: let agents post approved GitHub comments (#204301) fix(agents): honor imageMaxDimensionPx at the provider and CLI image handoffs (#205663) chore(ui): refresh control ui locales (#205664) fix(google): preserve playback when Google Live splits audio into parts (#205364) fix: show named characters in exported session messages (#205362) ...
…cation (openclaw#205679) * fix(e2e): wait for resident recovery plugin maintenance A resident Gateway finishes the core update run before its update watcher records the plugins step. The restart-auth survivor asserted WhatsApp's installed version right after the serving turn, so it could read the pre-maintenance install (R7 FRV: "whatsapp plugin version changed: 2026.12.1-beta.1") without knowing whether maintenance was late or failed. Wait, bounded, for the plugins step of the recovery run (matched by runId). A failed step fails with its own detail; an unfinished one fails at the deadline. Version, integrity and serving checks are unchanged. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(test): keep the worker context-engine turn on its plugin allowlist The worker turn fixture limits plugins to openai with no memory slot so the real model runtime does not cold-load unrelated bundled plugins (openclaw#204726). The context-engine test replaced the whole plugins object to select its engine, dropping that allowlist, so its first case built a prepared model runtime over every bundled plugin. On loaded runners that exceeded the 120s publication deadline (FRV R5 and R7: "prepared model runtime publication (workspace plugins; agent main) timed out"). Merge the engine slot into the fixture's plugin config instead. Locally under load ~120, the direct case drops from 97.6s to 29.1s; both cases pass. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(test): unblock restart-auth plugin and worker publication qualification Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> Co-authored-by: RomneyDa <[email protected]> OpenClaw-Publication: 29ca3fa8-b23e-8333-b278-093e45524731 --------- Co-authored-by: RomneyDa <[email protected]> Co-authored-by: vincentkoc <[email protected]>
…cation (#205679) * fix(e2e): wait for resident recovery plugin maintenance A resident Gateway finishes the core update run before its update watcher records the plugins step. The restart-auth survivor asserted WhatsApp's installed version right after the serving turn, so it could read the pre-maintenance install (R7 FRV: "whatsapp plugin version changed: 2026.12.1-beta.1") without knowing whether maintenance was late or failed. Wait, bounded, for the plugins step of the recovery run (matched by runId). A failed step fails with its own detail; an unfinished one fails at the deadline. Version, integrity and serving checks are unchanged. Co-authored-by: vincentkoc <[email protected]> * fix(test): keep the worker context-engine turn on its plugin allowlist The worker turn fixture limits plugins to openai with no memory slot so the real model runtime does not cold-load unrelated bundled plugins (#204726). The context-engine test replaced the whole plugins object to select its engine, dropping that allowlist, so its first case built a prepared model runtime over every bundled plugin. On loaded runners that exceeded the 120s publication deadline (FRV R5 and R7: "prepared model runtime publication (workspace plugins; agent main) timed out"). Merge the engine slot into the fixture's plugin config instead. Locally under load ~120, the direct case drops from 97.6s to 29.1s; both cases pass. Co-authored-by: vincentkoc <[email protected]> * fix(test): unblock restart-auth plugin and worker publication qualification Worked on by: - @vincentkoc - @RomneyDa Co-authored-by: vincentkoc <[email protected]> OpenClaw-Publication: 29ca3fa8-b23e-8333-b278-093e45524731 --------- Co-authored-by: vincentkoc <[email protected]> (cherry picked from commit 90ba762) Release adaptation: port worker plugin allowlisting. Stable restart-auth verifies service process replacement and has no donor resident recovery fixture route; do not transplant its alternate restart proof. Co-authored-by: RomneyDa <[email protected]>
Problem
Two test-fixture defects surfaced in
2026.12.1-beta.1Full Release Validation. Hosted validation is still needed to confirm whether they explain the observed failures.update-restart-auth(FRV R7, job 139515690632):Error: whatsapp plugin version changed: 2026.12.1-beta.1. A resident Gateway can finish the core update before its watcher records thepluginsstep. The survivor could read the old install before maintenance finished. The core-only receipt does not establish whether maintenance was delayed or failed.checks-node-compact-large-16(FRV R7, job 139500906507): the direct worker context-engine case hit the prepared model runtime publication timeout. The test replaced the fixture's entirepluginsobject to select its context engine, inadvertently discarding its narrow allowlist and disabled memory slot.Fix
pluginsstep, matched byrunId, before checking the plugin. Report a failed step with its detail and time out separately on unfinished maintenance. Keep the existing version, integrity, no-fallback and serving checks.Evidence
Release backport target:
release/2026.12.1.Worked on by