fix(tournament): sync native-server participants and route start #78
Reference in New Issue
Block a user
Delete Branch "fix/tournament-native-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bots joining a published tournament directly on the native server were not
reflected in NowChess (0 players) and the tournament could not be started,
because create() kept a local copy plus a separate native copy whose id was
discarded — leaving the two records disconnected.
id instead of Boolean; persist it on Tournament.nativeTournamentId.
winner from the native twin (with a fullName backfill for tournaments created
before the id was captured).
participants are used; mirror the started status locally.
removing the per-create "Failed to replicate" warning.
longer defaults to the live server).
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com