0.94.1: Ring X's pool signature includes its PPV events
pauljd/davidson-ci: Davidson CI / quality (push) Failing after 2m12s
pauljd/davidson-ci: Davidson CI / ai-review (push) Failing after 1m33s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-11-03 16:17:11 +00:00
co-authored by Claude Opus 5.5
parent 6f3f1e5c19
commit 692bec6929
6 changed files with 20 additions and 5 deletions
@@ -87,4 +87,12 @@ class PpvSundayTest {
@Test fun onlyRingXCarriesFilmsInAnEvent() {
assertEquals(listOf(401), SmartChannels.filter { it.channelFilms.isNotEmpty() }.map { it.number })
}
@Test fun ringXReadsItsEventsAgainWhenTheListChanges() {
// The pool's signature has to include the events, or the box keeps its old pool and never reads them.
assertTrue(ringX.signature.contains("#films:"))
assertTrue(ringX.signature.contains(PpvSunday.first()))
val afterDark = SmartChannels.first { it.number == AFTER_DARK_NUMBER }
assertTrue(afterDark.signature.endsWith("#series:$LAST_DRIVE_IN"))
}
}