Ready means watched: know streams by what they carry, watch them, keep followed games warm #99
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/ready-means-watched"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
OpenSpec change:
ready-means-watched. Milestone 36, "Ready means watched": closes the build step of #91, #94, #95, #96 and #97 (each stays open for its live check).Why
Ole Miss vs. Georgia on 2026-11-07 was Ready all evening and unwatchable: 12 degrading swaps and 3 recoveries in 16 minutes across 10 sites.
What changes
stream_id. Links are the same stream when their URLs, stream ids or clocks (within 20 s) agree. A game remembers the streams it moved away from for the cooldown, and walks hold them back.watch.py). The kept links of played, background and followed live games are polled every 1–3 s and sampled every 45 s. Each is graded Unproven for its first 2 minutes, then Steady or Choppy. A game's grade is its best stream's.background.py). Up toCHANNEL_BACKGROUND_LIMIT(5; 0 is off) followed live Ready games play with nobody watching, so a tune finds them warm. They show plain filler, take each stream's shape, never spend a site read, and the Admin page shows them as Warm.Load
About 25–50 KB/s per watched link (
WATCH_LINKS_LIMIT, 24) and a stream's bitrate per background channel (about 15 Mbit/s at the limit). Both settings are in.env.example.Tests
make test984 passed, 1 skipped;npm --prefix frontend test197 passed;make e2epassed;openspec validate ready-means-watched --strictpasses. Not yet seen against a live game.CI off for now
ci.ymlnow runs only when started by hand (Actions → ci → Run workflow) until the runners' disks are fixed. Its first run here timed out four TestClient teardowns past 120 s on the slow runner; the rerun passed both jobs.publish-image.ymlstill builds, checks and pushes the image on every develop push.🤖 Generated with Claude Code