Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client-runtime): background commands keep threads in Working #15413

ClosedBeLazy167(GitHub profile, opens in a new tab)wants to merge 6 commits intomain fromrefs/pull/15413/headopened View on GitHub

Showing 3 changed files with 55 additions and 6 deletions.

x
0 of 3 viewed, 3 left
41 additions and 3 deletionsapps/web/src/components/Sidebar.logic.test.tsModified
View file
@@ -2096,8 +2096,22 @@
describe("unseen completion with background work", () => {
it.each([
- { kind: "command", status: "ready", topStatus: "done", receded: false, pill: "Completed" },
- { kind: "monitor", status: "waiting", topStatus: "waiting", receded: true, pill: "Waiting" },
+ {
+ kind: "command",
+ status: "ready",
+ topStatus: "done",
+ receded: false,
+ working: true,
+ pill: "Completed",
+ },
+ {
+ kind: "monitor",
+ status: "waiting",
+ topStatus: "waiting",
+ receded: true,
+ working: true,
+ pill: "Waiting",
+ },
] as const)("presents a completed thread with a $kind roster", (expected) => {
const thread = presentThreadShell(localEnvironmentId, {
...makeThreadFixture().source,
@@ -2122,7 +2136,7 @@
isSelected: false,
).toBe(expected.receded);