A hub-only game about to start stays listed through a gap in its row (#191) #193
Loading…
Reference in a new issue
No description provided.
Delete branch "hub-row-gap"
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 #191.
The fault
On 2026-11-17, two followed friendlies listed only by the hub, Ecuador vs. Bolivia and Uruguay vs. Dominican Republic, left the list at 23:21:49 for a 23:30 kickoff. They came back LIVE at 23:52:07, while ESPN showed both being played.
The fix
games.py:_near_kickoff,_kept_through_kickoff).KICKOFF_HOLD_BEFORE). It also applies when the row reads finished without saying the game is over, for example a time that has passed with no LIVE badge yet.KICKOFF_HOLD_AFTER). So a game called off with no word is gone by then.resolver/hub.py:say_changes).hub: /: Ecuador vs. Bolivia (70324) left the page, was upcoming 23:30Z.Checks
test_a_game_whose_row_leaves_just_before_kickoff_stays_listed_until_it_comes_back_live: the 2026-11-17 timeline. The row leaves 9 minutes before kickoff and comes back LIVE 22 minutes after it. The game stays upcoming, then live, and is then held as a game seen live.test_a_game_whose_row_never_comes_back_leaves_45_minutes_after_its_start. It also checks that a row leaving 39 minutes ahead is not held.test_a_row_past_its_start_with_no_live_badge_stays_and_a_called_off_label_ends_it.test_a_sections_read_logs_the_rows_that_appeared_left_or_changed: appeared, left, upcoming to LIVE, no line for a live minute, and the cap of 12.make testgave 1,502 passed and 1 skipped, in 34 s at a load average of 2.openspec validate live-game-list --type spec --strictgives the same 3 long-requirement warnings as on main, and no new ones.🤖 Generated with Claude Code