Stop counting initializing agents as running
This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user