Claude Code. Any Model. The most powerful AI coding agent now speaks every language.
test(team): pin unknown_run for status and cancel of an evicted run_id
Jack Rudenkof916b753752a
diff --git a/packages/cli/src/team-list-contract.test.ts b/packages/cli/src/team-list-contract.test.tsindex 2713ef13..99dd9351 100644--- a/packages/cli/src/team-list-contract.test.ts+++ b/packages/cli/src/team-list-contract.test.ts@@ -236,6 +236,12 @@ describe.skipIf(!MAGMUX)("team run registry (list / status / cancel / capture)",const slot = Object.values(r.slots)[0] as string;const cap = json(await teamContractVerb("capture", { path, slot }));expect(cap.body.error.code).toBe("unknown_run");+ // CA-13: an evicted run_id never falls back to disk data, even data carrying that id+ for (const mode of ["status", "cancel"] as const) {+ const byId = json(await teamContractVerb(mode, { path, run_id: r.runId }));+ expect(byId.isError).toBe(true);+ expect(byId.body.error.code).toBe("unknown_run");+ }}, 60_000);it(`keeps at most ${MAX_SETTLED_RUNS} settled runs, evicting the oldest first`, async () => {