refactor(worker): make game mutations atomic - #100
Open
Poooel wants to merge 18 commits into
Open
Conversation
* fix(worker): return structured errors * fix(front): validate game state messages (#102) * feat(common): add game state schema * fix(front): validate game state messages * feat(game): version game state messages (#103) * feat(common): version game state messages * feat(game): use versioned state messages * fix(worker): reject invalid plays (#104) * feat(game): validate plays * fix(worker): reject invalid plays * fix(worker): reject client websocket messages (#105) * feat(game): version state mutations (#106) * feat(game): add state revisions * feat(worker): increment state revisions * fix(front): ignore stale game states * feat(worker): create player identities (#107) * chore(worker): configure player databases * feat(common): add player credentials contract * feat(worker): create player identities * fix(ci): keep d1 migrations out of deploy * feat(front): bootstrap player identity (#108) * feat(front): bootstrap player identity * refactor(front): remove legacy name ids * feat: authenticate player mutations (#109) * feat(worker): authenticate player mutations * feat(front): send player credentials * feat: authenticate websocket sessions (#110) * feat(common): add websocket ticket contract * feat(worker): authenticate websocket sessions * feat(front): connect with websocket tickets * feat: transfer player identities (#111) * feat(common): add player transfer codes * feat(worker): verify transferred identities * feat(front): add identity transfer controls * feat: make game mutations idempotent (#112) * feat(worker): make game mutations idempotent * feat(front): retry game mutations safely * feat: add ranked player profiles (#113) * feat(common): add elo rating model * feat(worker): add ranked player profiles * feat: add ranked matchmaking queue (#114) * feat(common): add matchmaking contracts * feat(worker): add ranked matchmaking queue * fix(worker): parse game settings query parameters * fix(front): restore friendly player names * test: add automated test suite (#116) * chore(test): configure automated test runners * test(common): cover rules and message contracts * test(front): cover player identity lifecycle * test(worker): cover identity and matchmaking APIs * test(e2e): cover game and identity flows * ci(test): run suites before deployment * fix(common): isolate deserialized game state * test(front): cover reconnect and request failures * test(worker): cover security and matchmaking edges * test(e2e): cover reconnect and localization
Deploying knucklebones with
|
| Latest commit: |
b119a5b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1a01813e.knucklebones-8ep.pages.dev |
| Branch Preview URL: | https://atomic-game-state-mutations.knucklebones-8ep.pages.dev |
* feat(protocol): add shared runtime contracts * feat(protocol): enforce versioned transport boundaries
* feat(game): make play commands authoritative * refactor(front): submit column-only play intents
* feat(identity): issue per-device credentials * feat(identity): manage device credentials
* feat(identity): add one-time transfer tokens * feat(front): redeem secure transfer codes
* feat(identity): add recovery credentials * feat(front): add identity recovery flow
* feat(identity): rate limit credential flows * refactor(identity): version browser storage keys
* feat(websocket): track authenticated sessions * feat(front): track room presence events
* feat(game): add disconnect outcomes * feat(worker): adjudicate ranked disconnects * feat(front): show reconnect deadlines
* fix(worker): restrict frontend origins * ci(worker): apply migrations before deploy * test(worker): consume error responses once * docs(worker): clarify migration requirements
* feat(worker): add structured operational events * docs(worker): define operational alerts
* feat(worker): secure ranked room assignments * fix(front): report incompatible protocol versions
* feat(protocol): report sanitized client diagnostics * test(worker): consume validation responses immediately
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GameStateDurableObjectcommands