Repository navigation
Conversation
…n at once A machine with something running is asked for its active list every 3 s instead of every 10 (idle or failing: still 10), each machine on its own clock, counted from when its last answer came back. When a top-level thread leaves the active list, the recent roots are fetched in the same round, so a finished run no longer shows as working, or drops off the deck, until the 30 s refresh.
Owner
Author
|
Folded into #28, which now targets main and carries this commit unchanged, so the 1.2.2 patch needs one CI run and one merge. |
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.
What and why
Threads on a linked machine have no live stream, so the deck only knows what its polls tell it. Two things made those keys lag:
Now:
The Poll setting is still the lower bound: with Poll at 10 s, a busy linked machine is asked every 10 s.
Not in this change
A thread on a linked machine whose turn ended with background work still running (subagents, commands) still shows as done.
t3_thread_listdoesn't report that yet; pingdotgg/t3code#33858 would add it.Testing
npm test: 192 pass, 10 skipped, 0 fail.npm run typecheckpasses.test/remotes.test.ts: the busy and idle paces, a finished run showing at the next active poll, a subagent finishing not fetching the recent roots, and a failing machine staying at the idle pace. The finished-run test fails with the same-round fetch removed.