Let the next attempt supersede a season's import failure #265

Closed
opened 2026-08-26 11:00:28 +01:00 by naps62-yolo · 0 comments
Owner

A season row shows import failed — size from two days ago while a newer
attempt is in flight, because season_import_failures
(crates/arr-api/src/series.rs:1676) picks the newest failed grab for any
season that still has wanted episodes with no files. It yields only when the
episodes gain files — never to a newer attempt.

The result on production today: season 7 of Rick and Morty reads as a
two-day-old size failure, and nothing anywhere says whether something is
happening now.

While a newer grab for that season exists and has not itself failed, the row
shows the attempt, not the failure. The failure comes back as the headline
only when nothing newer exists.

The failure is not deleted and not dismissible — it is the newest failed grab,
derived, and it stays derived. What changes is which fact outranks the other
when both are true.

Non-goals: an expiry window (a real unresolved failure must not go quiet on
its own, §9.5), and an acknowledge control.

Depends on: #263

A season row shows `import failed — size` from two days ago while a newer attempt is in flight, because `season_import_failures` (`crates/arr-api/src/series.rs:1676`) picks the newest failed grab for any season that still has wanted episodes with no files. It yields only when the episodes gain files — never to a newer attempt. The result on production today: season 7 of Rick and Morty reads as a two-day-old size failure, and nothing anywhere says whether something is happening now. While a newer grab for that season exists and has not itself failed, the row shows the attempt, not the failure. The failure comes back as the headline only when nothing newer exists. The failure is not deleted and not dismissible — it is the newest failed grab, derived, and it stays derived. What changes is which fact outranks the other when both are true. Non-goals: an expiry window (a real unresolved failure must not go quiet on its own, §9.5), and an acknowledge control. Depends on: #263
naps62-yolo added this to the Download visibility milestone 2026-08-26 11:00:28 +01:00
naps62-yolo added the area/apidifficulty/easyphase/5-uitype/bug labels 2026-08-26 11:00:28 +01:00
naps62-yolo added a new dependency 2026-08-26 11:00:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: yolo/arr#265