Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Pass the session name into the ACP idle-wake test.

justrach294f138fb104
diff --git a/src/acp_idle.zig b/src/acp_idle.zig
index 374f2429..f99a89ee 100644
--- a/src/acp_idle.zig
+++ b/src/acp_idle.zig
@@ -81,7 +81,7 @@ test "#1136 maybeWake is silent while a root turn is in flight" {
var w: Io.Writer = .fixed(&buf);
var d: engine.Dispatch = .{ .turn = echoTurn, .ctx = undefined, .session_id = "s1" };
peer_idle.noteTurnStart();
- try maybeWake(&d, arena.allocator(), &w, std.testing.io);
+ try maybeWake(&d, arena.allocator(), &w, std.testing.io, "s1");
try std.testing.expectEqual(@as(usize, 0), w.buffered().len);
peer_idle.noteTurnEnd();
}