fix(official-bots): derive tournament game color from game endpoint #79

Merged
Janis merged 1 commits from fix/tournament-bot-color-from-game-endpoint into main 2026-06-23 22:58:09 +02:00
Member

Tournament-server reports wrong color in pairings (everyone white), so
auto-joined games could play with an inverted color and never move on
their real turn. The game endpoint white/black ids are correct, so the
poll loop now derives our color from it, falling back to the passed-in
color. Both stream and auto-join entry paths are now immune to the bug.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Tournament-server reports wrong color in pairings (everyone white), so auto-joined games could play with an inverted color and never move on their real turn. The game endpoint white/black ids are correct, so the poll loop now derives our color from it, falling back to the passed-in color. Both stream and auto-join entry paths are now immune to the bug. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Janis added 1 commit 2026-06-23 22:57:55 +02:00
fix(official-bots): derive tournament game color from game endpoint
Build & Test (NowChessSystems) TeamCity build failed
8f8481227a
Tournament-server reports wrong color in pairings (everyone white), so
auto-joined games could play with an inverted color and never move on
their real turn. The game endpoint white/black ids are correct, so the
poll loop now derives our color from it, falling back to the passed-in
color. Both stream and auto-join entry paths are now immune to the bug.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Janis merged commit bfc46723e6 into main 2026-06-23 22:58:09 +02:00
Janis deleted branch fix/tournament-bot-color-from-game-endpoint 2026-06-23 22:58:09 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NowChess/NowChessSystems#79