Repository navigation
Replies: 2 comments
|
Another real case for this, on nightly One detail that may help decide between the options: for Claude, the server already knows a background command will wake the agent. It just doesn't pass that on.
So option 3 (count commands for providers that wake on exit) works out the same as option 2 for Claude. A dev server started with Since that leaves no clean server-side signal, I'd lean toward option 2 (#15413): count any live background work for Working-section placement only, keeping notifications and auto-settle on #14872. The cost is that a dev server keeps its thread in Working until it's stopped, which the composer's Stop button already makes one click. |
|
A fourth option, with a working demo in #16213: one Working section, more specific row statuses. The case for a separate Waiting state is real. An agent generating code and an agent parked until a 40-minute benchmark finishes are different, and showing both as "Working" with a climbing timer hides that. "Waiting on tests" sets a clearer expectation. But I don't think waiting should decide which section a thread is in:
#16213 does the row half without changing placement. A waiting row now names what will wake the agent, using the composer strip's wording and the existing
For commands, the hard part is still the one this discussion is about: telling "waiting on tests" apart from "left a dev server running". With an explicit hold signal like #15315, a held command lands in Working and its row reads "Waiting on " with a terminal icon, through the same predicate and with no further UI change. Without that signal, I'd keep commands out of Working (option 1) rather than pin dev servers there (option 2). |


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
With the Working section beta on, a thread leaves Working as soon as its turn ends if the only thing left running is a background command. The composer still shows "Running: ..." with a Stop button, but the sidebar treats the thread as done.
That's right for a dev server the agent started and walked away from, and it's why #14872 stopped commands from holding completion. But agents also use background commands to wait. With Claude, a background Bash re-invokes the agent when it exits. I had a thread start one to wait out a lockout and then rerun QA. It dropped into my inbox right away, though nothing needed me yet.
The server can't tell those two cases apart. So the question is what the Working section should optimize for:
Here is a live Claude thread that started
sleep 1800in the background and ended its turn, with the Working section beta on:PR #15413 implements option 2 as one change in
isThreadWorking, with before/after screenshots. I'm happy to switch to another option or close it if you'd rather keep the current behavior.All reactions