fix(autopilot): send warm-up and other picks to the rest client (BIT-265) #266

Merged
spark merged 1 commits from task/BIT-265-autopilot-rest-warmup-picks into main 2026-11-15 20:11:28 +00:00
Owner

Summary

  • With «Só as melhores» + two destinations, the rest client (FPA) only received the 2nd frame of gallery-chosen moments.
  • Warm-up / Betclic ads / people-without-ball picks were never auto-delivered because delivery only iterated chosen (warm-up always has chosen: []).
  • Rest now also gets restBeside for each closed window, including warm-up (−1). Same photo never goes to both clients.

Closes #265

Test plan

  • Unit: assignBestRestExports (warm-up → rest, other picks → rest, cut ball skipped)
  • CI: full autopilot.test.ts two-clients case
  • After deploy: next game start should send Betclic / line-up picks to FPA; people without ball beside gallery moments too
## Summary - With «Só as melhores» + two destinations, the rest client (FPA) only received the 2nd frame of gallery-chosen moments. - Warm-up / Betclic ads / people-without-ball picks were never auto-delivered because delivery only iterated `chosen` (warm-up always has `chosen: []`). - Rest now also gets `restBeside` for each closed window, including warm-up (−1). Same photo never goes to both clients. Closes #265 ## Test plan - [x] Unit: `assignBestRestExports` (warm-up → rest, other picks → rest, cut ball skipped) - [ ] CI: full `autopilot.test.ts` two-clients case - [ ] After deploy: next game start should send Betclic / line-up picks to FPA; people without ball beside gallery moments too
spark added 1 commit 2026-11-15 19:58:45 +00:00
fix(autopilot): send warm-up and other picks to the rest client (BIT-265)
ci / rust (pull_request) Successful in 5m27s
ci / typescript (pull_request) Successful in 10m35s
f36eb25f47
With «Só as melhores», FPA (rest) only got the 2nd frame of gallery moments.
Aquecimento, Betclic ads and people-without-ball picks never left the window
because delivery only iterated curated chosen ids. Rest now also gets
restBeside for each closed window, including warm-up (−1).
spark merged commit c774d6b0f1 into main 2026-11-15 20:11:28 +00:00
Sign in to join this conversation.