Stop counting initializing agents as running

This commit is contained in:
Mohamed Boudra
2026-06-04 00:53:38 +07:00
parent f6c0b60b7c
commit b345ef1242
10 changed files with 35 additions and 19 deletions
@@ -50,7 +50,7 @@ describe("deriveAgentStateBucket", () => {
).toBe("attention");
});
it("treats initializing agents as running for workspace buckets", () => {
it("does not count initializing agents as running for workspace buckets", () => {
expect(
deriveAgentStateBucket({
status: "initializing",
@@ -58,7 +58,7 @@ describe("deriveAgentStateBucket", () => {
requiresAttention: false,
attentionReason: null,
}),
).toBe("running");
).toBe("done");
});
});