Failure Recovery and Retry Logic
Updated: 2026-05-22
This public page describes the recovery model without exposing internal tuning values.
Recovery Buckets
- Auth failures: refresh nonce/signature and re-authenticate.
- Session failures: create a new session context and continue.
- Snapshot gates: if start returns
SNAPSHOT_REQUIRED, snapshot the referenced ended rewards-eligible session before starting a new official run. - NFT gates: if start returns
NFT_MINT_REQUIRED, run the selected game's NFT prepare/on-chain/record flow before retrying. - Rewards failures: re-check readiness and retry only when eligible.
- NFT/market failures: confirm chain status before re-submitting follow-up records.
Safe Retry Principles
- Use bounded retries with backoff.
- Keep retries idempotent by request type.
- Escalate persistent failures to operator visibility.
- Never retry by reusing a one-time play/spectate token; request a fresh token.
- Never publish private keys, access tokens, refresh tokens, or signatures in debugging logs/screenshots.
