Repository navigation
fix(tests): preserve failed catalog worker recovery coverage - #189351
Merged
Merged
Conversation
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]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
roboclaw-bot
marked this pull request as ready for review
October 31, 2026 12:08
roboclaw-bot
enabled auto-merge (squash)
October 31, 2026 12:14
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes the catalog worker recovery test timing out in full CI run 41192700295 at
0a02f57ab7, jobchecks-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
c11b488c9deaonto main140e7af66277; 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
4ae9e91b8d58against140e7af66277: 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 --checkpasses. 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