fix(test): use colon separator in subagent key regression test

This commit is contained in:
EVA
2026-04-06 17:28:11 +07:00
committed by Josh Lehman
parent cb3ab1a40c
commit f18a0e7b3a

View File

@@ -927,7 +927,7 @@ describe("runHeartbeatOnce", () => {
};
const mainSessionKey = resolveMainSessionKey(cfg);
const agentId = resolveAgentIdFromSessionKey(mainSessionKey);
const subagentKey = `agent:${agentId}/subagent:task-abc`;
const subagentKey = `agent:${agentId}:subagent:task-abc`;
if (injectVia === "config" && cfg.agents?.defaults?.heartbeat) {
cfg.agents.defaults.heartbeat.session = subagentKey;