A bot for https://go.sky.boo that lets you play Go against TypeSafe's Jev.

jetstream: finalize game record on resign

resign() posted a Bluesky farewell and updated local/SQLite state but never touched the on-chain boo.sky.go.game record, so a resigned game stayed status:"active" forever — a restart would replay the same board, find zero valid placements again, and resign a second time. Post a boo.sky.go.action resign record (works from either player role, same pattern as join) and, when we own the game record, putRecord it back with status:"completed" and winner set, via swap_record CAS.


Author Isaac Corbrey Date Commit Parent ad4279d8 Change ID
+97 -11
2 changed files
+97 -11
2 changed files