Track latest unverified queue state

This commit is contained in:
阿白叔 committed 2026-10-14 13:31:52 +08:00
1 parent 235a1005e9
commit f3d0d7a93d
2 files changed
+19 -1

No files matched your search

@@ -570,7 +570,8 @@ class QuickRunPreparer:
try:
commands = _read_commands(root / "command.tsv")
statuses = _read_status_details(root / "status.tsv")
if any(state == BATCH_SAVED_UNVERIFIED_STATE for _, state, _, _ in statuses):
latest_states = {job_id: state for job_id, state, _, _ in statuses}
if any(state == BATCH_SAVED_UNVERIFIED_STATE for state in latest_states.values()):
return True
current = _next_unfinished_command(commands, statuses)
if current is None: