Skip to content

Add storage error handling to apps#831

Merged
microbit-matt-hillsdon merged 3 commits into
appsfrom
merge-beta-storage-errors
Mar 31, 2026
Merged

Add storage error handling to apps#831
microbit-matt-hillsdon merged 3 commits into
appsfrom
merge-beta-storage-errors

Conversation

@microbit-matt-hillsdon
Copy link
Copy Markdown

@microbit-matt-hillsdon microbit-matt-hillsdon commented Mar 31, 2026

I've not tried to distinguish the two cases here.

For some reason "connect-or-import" was still on the apps branch. I've removed it here.

You can see the apps branch specific bits in b87aa3a

Write errors (quota exceeded, unexpected failures) show a persistent
toast via store state observed in Layout, keeping the app usable.
Read errors propagate to the React Router error boundary. First error
per session is reported to Sentry; subsequent ones are suppressed.

Includes e2e tests that monkey-patch IDBObjectStore to simulate both
write and read failures.
@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown

@microbit-grace microbit-grace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 50bd5e4 into apps Mar 31, 2026
4 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the merge-beta-storage-errors branch March 31, 2026 12:29
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.

2 participants