A game waiting for its first check takes turns with a live game checked again (#185) #187
Loading…
Reference in a new issue
No description provided.
Delete branch "checks-take-turns"
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?
Fixes #185.
The fault
On 2026-11-17, Tahiti vs. Cook Islands was live and followed, and its sportsurge match page listed no streams. The checker reads one game at a time, and a round takes the live games' checks before the upcoming ones' (
prewarm._plan_round).The fix
prewarm._first_owed, the same kind of turn as #115's.NotListed), as a watchsports game page with none already does.Checks
test_a_game_waiting_for_its_first_check_takes_turns_with_a_live_game_checked_again: a live game whose checks keep failing, and two followed games inside the lead. The rounds read live, live, Malaysia, live, Singapore, live. On main it was live every round.test_a_live_game_checked_again_keeps_the_slot_once_every_game_has_had_a_check: no turn is owed once every game has had its check.test_the_now_table_shows_the_waiting_games_first_check_next.test_the_match_page_listing_no_streams_answers_not_listed, tightened fromResolutionError.make testgave 1,496 passed and 1 skipped, in 33 s at a load average of 2.openspec validate stream-supervision --type spec --strictandopenspec validate stream-resolution --type spec --strictgive the same 24 and 5 long-requirement warnings as on main, and no new ones.🤖 Generated with Claude Code