Repository navigation
fix: restore Codex recovery test coverage - #179606
Merged
Merged
Conversation
Contributor
Author
|
@clawsweeper review |
Contributor
|
🦞👀 Re-review progress:
|
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Author
|
Fixed: native Codex recovery scenarios now start with accepted synthetic configuration and exercise their existing lifecycle assertions. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 22, 2026
Restores the native Codex recovery scenarios by removing a retired synthetic Gateway setting so their existing lifecycle assertions run.
RomneyDa
added a commit
that referenced
this pull request
Nov 1, 2026
Restores the native Codex recovery scenarios by removing a retired synthetic Gateway setting so their existing lifecycle assertions run. (cherry picked from commit eb5fe78) Co-authored-by: RomneyDa <[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 native Codex recovery suite failing during Gateway startup before any recovery behavior can run. Its synthetic agent-defaults fixture still supplied the retired
heartbeatsetting, which the current strict configuration schema rejects.User Impact
There is no user-visible product change. CI can again exercise the existing Codex client reuse, sibling retention, physical-exit settlement, cancellation, and binding behavior instead of stopping at fixture validation.
Why This Change Was Made
The production schema intentionally no longer accepts heartbeat settings under agent defaults, but this test-only Gateway configuration retained the old field. Removing that single fixture property aligns the setup with the accepted configuration shape while preserving every behavioral assertion, timeout, cleanup guard, and adjacent setting.
Evidence
In Actions run 39608923095, all seven cases failed with
agents.defaults: Unrecognized key: "heartbeat"before reaching their recovery assertions. The failed revision and this branch's base have identical fixture and configuration-admission inputs.The maintained remote test path passed changed-file formatting and lint, the selected Gateway test type graph, the required runtime build, and the complete
src/gateway/server.codex-failure-recovery.test.tsfile: 1 file passed and all 7 cases passed. Full hosted CI and review are pending on this initial PR head.