Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: "waiting" status for threads with open background tasks (i.e. pr monitors) #4415

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromt3code/sidebar-waiting-stateopened View on GitHub

Showing 8 changed files with 27 additions and 3 deletions (loading 5).

x
0 of 8 viewed, 8 left
2 additions and 0 deletionsapps/mobile/src/features/threads/thread-list-v2-items.tsxModified
View file
@@ -40,6 +40,8 @@
approval: { label: "Approval", className: "text-amber-700 dark:text-amber-300" },
input: { label: "Input", className: "text-indigo-600 dark:text-indigo-300" },
working: { label: "Working", className: "text-sky-600 dark:text-sky-400" },
+ // Colorless like the web sidebar: parked on background work, not "act now".
+ waiting: { label: "Waiting", className: "text-foreground-tertiary" },
failed: { label: "Failed", className: "text-red-700 dark:text-red-300" },
};
​
18 additions and 0 deletionsapps/mobile/src/features/threads/threadListV2.test.tsModified
View file
@@ -63,6 +63,24 @@
"ready",
);
});
+​
+ it("resolves waiting for an idle session parked on background tasks", () => {
+ const thread = makeThread({
+ id: ThreadId.make("t"),
+ title: "t",
+ session: {
+ threadId: ThreadId.make("t"),
+ status: "idle",
+ providerName: "Codex",
+ providerInstanceId: ProviderInstanceId.make("codex"),
+ runtimeMode: "full-access",
+ activeTurnId: null,
+ lastError: null,