GeezerVison is showing github.com — merge: sync upstream through 70cd258d8 (8 commits) by patroza · Pull Request #442 · patroza/t3code
Conversation
patroza
commented
Sep 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Classic-merge of pingdotgg/t3code main (70cd258d8) into fork/dev.
Incoming (8 commits)
Weld
Conflicts in GitHubCli.ts (kept fork hasFailingChecks and took updatedAt) and VcsProcess.ts (took upstream global VCS + GitHub process caps; kept fork public-diagnostic mapping on CLI failures).
Restore
Tim Smart restart recovery was losing Grok (and similar ACP) turns: the adapter goes ready after prompt_complete while the T3 turn is still live, so shutdown wrote no marker and orphan settle showed "Recovered orphan session (server_restart). Send a follow-up to resume." Recover from the live orchestration shell instead.
Land with gh pr merge --merge only (never squash).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Incoming pingdotgg#9167 added continue-threads-after-server-update, which matches
the fork catalog search for "work". Update the expected ids so the
snapshot matches catalog order.
Made-with: Cursor
The binaryPath re-probe assertion only saw the first spawn when the file
shared a worker with the rest of the server suite. Move it to the
isolated-module-mocks project so ChildProcessSpawner wrapping and
SettingsWatcherLive stay local to the file.
Made-with: Cursor
Tim Smart restart recovery only claimed adapter connecting/running
sessions or bindings with an activeTurnId. Grok ACP goes ready after
prompt_complete while the T3 turn is still live, so stopAll writes no
marker and orphan settle shows "Send a follow-up to resume."
Recover from the live orchestration shell, skip orphan settle when a
recovery marker is already persisted, and do not treat a completed
projected turn as stale while the shell still claims live work.
Made-with: Cursor
The prompt-complete hang test asserts the mock transcript before xAI
content lands when the file shares a worker, producing `hello from `
instead of `hello from mock`.
Made-with: Cursor
Uh oh!
There was an error while loading. Please reload this page.
patroza
added a commit
that referenced
this pull request
Sep 2, 2026
)
Follow-up to #442. Tim Smart restart recovery still lost Grok (and
similar ACP) turns on a graceful restart.
`stopAll` writes `restartRecovery`, then the adapter emits cancelled
`turn.completed` / `session.exited`. Those lifecycle upserts were
merging `restartRecovery: null`, so the next boot had no candidate and
orphan settle showed “Recovered orphan session (server_restart). Send a
follow-up to resume.”
## Fix
- Keep the marker when `lastRuntimeEvent` is already `provider.stopAll`
(natural `turn.completed` still clears the in-turn marker).
- Skip pingdotgg#9167 `reconcileProviderSessions` `settleAsError` for bindings
that already carry a Tim Smart marker.
## Test
- `ProviderService`: `session.exited` after `stopAll` keeps the marker;
natural completion still clears it.
- `reconcileProviderSessions`: restart-recovery bindings are not settled
as update orphans.
Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Sep 2, 2026
Related to the t3vm errors on thread
`e6b8ef70-ea96-42f7-9368-6b70b9e5996a` after #442/#443.
Those PRs started claiming live Grok shells (`recoverySource:
legacy-active-turn`) and then `sendTurn` of the continuation
instruction. Grok's prompt RPC is the whole turn, so
`Effect.timeoutOption(45s)` always lost. t3vm traces show four parallel
Grok recoveries all failing with that timeout; the following `Grok
prompt request failed` lines are the cancelled prompt RPCs.
Keep the 45s bound on `startSession` only. Recovery `sendTurn` already
runs after HTTP readiness.
## Evidence
`continueInterruptedTurn` for `e6b8ef70-…`, provider grok,
`legacy-active-turn`, duration ~51.8s, cause `Provider recovery sendTurn
timed out after 45s`.
Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.