DinkFair organizer guide
Recover a Pickleball Session Safely
Keep completed rounds immutable and resume an accepted round after interruption.
Direct answer: Persist a versioned session snapshot after every accepted mutation, keep completed rounds immutable, and recover the accepted current round exactly rather than generating a replacement after relaunch.
Save the accepted round
Once an organizer accepts court assignments, store the seed, teams, byes, and receipt before presenting completion controls.
Never rewrite history
Roster additions, removals and court changes apply to future generation. Completed rounds keep their original player identifiers, teams, byes and scores.
Make recovery explicit
After a force-quit, show the same current round. If stored data uses an unsupported schema, preserve it for recovery and report the problem instead of silently discarding it.
Should an app regenerate the current round after a crash?
No. It should restore the exact accepted assignment and seed; regeneration can create a different courtside reality.