Files
NowChessSystems/modules/official-bots
Janis Eccarius 83dd2d4335
Build & Test (NowChessSystems) TeamCity build finished
fix(official-bots): prioritize Redis token over stale env var in joinTournament
The env var TOURNAMENT_BOT_TOKEN was checked before Redis, so a stale
token set in the k8s secret always won over the freshly-registered token
stored in Redis at startup. Swap order: request param → Redis → env var.

Also add WARN-level logging when registerWithServer fails (non-2xx or
exception), making the failure visible in the log stream since INFO is
filtered in production.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 22:22:28 +02:00
..
2026-04-29 22:06:01 +02:00
2026-06-22 19:47:25 +00:00
2026-04-29 22:06:01 +02:00
2026-06-22 19:47:25 +00:00