Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(antigravity): swarm runs stay active until workers report #40626

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 11 commits intomain fromrefs/pull/40626/headopened View on GitHub

Showing 17 changed files with 68 additions and 0 deletions (loading 16).

x
0 of 17 viewed, 17 left
68 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/AcpRegistryAdapterV2.test.tsModified
View file
@@ -523,6 +523,74 @@
}).pipe(Effect.provide(layerTest)),
​
+ it.effect("fails an agy swarm turn held by running workers when the process exits", () =>
+ Effect.gen(function* () {
+ const update = (sessionUpdate: Record<string, unknown>) =>
+ claudeFrames.update(CLAUDE_ROOT_SESSION, sessionUpdate);
+ const session = yield* openClaudeReplaySession(
+ [
+ {
+ type: "expect_outbound",
+ frame: { kind: "request", method: "initialize", params: "<any>" },
+ },
+ {
+ type: "emit_inbound",
+ frame: {
+ kind: "response",
+ method: "initialize",
+ result: {
+ protocolVersion: 1,
+ agentInfo: { name: "Antigravity ACP Server", version: "1.5.14" },
+ agentCapabilities: { loadSession: true, _meta: { antigravity: { swarm: true } } },
+ authMethods: [],
+ },
+ },
+ },
+ claudeFrames.open[2],
+ claudeFrames.open[3],
+ claudeFrames.prompt(1)[0],