Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): wait for terminal checkpoints before new messages #10297

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 14 commits intot3code/debt-gzuf-4-runtime-finalization fromt3code/debt-gzuf-5-completionopened View on GitHub

Showing 63 changed files with 3 additions and 119 deletions (loading 62).

x
0 of 63 viewed, 63 left
3 additions and 119 deletionsapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -1,3 +1,4 @@
+import { derivePendingRequests } from "@t3tools/client-runtime/pending-requests";
import { describe, expect, it } from "vite-plus/test";
import { codexFeedbackMessage } from "@t3tools/client-runtime/state/threads";
​
@@ -16,8 +17,6 @@
agentSpawnSummary,
buildPendingUserInputAnswers,
buildThreadFeed,
- derivePendingApprovals,
- derivePendingUserInputs,
deriveThreadFeedPresentation,
isPendingUserInputOptionSelected,
setPendingUserInputCustomAnswer,
@@ -107,7 +106,7 @@
createdAt: "2026-09-03T00:00:00.000Z",
payload: { requestId: "async-1", responseMode: "message", questions: [question] },
});
- const questions = derivePendingUserInputs([requested])[0]?.questions;
+ const questions = derivePendingRequests([requested]).userInputs[0]?.questions;
expect(questions).toEqual([question]);
expect(buildPendingUserInputAnswers(questions!, { "0": { customAnswer: "Example" } })).toEqual({
"0": "Example",
@@ -126,7 +125,7 @@
});
​
- expect(derivePendingUserInputs([requested])).toEqual([