Repository navigation
Comparing changes
Open a pull request
base repository: pingdotgg/t3code
base: main
head repository: pingdotgg/t3code
compare: fix/issue-30985
- 16 commits
- 5 files changed
- 2 contributors
Commits on Nov 4, 2026
-
test(server): reproduce #30985 Codex Stop that never completes is rep…
…orted as interrupted When Codex acknowledges turn/interrupt but never sends turn/completed, the adapter synthesizes an interrupted terminal and interruptTurn succeeds, so Force stop is never offered. This test expects the turn to stay open and interruptTurn to fail with ProviderAdapterInterruptTimeoutError. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b01f501 - Browse repository at this point
Copy the full SHA b01f501View commit details -
fix(server): Codex Stop that never completes offers Force stop
When Codex acknowledged turn/interrupt but never sent turn/completed within the 10 second wait, the adapter finalized the turn as interrupted anyway, so the thread looked stopped while Codex kept working and Force stop was never offered. An unconfirmed root now leaves its lineage open and fails with ProviderAdapterInterruptTimeoutError, which the outer mapError passes through so Stop is marked unresponsive. Interrupt cleanup keeps the running command items of turns that are still active, so a later turn/completed from Codex finalizes the turn and its commands through the normal notification path. AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3cd4ca - Browse repository at this point
Copy the full SHA c3cd4caView commit details -
fix(server): a Codex Stop that times out stays stopped until the turn…
… ends When Codex acknowledged turn/interrupt but never sent turn/completed, the timed-out Stop cleared its interrupting mark. A late serverOverloaded failure then scheduled a capacity retry and continued the stopped run, and a late native completion read as completed. The timeout path also skipped the second terminal sweep, so a descendant command started after the first sweep was never terminated. The interrupting mark now stays on turns Codex has not finished and is cleared when the turn finalizes. Command tracking is kept only while a Stop is still waiting. The timeout path still runs the second terminal sweep and the settled-target cleanup, and reports the timeout over a termination failure, since Force stop covers both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8b861f - Browse repository at this point
Copy the full SHA b8b861fView commit details -
fix(server): an unconfirmed Codex Stop settles its lineage when Codex…
… completes A Stop that timed out dropped its remaining work: descendants stayed active, commands started after the timeout were never terminated, and subagents spawned during the wait were never interrupted. The session manager's 15s cap also ran the error path on interruption, which synthesized interrupted terminals and hid Force stop. The work after Codex confirms a Stop now runs in a fiber in the session scope. A timed-out or capped Stop hands off to it, and it waits for the roots' own turn/completed. Each pending Stop keeps its own turn waiter, so a second Stop does not strand the first. Force stop's unloadThread finalizes turns that still have a Stop pending. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39ab4f1 - Browse repository at this point
Copy the full SHA 39ab4f1View commit details -
fix(server): a Codex Stop that times out contains descendants that se…
…ttled meanwhile Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c0a553 - Browse repository at this point
Copy the full SHA 4c0a553View commit details -
Configuration menu - View commit details
-
Copy full SHA for fccf497 - Browse repository at this point
Copy the full SHA fccf497View commit details -
fix(server): a Codex Stop keeps a late settled descendant's commands …
…when containment fails Co-Authored-By: Claude Opus 5.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e62881 - Browse repository at this point
Copy the full SHA 6e62881View commit details
Commits on Nov 10, 2026
-
Merge remote-tracking branch 'origin/main' into fix/issue-30985
# Conflicts: # apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts
Configuration menu - View commit details
-
Copy full SHA for 694880e - Browse repository at this point
Copy the full SHA 694880eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 037e6df - Browse repository at this point
Copy the full SHA 037e6dfView commit details
Commits on Nov 11, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 414eae0 - Browse repository at this point
Copy the full SHA 414eae0View commit details -
fix(server): a provider switch proceeds when the old Codex turn never…
… stops A mid-turn provider switch (restart with a detach or replace session transition) now treats the interrupt timeout as done: the detach that follows unloads the thread, which ends the turn Codex never completed. An in-session restart still fails on the timeout. AI-assisted; verified with the tests and tools listed above.
Configuration menu - View commit details
-
Copy full SHA for 9d1ec54 - Browse repository at this point
Copy the full SHA 9d1ec54View commit details -
Configuration menu - View commit details
-
Copy full SHA for d24379a - Browse repository at this point
Copy the full SHA d24379aView commit details -
Merge remote-tracking branch 'origin/main' into fix/issue-30985
# Conflicts: # apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts
Configuration menu - View commit details
-
Copy full SHA for 18a02e0 - Browse repository at this point
Copy the full SHA 18a02e0View commit details
Commits on Nov 12, 2026
-
Merge remote-tracking branch 'origin/main' into fix/issue-30985
# Conflicts: # apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts
Configuration menu - View commit details
-
Copy full SHA for 5f9069c - Browse repository at this point
Copy the full SHA 5f9069cView commit details -
fix(server): a timed-out Codex Stop still stops children that start late
Settling a Stop waits for the root's turn/completed, so after the confirmation timeout a descendant that started late kept running. At the timeout, interrupt the descendants found so far, and interrupt any child turn that starts under a root whose Stop is still unconfirmed. Drops the settled-descendant containment that only existed for children that could now run past the timeout. AI-assisted; verified with the tests and tools listed above.
Configuration menu - View commit details
-
Copy full SHA for 2d6bdb9 - Browse repository at this point
Copy the full SHA 2d6bdb9View commit details -
fix(server): a capped Codex Stop still stops children that start late
When the session manager's cap interrupts a Stop before its confirmation timeout, the settlement fork waited for the root without marking it unconfirmed, so a child starting afterwards ran unstopped. The capped path now marks the roots and interrupts late descendants, like the timeout path. AI-assisted; verified with the tests and tools listed above.
Configuration menu - View commit details
-
Copy full SHA for 1cfb434 - Browse repository at this point
Copy the full SHA 1cfb434View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...fix/issue-30985