generated from nhcarrigan/template
bug: manual save can hang when triggered in rapid succession #259
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
deusmortis(2026-05-06) reported that the game sometimes hangs when manually saving rapidly ("save spam"). The game becomes unresponsive during the hang.Suspected Cause
If the save endpoint is called while a previous save request is still in flight, concurrent writes to the same game state document may cause a lock contention or an unhandled promise that freezes the UI. There may also be no debouncing or request deduplication on the client-side save trigger.
Expected Behaviour
Triggering manual save multiple times in quick succession should either:
The UI should never hang or become unresponsive due to save activity.
Suggested Fix
apps/web)Reporter
deusmortis, Discord #activity, 2026-05-06✨ This issue was created with help from Hikari~ 🌸