Skip to content

Commit 7c6e5d4

Browse files
committed
test(server): Antigravity fails a turn despite a successful ACP response
1 parent 7398e4a commit 7c6e5d4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/server/scripts/acp-mock-agent.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,8 @@ const program = Effect.gen(function* () {
972972
);
973973
}),
974974
);
975-
return yield* Effect.never;
975+
// The native ACP parent can report success after its local harness has failed.
976+
return yield* finishPrompt(requestedSessionId, "end_turn");
976977
}
977978
if (
978979
process.env.T3_ACP_CRASH_PROMPT === "1" &&

‎apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const layerSession = Layer.mergeAll(
125125
);
126126

127127
describe("AntigravityAdapterV2 harness recovery", () => {
128-
it.effect("fails a broken harness and resumes the same thread in a fresh process", () =>
128+
it.effect("fails despite end_turn and resumes the saved session in a fresh process", () =>
129129
Effect.gen(function* () {
130130
const childProcessSpawner = yield* ChildProcessSpawner.ChildProcessSpawner;
131131
const fileSystem = yield* FileSystem.FileSystem;

0 commit comments

Comments
 (0)