Skip to content

fix(kit): retry transient SQLite open locks - #103

Merged
rdlabo merged 2 commits into
mainfrom
fix/foodlabel-app-cd
Sep 3, 2026
Merged

fix(kit): retry transient SQLite open locks#103
rdlabo merged 2 commits into
mainfrom
fix/foodlabel-app-cd

Conversation

@rdlabo

@rdlabo rdlabo commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • retry Community SQLite database open when the native plugin reports a transient SQLITE_BUSY or SQLITE_LOCKED error
  • bound retries to 50 ms, 150 ms, and 300 ms delays while preserving immediate failure for non-transient errors
  • add a regression test using the production Sentry error from PRAGMA journal_mode

Verification

  • npm test (all 5 project groups passed: 1,138 tests)
  • npm run lint (including SQLite lint and tests)
  • npm run prebuild:kit

Fixes FOODLABEL-APP-CD

@rdlabo
rdlabo merged commit 1598572 into main Sep 3, 2026
14 checks passed
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