Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): settle inactive threads without a PR lookup #10103

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/10103/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 2 changed files with 144 additions and 9 deletions (loading 1).

x
0 of 2 viewed, 2 left
144 additions and 9 deletionsapps/server/src/orchestration/ThreadSettlementReactor.test.tsModified
View file
@@ -305,7 +305,10 @@
snapshot: makeSnapshot(
makeThread("inactive", { branch: "inactive-feature" }),
- makeThread("closed-pr", { linkedPullRequest }),
+ makeThread("closed-pr", {
+ linkedPullRequest,
+ latestUserMessageAt: "2026-08-27T00:00:00.000Z",
+ }),
...skipped,
[makeProject(), makeProject(LINKED_PROJECT_ID, "/workspace/linked")],
@@ -337,7 +340,7 @@
threadId: ThreadId.make("closed-pr"),
snapshotSequence: 1,
- settledAt: "2026-08-20T00:00:00.000Z",
+ settledAt: "2026-08-27T00:00:00.000Z",
threadId: ThreadId.make("inactive"),
@@ -346,9 +349,7 @@
- assert.deepStrictEqual(yield* Ref.get(fixture.branchCalls), [
- { cwd: "/workspace/project", branch: "inactive-feature" },
- ]);