Improve sync reliability, diagnostics, and progress reporting#2
Closed
imarquart wants to merge 4 commits intoComputelessComputer:mainfrom
Closed
Improve sync reliability, diagnostics, and progress reporting#2imarquart wants to merge 4 commits intoComputelessComputer:mainfrom
imarquart wants to merge 4 commits intoComputelessComputer:mainfrom
Conversation
Closed
ComputelessComputer
added a commit
that referenced
this pull request
Apr 2, 2026
Port and refine @imarquart's PR #2 on top of current main. Add binary HTML retry handling, keep startup sync silent, and preserve render-version based cache invalidation during local markdown reuse.
ComputelessComputer
added a commit
that referenced
this pull request
Apr 2, 2026
Add a README acknowledgement for the sync reliability and diagnostics work adapted from PR #2. Co-authored-by: imarquart <102803372+imarquart@users.noreply.github.com>
Owner
|
thx! |
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.
Summary
429,500,502,503, and transient HTML error pages) with retries instead of silently dropping items.sync-log.mdremarkable_idandlast_modifiedfrontmatter so unchanged documents do not need to be re-downloadedresponse.txt,response2.txt)Context
Thanks for publishing Slate.
I ran into an issue where new documents on reMarkable (in my case under
0 - Inbox) were not appearing in Obsidian, while Slate reported that everything was up to date. After digging into it, the main failure mode seemed to be that listing/metadata fetch failures were swallowed silently, so affected documents simply disappeared from the sync pass with no user-visible diagnostics.This PR tries to stay close to the existing structure while making sync behavior more robust and much easier to understand when something goes wrong.
What this fixes
429,500,502,503, or transient HTML error responses from the reMarkable backendalready syncingImplementation notes
src/RemarkableClient.ts429,500,502, and503src/SyncEngine.tslistItems()walk with incremental listing logic that can reuse cached metadatasyncStatewithvisibleName,parent, andtypeso unchanged items can be reconstructed without re-fetching metadata every time.sync-log.mdinto the sync foldersrc/SettingsTab.tsmain.ts+src/SyncProgressModal.tssrc/SyncLogger.tsValidation
npx pnpm build0 - Inboxcollection was detected during re-indexNotes
Edit: Full disclosure, this was implemented with guided use of OpenCode (mix of Opus and Codex 5.4) (!)