Skip to content

Commit 0d95f07

Browse files
test(server): preserve typed branch naming completion checks
1 parent bba37c6 commit 0d95f07

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/server/src/orchestration-v2/ThreadLaunchService.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3691,7 +3691,8 @@ it.effect.each(["temporary-head", "user-selected-head"] as const)(
36913691
yield* command(worktreePath, ["checkout", "-b", "user/selected"]);
36923692
}
36933693
yield* send("Implement the settings editor", "valid");
3694-
yield* Fiber.join(yield* Deferred.await(namingStarted));
3694+
const namingExit = yield* Fiber.await(yield* Deferred.await(namingStarted));
3695+
assert.equal(namingExit._tag, "Success");
36953696
const projection = yield* threads.getThreadProjection(launched.threadId);
36963697
assert.lengthOf(delivered, 1);
36973698
assert.include(delivered[0]!, "Implement the settings editor");
@@ -3802,7 +3803,7 @@ it.effect.each(["write-failure", "replayed-receipt"] as const)(
38023803
? Queue.offer(failures, undefined).pipe(
38033804
Effect.andThen(
38043805
failure === "replayed-receipt"
3805-
? Effect.void
3806+
? Effect.succeed({ sequence: 0, storedEvents: [] })
38063807
: Effect.fail(
38073808
new Orchestrator.OrchestratorDispatchError({
38083809
commandId: command.commandId,

0 commit comments

Comments
 (0)