Don't flash startup sync races as a Sync issue - #6983
Merged
ComputelessComputer merged 4 commits intoAug 21, 2026
Conversation
Treat Turso 404 "managed database not found" as a retryable handshake miss, keep the indicator on Connecting/Syncing until failures persist, and never dump raw sqlx/JSON into the status popover. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
✅ Deploy Preview for anarlog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The 404 handshake miss comes from sqlite-sync / SQLite Cloud. libsql is only on the legacy parser path. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
Delete the unused `legacy/` libsql crates and the Hyprnote v0 importer path that was already compiled out of the shipping desktop app. Live cloud sync remains SQLite Cloud; TinyBase vault import in plugins/db is unchanged. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
Remove the unused "Anarlog will keep retrying" string and record the new settings origin for the reauth copy so desktop_i18n stays in sync. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
ComputelessComputer
marked this pull request as ready for review
August 21, 2026 02:33
cursor Bot
pushed a commit
that referenced
this pull request
Aug 21, 2026
Resolve i18n catalog conflicts from #6983 by compiling from the merged .po files. Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The first cloud handshake can miss with a SQLite Cloud 404 (
managed database not found) and recover on the next try. That was classified as fatal, so the status chip went yellow and the popover dumped the rawsqlxJSON — then flipped to Synced a moment later.That is not a terminal failure. It should not make people think their notes are at risk.
Approach
404/not_foundthe same way we already treat409/already_exists: transient, not fatal. The background loop keeps retrying instead of stopping.sqlx/ JSON never goes in the indicator or Sync settings summary.Real problems still surface: sign-in required, sync stopped, or retries that keep failing.
Cleanup
The unused Hyprnote v0 libsql parser (
legacy/) and its importer path are gone. That code was already compiled out of the shipping desktop app (default-features = false) and was easy to confuse with live SQLite Cloud sync. TinyBase vault import inplugins/dbis unchanged.Validation
cargo test --locked -p cloudsynccargo test --locked -p db-core 'cloudsync::'cargo test --lockedforagent-access,db-app,db-core,db-migrate,tiptapcargo clippy --lockedfor those same crates (-D warnings)pnpm -F desktop test src/main/sync-status.test.tsx src/settings/sync/index.test.tsxpnpm -F desktop typecheckpnpm -F @anlg/plugin-importer typecheckpnpm exec oxlint --quiet --format=github apps/desktop/src/apps/desktop/src/i18n/localesafter the sync-copy change (lingui extract --clean+compile --strict)dprinton the changed filesSkipped locally:
cargo check -p desktop/cargo test -p tauri-plugin-importer export_types(GTK pkg-config missing on this Linux image) andcargo test -p anarlog-cli(OpenSSL pkg-config missing).