Skip to content

fix: restore Codex recovery test coverage - #179606

Merged
shakkernerd merged 1 commit into
mainfrom
codex-recovery-fixture
Oct 21, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
codex-recovery-fixture

Conversation

@shakkernerd

Copy link
Copy Markdown
Contributor

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 heartbeat setting, 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.ts file: 1 file passed and all 7 cases passed. Full hosted CI and review are pending on this initial PR head.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Oct 21, 2026
@shakkernerd

Copy link
Copy Markdown
Contributor Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@shakkernerd shakkernerd self-assigned this Oct 21, 2026
@shakkernerd
shakkernerd merged commit eb5fe78 into main Oct 21, 2026
109 checks passed
@shakkernerd
shakkernerd deleted the codex-recovery-fixture branch October 21, 2026 15:36
@shakkernerd

Copy link
Copy Markdown
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant