Yufeng He a9e5b6a853
fix(harness): keep a paused batch paused when retrying one failed item (#6417)
retry_item unconditionally flipped batch.status to queued, and claim_items
only schedules queued or running batches. Retrying one failed item in a
paused batch therefore lifted the pause barrier and let the scheduler
take every unrelated pending item without an explicit resume.

Leave the batch row untouched when it is paused; the retried item is
still reset to pending and waits for resume_batch like its siblings.
Non paused batches keep the existing requeue behavior.

Fixes #6411

Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
2026-10-07 17:24:12 +08:00
..