Make budgeted GenPlan CLI runs reliable - #177
Open
joshnroy wants to merge 1 commit into
Open
Conversation
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 2, 2026 14:12
a73bf81 to
fa4d524
Compare
joshnroy
changed the base branch from
codex/genplan-allow-search
to
codex/genplan-source-access
September 2, 2026 14:12
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 2, 2026 14:20
fa4d524 to
2ea0b9e
Compare
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 2, 2026 14:23
2ea0b9e to
90b0206
Compare
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 3, 2026 00:57
90b0206 to
d61bea4
Compare
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 3, 2026 01:16
d61bea4 to
ff0e5a4
Compare
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 3, 2026 01:29
ff0e5a4 to
1e31015
Compare
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 3, 2026 01:31
1e31015 to
01a205d
Compare
joshnroy
marked this pull request as ready for review
September 3, 2026 01:43
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 4, 2026 14:31
01a205d to
35ea695
Compare
This was referenced Sep 4, 2026
joshnroy
force-pushed
the
codex/claude-cli-resume
branch
from
September 4, 2026 22:03
35ea695 to
cf91793
Compare
merlerm
approved these changes
Sep 5, 2026
merlerm
left a comment
Collaborator
There was a problem hiding this comment.
LGTM! Do you think some of these changes would also be good to include in our agentic backend? Also one thing to be careful of is to check if when there are two parallel runs going, each resumes to its own correct history instead of a different one. I had some issues with this at some point
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.
Summary
Why
These behaviors all belong to one runtime reliability boundary: a budgeted GenPlan conversation should survive transient service failures and subscription reset windows without duplicating potentially charged calls, losing conversation context, or outliving its host process.
The former one-hour Docker timeout could abandon a $20 run before held-out evaluation. The former completion path also surfaced transient 5xx and session-limit 429 responses as fatal errors even though the agentic path already knew how to wait for reset.
Verification
Stack
Stacked on #172. This PR now includes the former #179 and #181.