Skip to content

fix(tests): preserve failed catalog worker recovery coverage - #189351

Merged
roboclaw-bot merged 1 commit into
mainfrom
roboclaw/fix-catalog-worker-recovery-l168
Oct 31, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
roboclaw/fix-catalog-worker-recovery-l168

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes the catalog worker recovery test timing out in full CI run 41192700295 at 0a02f57ab7, job checks-node-compact-large-2 (124512630116).

User Impact

No production behavior changes. The existing real Gateway, worker and model scenario again proves failed-publication recovery, retained failed renewal, healthy sibling isolation, unchanged saved config and subsequent successful inference and refresh.

Why This Change Was Made

0588f51e8a1c (#189059) intentionally isolated ordinary provider errors. The fixture still injected an ordinary error after its scripted 503 and waited for a whole-runtime failed publication. Preserve the host identity of a supported request-wide error across native plugin and Vitest loaders, then remove the fixture bridge during cleanup. The existing 120-second deadline and assertions remain unchanged.

The original CI annotation reports the timeout; source inspection and a diagnostic local reproduction established the reached failure-injection mismatch. Original CI stages remain inferred because its original log stream was unavailable.

Evidence

  • Refreshed accepted c11b488c9dea onto main 140e7af66277; the complete test patch remains unchanged.

  • Focused real Gateway/worker/model integration rerun: 1/1 passed, 32.42 s test / 75.11 s Vitest / 155.74 s wrapper including cold runtime and native-worker preparation. The 30-second-plus scenario exercises real worker termination, Gateway publication and inference that a helper test cannot prove. Historical baseline reproduced the 120-second timeout; the accepted fix passed the complete scenario.

  • Fresh canonical Codex autoreview of complete local 4ae9e91b8d58 against 140e7af66277: P0–P2 scoped-clean, zero findings. The accepted review with fuller owner context is retained.

  • Accepted scoped typecheck, typed lint and formatting proof reused for the unchanged test patch; current git diff --check passes. Local Node 26.12.1 differs from CI Node 24.22.1; exact-head PR CI passed.

  • One existing test +11/−2, zero production lines. The unique nine-line allocation preserves the host-error identity and cleanup needed by this scenario; no new test cases or shared scalar changes.

  • Exact-head CI 41199790262, attempt 1: success. Node job wall times including setup: boundary 84 s, compact-small-1 62 s, compact-large-2 139 s, changed 143 s.

Requested by @steipete

Work sessions

Discussion, implementation and verification

Use the supported host-owned request-wide failure after the existing static preparation fault so worker recovery still reaches every retained catalog and inference assertion.

Co-authored-by: steipete <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Oct 31, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 31, 2026 12:08
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 31, 2026 12:14
@roboclaw-bot
roboclaw-bot merged commit 9dcbc18 into main Oct 31, 2026
187 checks passed
@roboclaw-bot
roboclaw-bot deleted the roboclaw/fix-catalog-worker-recovery-l168 branch October 31, 2026 12:17
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
…w#189351)

Use the supported host-owned request-wide failure after the existing static preparation fault so worker recovery still reaches every retained catalog and inference assertion.

Co-authored-by: steipete <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant