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-03-21 14:40:00 +01:00
S
Description
No description provided
1.3 GiB
Languages
Scala 83.4%
Python 12%
Bru 2.7%
Jupyter Notebook 0.7%
HTML 0.7%
Other 0.4%