Skip to content

Commit c22deea

Browse files
[25.1] Fix TERMINAL_STATES array has a duplicate state
The array has `skipped` listed twice. This was causing the bug where we would over-count jobs in the progress bar in the invocation view: Fixes #21266
1 parent 095a509 commit c22deea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/api/jobs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type JobMessage =
1717

1818
export const NON_TERMINAL_STATES = ["new", "queued", "running", "waiting", "paused", "resubmitted", "stop"];
1919
export const ERROR_STATES = ["error", "deleted", "deleting"];
20-
export const TERMINAL_STATES = ["ok", "skipped", "stop", "stopping", "skipped"].concat(ERROR_STATES);
20+
export const TERMINAL_STATES = ["ok", "skipped", "stop", "stopping"].concat(ERROR_STATES);
2121

2222
interface JobDef {
2323
tool_id: string;

0 commit comments

Comments
 (0)