Hard-failed titles stay queued after they are satisfied #134

Closed
opened 2026-08-23 16:59:23 +01:00 by naps62-yolo · 0 comments
Owner

The needs_decision conditions in crates/arr-daemon/src/attention.rs count
hard-failed grabs without checking whether the title still needs anything. An
episode imported later from a different release, or one whose intent was
withdrawn, keeps its two old hard-fails and stays queued until those grab rows
age out.

#126 mirrored the existing movie query deliberately rather than diverging, so
both lanes have it. The queue therefore reports titles that need no decision,
which is the failure mode §9.5 is built to avoid — an operator who learns the
queue contains stale entries stops reading it.

Gate both lanes on the title still being unsatisfied: the episode wanted and not
available, the movie wanted and not available. Cover a title that hard-failed
twice and was then imported from a third release: it must leave the queue.

The `needs_decision` conditions in `crates/arr-daemon/src/attention.rs` count hard-failed grabs without checking whether the title still needs anything. An episode imported later from a different release, or one whose intent was withdrawn, keeps its two old hard-fails and stays queued until those grab rows age out. #126 mirrored the existing movie query deliberately rather than diverging, so both lanes have it. The queue therefore reports titles that need no decision, which is the failure mode §9.5 is built to avoid — an operator who learns the queue contains stale entries stops reading it. Gate both lanes on the title still being unsatisfied: the episode wanted and not `available`, the movie wanted and not `available`. Cover a title that hard-failed twice and was then imported from a third release: it must leave the queue.
naps62-yolo added this to the TV tracking milestone 2026-08-23 16:59:23 +01:00
naps62-yolo added the difficulty/easyarea/daemonphase/6-tvtype/bug labels 2026-08-23 16:59:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yolo/arr#134