fix/position-validation-lineup #10

Merged
cal merged 2 commits from fix/position-validation-lineup into main 2026-02-11 04:15:45 +00:00

2 Commits

Author SHA1 Message Date
cal
0168279f6d Update VERSION
All checks were successful
Build Docker Image / build (pull_request) Successful in 2m20s
2026-02-11 04:12:42 +00:00
Cal Corum
1a9efa8f7e fix: add locked_play context manager to prevent stuck play locks
Early returns in log_chaos, log_sac_bunt, and log_stealing left play
locks permanently stuck because the lock was acquired but never released.
The new locked_play async context manager wraps checks_log_interaction()
and guarantees lock release on exception, early return, or normal exit.

Migrated all 18 locking commands in gameplay.py and removed redundant
double-locking in end_game_command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 21:54:44 -06:00