From e61290df20be36f73bc791798936ed4baf35358f Mon Sep 17 00:00:00 2001 From: Pauljd Date: Thu, 26 Nov 2026 14:29:54 +0000 Subject: [PATCH] Roadmap: the channel-list refresh starvation loop, and the fix Paul approved in principle Co-Authored-By: Claude Opus 5.5 --- docs/roadmap.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/roadmap.md b/docs/roadmap.md index 36a90bac..20034157 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -528,3 +528,19 @@ step its own approval gate: Each new channel gets its own content audit, branding, idents, dayparts, scheduling simulation and rollback plan. Sports documentaries (about 20) go to Odyssey as a strand. Channel families (Heroes and Heroes Live; Horror, After Dark and Horror TV; Orbit POP with the youth channels) share visual DNA, and sit near each other by number, not in new screens. + +## Channel lists not refreshing (found 26 November 2026; fix after build 80, Paul approved the direction) +Read-only findings: `~/Documents/OrbitTV/audit-20261126-wonder/findings.md`. 22 of 42 lists changed in later builds were +never re-read on the TV (Wonder still booked Chicken Run, moved to PixelZ on 23 November); most others missed their weekly +refresh. A starvation loop: a changed long list needs more than the TV's share of the hourly budget, PartialRead abandons the +whole read after 3 paced titles (at once for a new title), the cache is kept, and the next hour starts over from the top, +using the hour the channels behind it need. Proposed fix, each with tests: +1. Drop titles no longer on the app's list from future selection at once (the list is in the build, so no request); a file + missing because the server is down stays under the failed-file handling and never empties a channel. +2. Read only the added entries, matched by IMDb or provider ID where known. +3. Resumable reads: progress saved to disk with the list's signature, carried on next round and after a restart. +4. Fair scheduling: no channel may take the whole hour; pending work rotates. +5. Diagnostics: each channel's list last refreshed, in Settings. +Proof Paul asked for: a simulation from the real 26 Nov snapshot with all 22 stale channels at once, recording requests per +hour, hours to converge per channel, any channel starved, an interrupted read and a restart, two TVs within the shared +household budget, and existing bookings untouched. Later, separately: one TV sharing a finished read with the other.