Stream reliability: relapse to the standby, a parallel pace check, a second standby, and the reader's misses #67

Merged
cmoriarty merged 2 commits from stream-reliability into develop 2026-10-31 13:42:26 -04:00
Owner

The Stream reliability batch (milestone 32), from Chelsea vs. Man Utd on 2026-10-31.

A link that fails again within 5 min of its last failure on the channel goes straight to a ready standby and cools, rather than being re-read. On Chelsea, iohit.st was re-read four times in two minutes while shd247.world waited.

#63: a slow segment gets a parallel test (parallel-pace-check)

  • The newest segment is timed alone, as before.
  • Only if it is slower than real time are the newest segments downloaded together, as many as a channel downloads at once (three).
  • The link passes when none is refused and they land within four fifths of their play time. A 429 fails it.
  • fetch_concurrency() moves to upstream.py.
  • A second standby. A played game keeps a second standby. It steps up the moment the first is taken, and that wakes the scheduler. Its read comes after the operator's.
  • Dead links go last. A link that answered "no stream found" three times for a game sorts with the sunk hosts in that game's ladder. The counts are kept in the readiness snapshot.
  • The card shows "then ".

#66: what the reader misses (reader-misses)

  • The live look is in docs/stream-sources.md: the embedcenter.st hls_co player (a JSON playlist of PNG-packed TS), and "Sandbox detected" players. Neither is read yet.
  • Fixed:
    • a bot-challenged page counts as a challenge, not as "no stream";
    • the read polls the page's requests from the navigation's commit;
    • data-href links are unescaped.

Checks

  • make test: 823 passed.
  • Frontend: 186 passed.
  • openspec validate --strict: all four changes pass.

🤖 Generated with Claude Code

The Stream reliability batch (milestone 32), from Chelsea vs. Man Utd on 2026-10-31. ## #65: a link that keeps failing gives way to the standby (`relapse-to-standby`) A link that fails again within 5 min of its last failure on the channel goes straight to a ready standby and cools, rather than being re-read. On Chelsea, iohit.st was re-read four times in two minutes while shd247.world waited. ## #63: a slow segment gets a parallel test (`parallel-pace-check`) - The newest segment is timed alone, as before. - Only if it is slower than real time are the newest segments downloaded together, as many as a channel downloads at once (three). - The link passes when none is refused and they land within four fifths of their play time. A 429 fails it. - `fetch_concurrency()` moves to `upstream.py`. ## #64: a second standby, and dead links go last (`standby-bench`) - **A second standby.** A played game keeps a second standby. It steps up the moment the first is taken, and that wakes the scheduler. Its read comes after the operator's. - **Dead links go last.** A link that answered "no stream found" three times for a game sorts with the sunk hosts in that game's ladder. The counts are kept in the readiness snapshot. - **The card** shows "then <host>". ## #66: what the reader misses (`reader-misses`) - **The live look** is in `docs/stream-sources.md`: the embedcenter.st `hls_co` player (a JSON playlist of PNG-packed TS), and "Sandbox detected" players. Neither is read yet. - **Fixed:** - a bot-challenged page counts as a challenge, not as "no stream"; - the read polls the page's requests from the navigation's commit; - `data-href` links are unescaped. ## Checks - `make test`: 823 passed. - Frontend: 186 passed. - `openspec validate --strict`: all four changes pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- #65 relapse-to-standby: a link that fails again within 5 min of its
  last failure on the channel gives way to a ready standby instead of
  being re-read, and cools. On 2026-10-31 iohit.st was re-read four
  times in two minutes while shd247.world waited.
- #63 parallel-pace-check: a segment slower than real time alone is
  downloaded together with the newest ones, as many as a channel
  downloads at once; the link passes when none is refused and they land
  within four fifths of their play time. A fast segment downloads
  nothing more. fetch_concurrency() moves to upstream.py.
- #64 standby-bench: a played game keeps a second standby that steps up
  the moment the first is taken, which wakes the scheduler; its read
  comes after the operator's. A link that answered "no stream found"
  three times for a game sorts with the sunk hosts in that game's
  ladder, the counts kept in the readiness snapshot. The card shows
  "then <host>".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What the reader misses: the live look, and the small fixes
All checks were successful
ci / Unit tests, type check, bundle (pull_request) Successful in 45s
ci / One container, e2e click-to-play inside the image (pull_request) Successful in 1m30s
30d5de530f
#66 reader-misses. A live look at fifteen "no stream found" player pages
on 2026-10-31 found mostly reader misses, recorded in
docs/stream-sources.md:
- the embedcenter.st hls_co player, behind givemestreams, buff-streams,
  resports, s2watch and others: a JSON playlist of PNG images on a
  TikTok CDN with MPEG-TS packed inside (not read yet);
- players that say "Sandbox detected", likely from the headless
  browser's client hints (not changed).

Fixed here:
- a bot-challenged page is logged with its challenge clause and counted
  as a challenge on the card, not as "no stream";
- the read polls the page's requests once the navigation commits, so a
  page whose load never ends is read, not reported unreachable;
- a match page's data-href links are unescaped (&amp;).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cmoriarty merged commit 1938e97adb into develop 2026-10-31 13:42:26 -04:00
Sign in to join this conversation.
No reviewers
No labels
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!67
No description provided.