a channel asks again for a just-listed segment, and waits out a burst #132

Merged
cmoriarty merged 1 commit from fix/channel-edge-404 into main 2026-11-09 19:51:59 -05:00
Owner

Followed games kept leaving Ready on the evening of 2026-11-09: each was found on thetvapp.plus, and its background channel failed within 20 to 90 seconds.

Thetvapp's edge answers 404 for about one newest segment in seven and serves it a second later, and its three-segment playlist goes up to 11 s between listings.

  • Retry: a 404 on a listed segment is asked again after 1 s and 2 s more, and counts as an error only if it is still 404.
  • Stall rule: "no new segment" waits two target durations and never under 16 s. A stream of 6 s segments is called frozen after 16 s, not 12.

Lanes run locally: 1223 backend, 249 frontend, e2e. OpenSpec change channel-edge-404.

🤖 Generated with Claude Code

Followed games kept leaving Ready on the evening of 2026-11-09: each was found on thetvapp.plus, and its background channel failed within 20 to 90 seconds. Thetvapp's edge answers 404 for about one newest segment in seven and serves it a second later, and its three-segment playlist goes up to 11 s between listings. - **Retry:** a 404 on a listed segment is asked again after 1 s and 2 s more, and counts as an error only if it is still 404. - **Stall rule:** "no new segment" waits two target durations and never under 16 s. A stream of 6 s segments is called frozen after 16 s, not 12. Lanes run locally: 1223 backend, 249 frontend, e2e. OpenSpec change `channel-edge-404`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
On the evening of 2026-11-09 followed games kept leaving Ready. Each had
been found on thetvapp.plus (on every ladder since #128); its background
channel failed within 20 to 90 seconds on "3 segment errors in a minute"
or "no new segment for 8 s", the link cooled for ten minutes, and the
checks that followed went to hub links that could not be read.

Thetvapp's edge answers 404 for about one newest segment in seven and
serves it a second later, and its three-segment playlist goes up to 11 s
between listings. verify() and recheck() allow for the 404; the channel
did not.

- channel._fetch_listed asks again for a segment answered 404, after 1 s
  and 2 s more, while its stream is the one playing; only a segment
  still 404 counts as an error.
- Health.stall_after: the frozen-listing rule waits two target durations
  and never under 16 s (STALL_FLOOR_SECONDS). The Playing card's late
  line follows it.

Co-Authored-By: Claude <noreply@anthropic.com>
cmoriarty deleted branch fix/channel-edge-404 2026-11-09 19:52:00 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/sports-breaker!132
No description provided.