83dd2d4335
Build & Test (NowChessSystems) TeamCity build finished
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>