Skip to content

Improve API payloads and graceful shutdown handling#3

Merged
Sukikui merged 5 commits into
mainfrom
feature/improve-api
Jun 19, 2026
Merged

Improve API payloads and graceful shutdown handling#3
Sukikui merged 5 commits into
mainfrom
feature/improve-api

Conversation

@Sukikui

@Sukikui Sukikui commented Jun 19, 2026

Copy link
Copy Markdown
Owner
  • Remove the redundant appId field from all app event payloads
  • Simplify /expired payloads to only include requestId and code
  • Remove the redundant expiredAt field from request lifecycle data
  • Report unfinished requests before a graceful server shutdown
  • Preserve completed validations while expiring requests still waiting for a player
  • Send shutdown reports concurrently with a five-second timeout
  • Log shutdown progress, delivery counts, duration, and individual failures
  • Clear the in-memory request store after shutdown processing
  • Update the README and app integration documentation
  • Add tests for shutdown request preparation

@Sukikui Sukikui merged commit 5330bc5 into main Jun 19, 2026
@Sukikui Sukikui deleted the feature/improve-api branch June 19, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant