Skip to content

fix: tolerate codex rollout recorder stderr#86

Closed
SamuelLHuber wants to merge 1 commit intocodeplaneapp:mainfrom
SamuelLHuber:fix/codex-rollout-recorder
Closed

fix: tolerate codex rollout recorder stderr#86
SamuelLHuber wants to merge 1 commit intocodeplaneapp:mainfrom
SamuelLHuber:fix/codex-rollout-recorder

Conversation

@SamuelLHuber
Copy link
Contributor

this is something that just came up today for me, so not sure if others have the same issues. this local fix worked for me.

Problem: Codex can exit non-zero with only rollout recorder shutdown noise, which Smithers treated as fatal.

Fix: filter known rollout-recorder and cache TTL stderr lines; treat Codex non-zero as success when stderr is empty after filtering.

Assumptions: rollout-recorder and cache TTL errors are non-fatal if output schema is still produced.

Problem: Codex can exit non-zero with only rollout recorder shutdown noise, which Smithers treated as fatal.

Fix: filter known rollout-recorder and cache TTL stderr lines; treat Codex non-zero as success when stderr is empty after filtering.

Assumptions: rollout-recorder and cache TTL errors are non-fatal if output schema is still produced.
@roninjin10
Copy link
Contributor

Reading this late at night and I'm sick. My brain wasn't able to download what this pr is doing right away will circle back tomorrow or monday

roninjin10 added a commit that referenced this pull request Mar 18, 2026
Rebased from SamuelLHuber/fix/codex-rollout-recorder (PR #86) onto
refactored codebase. Original file src/agents/cli.ts was split into
individual agent files; changes applied to src/agents/BaseCliAgent.ts.

Adds three new benign stderr patterns for codex rollout recorder
shutdown noise and cache TTL errors. When codex exits non-zero but
stderr is empty after filtering, treat it as success.

Also regenerates docs/llms-full.txt to fix docs sync test.

Co-Authored-By: Samuel Huber <samuel@dtech.vision>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@roninjin10
Copy link
Contributor

Superseded — rebased onto current main in fix/codex-rollout-recorder (original file was split in the agents refactor). Thank you @SamuelLHuber!

@roninjin10 roninjin10 closed this Mar 18, 2026
roninjin10 added a commit that referenced this pull request Mar 18, 2026
Rebased from SamuelLHuber/fix/codex-rollout-recorder (PR #86) onto
refactored codebase. Original file src/agents/cli.ts was split into
individual agent files; changes applied to src/agents/BaseCliAgent.ts.

Adds three new benign stderr patterns for codex rollout recorder
shutdown noise and cache TTL errors. When codex exits non-zero but
stderr is empty after filtering, treat it as success.

Also regenerates docs/llms-full.txt to fix docs sync test.

Co-authored-by: Samuel Huber <samuel@dtech.vision>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants