-
-
Notifications
You must be signed in to change notification settings - Fork 488
ref(store): migrate stores to drift/pref async architecture #1061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c261a76
feat(store): migrate app stores from hive to sqlite
lollipopkit 82684cf
fix(migration): harden hive to sqlite migration
lollipopkit f36874b
fix(review): address migration and store follow-up findings
lollipopkit 10590d8
fix(migration): skip already migrated boxes on retry
lollipopkit b469c6d
fix(ui): resolve compact dialog sqlite db path
lollipopkit 10d237d
fix(store): avoid duplicate entries during fetch re-persist
lollipopkit 0129fec
ref(store): simplify private key fetch parsing and writes
lollipopkit 813e487
fix(store): avoid snippet rewrites in fetch
lollipopkit 67818d3
merge: origin/main into fix/sqlite-migration-safety
lollipopkit 3d7e16b
fix(migration): skip null normalized values
lollipopkit 5bc6976
ref(store): migrate core stores to async drift and pref
lollipopkit 00b98e1
fix(import): await server batch writes
lollipopkit 708e492
fix: address migration and async safety findings
lollipopkit a186fea
fix: harden async flows and stats persistence
lollipopkit ba89423
fix: stabilize snippet async flow and restore container type
lollipopkit 1311da5
fix(store): handle nullable MAX(updated_at) safely
lollipopkit 9060a26
fix(backup): restore servers before snippets in v1 merge
lollipopkit 4896bef
fix: harden backup restore and async store flows
lollipopkit 7088a95
fix: harden backup2 restore and stats query paths
lollipopkit ca745c2
fix(restore): harden backup parsing and stats store safety
lollipopkit 0e3e0be
fix(server): preserve cascade data in migrateIds
lollipopkit 168917c
fix(server): harden id migration and host-key flow
lollipopkit 93c67ae
fix(server): fail fast on missing jump host and safe migrate order
lollipopkit 2dfa714
rm: CLAUDE.md
lollipopkit 1a07950
fix: Hive in docs
lollipopkit fdcdce3
chore: docs
lollipopkit c583c68
merge(main): keep drift connection stats
lollipopkit 00c697d
chore
lollipopkit 3a77f48
Merge branch 'main' of github.com:lollipopkit/flutter_server_box into…
lollipopkit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolve policy/docs mismatch for storage architecture before merging.
These lines document AppDb/SQLCipher + PrefStore as the store standard, but the current repository policy still requires Hive-backed stores under
lib/data/store/. Please either update the canonical policy source in this PR or adjust this doc to clearly mark it as a pending/transition state.Based on learnings: "Applies to lib/data/store/**/*.dart : Persist state using Hive stores placed under lib/data/store/".
Also applies to: 55-55
🤖 Prompt for AI Agents