Collapsible Playing cards, and a tune that starts the clock again #126

Merged
cmoriarty merged 1 commit from feature/collapse-and-resume into develop 2026-11-08 17:37:46 -05:00
Owner

Milestone 41, "Collapse and resume": #124 and #125, together at the owner's word.

#125: a tune that starts the clock again

  • The bug (49ers vs. Raiders, 2026-11-08 22:19Z):
    • While the warm channel held its head start, each burst's over-depth releases pushed the next release further out, and the tune kept that future time.
    • So the 16 s reserve sat idle, and segments reached the player only at the source's bursty pace, about 0.8×.
    • 32 s after the tune that read as stalling, and the channel swapped from edgestream3.pro to hls.lshls.st. The owner saw a skip.
  • Now:
    • Nothing comes due while the channel holds.
    • The clock starts again from the tune: a held segment goes out at once, then one per segment length.
    • The stall check's slack counts from the end of the hold, as the served rate does.
  • Tests: a bursty hold, then a 0.8× source after the tune. Both fail on the old code: "stalling 30 s after the tune".

#124: collapsible Playing cards

  • Collapsed at first: every card starts collapsed, showing its header and one line of the link playing. That line has the site, picture, frames lost, health, grade, and the buffer as seconds in hand against its aim, amber under half. A recovery or a failed check still shows.
  • Opening a card: a press on the game opens the rest.
  • The links table: in an opened card it starts closed, its title carrying the link count, and opens on its own toggle.
  • Tests: the test helpers open the cards; new tests cover the collapsed page and both toggles.

OpenSpec: the change collapse-and-resume, validated with --strict.

Lanes (run locally)

  • make test (frontend built first): 1168 passed, 1 skipped
  • npm --prefix frontend test: 249 passed
  • make e2e: passed

Closes #124, #125

🤖 Generated with Claude Code

Milestone 41, "Collapse and resume": #124 and #125, together at the owner's word. ## #125: a tune that starts the clock again - **The bug** (49ers vs. Raiders, 2026-11-08 22:19Z): - While the warm channel held its head start, each burst's over-depth releases pushed the next release further out, and the tune kept that future time. - So the 16 s reserve sat idle, and segments reached the player only at the source's bursty pace, about 0.8×. - 32 s after the tune that read as stalling, and the channel swapped from edgestream3.pro to hls.lshls.st. The owner saw a skip. - **Now:** - Nothing comes due while the channel holds. - The clock starts again from the tune: a held segment goes out at once, then one per segment length. - The stall check's slack counts from the end of the hold, as the served rate does. - **Tests:** a bursty hold, then a 0.8× source after the tune. Both fail on the old code: "stalling 30 s after the tune". ## #124: collapsible Playing cards - **Collapsed at first:** every card starts collapsed, showing its header and one line of the link playing. That line has the site, picture, frames lost, health, grade, and the buffer as seconds in hand against its aim, amber under half. A recovery or a failed check still shows. - **Opening a card:** a press on the game opens the rest. - **The links table:** in an opened card it starts closed, its title carrying the link count, and opens on its own toggle. - **Tests:** the test helpers open the cards; new tests cover the collapsed page and both toggles. **OpenSpec:** the change `collapse-and-resume`, validated with `--strict`. ## Lanes (run locally) - `make test` (frontend built first): 1168 passed, 1 skipped - `npm --prefix frontend test`: 249 passed - `make e2e`: passed Closes #124, #125 🤖 Generated with [Claude Code](https://claude.com/claude-code)
#124 (the owner's): every Playing card now starts collapsed, its header
and one line of the link playing (site, picture, health, grade and the
buffer as seconds in hand against its aim; a recovery or a failed check
still shows); a press on the game opens the rest, and an opened card's
links table starts closed, its title carrying the link count.

#125: a tune of a warm channel triggered a false "stalling" swap
(49ers vs. Raiders, 2026-11-08 22:19Z). While the channel held, each
burst's over-depth releases pushed the next release further out, and
the tune kept that future time: the 16 s reserve sat idle and segments
reached the player at the source's bursty 0.8x, read as stalling 32 s
later. Nothing comes due while holding now, the clock starts again from
the tune, and the stall check's slack counts from the end of the hold.
Both new tests fail on the old code.

OpenSpec change collapse-and-resume. Lanes: make test 1168 passed (1
skipped), frontend 249 passed, make e2e passed.

Closes #124, #125

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cmoriarty merged commit b7370d016a into develop 2026-11-08 17:37:46 -05: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!126
No description provided.