Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): checkpoints skip a project folder its parent repo ignores #14892

MergedJonasFocus(GitHub profile, opens in a new tab)merged 5 commits intomain fromrefs/pull/14892/headmerged by juliusmarminge View on GitHub

Showing 4 changed files with 96 additions and 9 deletions (loading 2).

x
0 of 4 viewed, 4 left
78 additions and 0 deletionsapps/server/src/orchestration-v2/CheckpointService.test.tsModified
View file
@@ -8,6 +8,7 @@
ThreadId,
type OrchestrationV2CheckpointScope,
VcsProcessTimeoutError,
+ VcsUnsupportedOperationError,
} from "@t3tools/contracts";
import * as DateTime from "effect/DateTime";
import * as Effect from "effect/Effect";
@@ -103,3 +104,80 @@
}).pipe(Effect.provide(layerTest));
+​
+it.effect(
+ "skips unsupported baseline and turn checkpoints without swallowing capture failures",
+ () =>
+ Effect.gen(function* () {
+ const scope: OrchestrationV2CheckpointScope = {
+ id: CheckpointScopeId.make("checkpoint-scope:capture-failure"),
+ threadId: ThreadId.make("thread:capture-failure"),
+ runId: RunId.make("run:capture-failure:1"),
+ nodeId: NodeId.make("node:capture-failure:1"),
+ parentScopeId: null,
+ providerThreadId: ProviderThreadId.make("provider-thread:capture-failure"),
+ kind: "root_run",
+ ordinalWithinParent: 0,
+ advancesAppRunCount: true,
+ cwd: "/repo/ignored",
+ createdAt: DateTime.makeUnsafe("2026-07-28T00:00:00.000Z"),