Files
MealQuest/internal/suggest
dev_agentandClaude Opus 5.5 d5cd47a775
CI / ci (push) Successful in 2m58s
CI / ci (pull_request) Successful in 2m39s
Retry a job's final status write until it lands
A worker whose final SucceedJob or FailJob write failed logged it and
moved on, leaving the job running. For a suggestion batch whose own end
write had also failed, both rows stayed running, so orphan reconciliation
kept treating the batch as active and it blocked manual and replenish
batches until a restart. The runner now retries the final write with the
claim backoff until it lands; on shutdown a failed attempt is left for
the next Start to fail as interrupted.

Document that orphaned batches are reconciled each time a batch is
started, before the active batch is selected, not at boot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 00:12:52 -04:00
..