Skip to content

fix(frontend): don't abort launch when markPlayed() fails#216

Merged
privaloops merged 1 commit intomainfrom
fix/markplayed-non-blocking
Apr 26, 2026
Merged

fix(frontend): don't abort launch when markPlayed() fails#216
privaloops merged 1 commit intomainfrom
fix/markplayed-non-blocking

Conversation

@privaloops
Copy link
Copy Markdown
Owner

Awaiting the stats write meant a transient IndexedDB error (quota,
profile corruption, kiosk-mode restrictions) surfaced as
"Could not launch: markPlayed() failed" even when the emulator was
already loaded and ready. Drop the await, log the failure, and let the
game start. Worst case we miss a playCount increment.

Awaiting the stats write meant a transient IndexedDB error (quota,
profile corruption, kiosk-mode restrictions) surfaced as
"Could not launch: markPlayed() failed" even when the emulator was
already loaded and ready. Drop the await, log the failure, and let the
game start. Worst case we miss a playCount increment.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sprixe-frontend Ready Ready Preview, Comment Apr 26, 2026 5:43pm

@privaloops privaloops merged commit ed7659c into main Apr 26, 2026
2 of 3 checks passed
@privaloops privaloops deleted the fix/markplayed-non-blocking branch April 26, 2026 17:42
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