Files
NowChessSystems/modules/official-bots
Janis bfb15c7299
Build & Test (NowChessSystems) TeamCity build finished
fix(official-bots): play games by polling state instead of NDJSON stream
In the native image the JAX-RS client buffers streaming responses, so reading
the NDJSON game stream blocks forever — the bot discovered its game ("Playing
game …") but never saw its turn and never moved, with no error. Replace the
game-stream consumer with a poll loop over plain GET game-state calls (which
work natively): when it is our turn, compute and submit. Drop the now-unused
stream consumer, move helper, and game-stream opener. Auto-join no longer
spawns per-tournament event-stream threads; polling handles discovery + play.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 15:09:39 +02:00
..
2026-04-29 22:06:01 +02:00
2026-06-23 12:49:17 +00:00
2026-04-29 22:06:01 +02:00
2026-06-23 12:49:17 +00:00