Skip to content

Sync polish round 1: data-loss races, merge correctness, responsiveness - #20

Merged
callumalpass merged 18 commits into
mainfrom
integration/polish-1
Oct 1, 2026
Merged

callumalpass merged 18 commits into
mainfrom
integration/polish-1

Conversation

@callumalpass

Copy link
Copy Markdown
Collaborator

Integrates the first round of the sync polish campaign. Each fix comes with a regression test that failed before it; reports and evidence are on each agent branch.

  • Rebuild main.js for integration round 1
  • Keep conflict copies idempotent and refuse raced copy overwrites
  • Migrate the latest mirror checkpoint after browser approval
  • Give sync recovery one honest status and next action
  • Reject binary downloads whose destination changed while streaming
  • Coalesce transfer pane redraws without delaying sync outcomes
  • Bound quadratic merge work so large notes cannot freeze Obsidian
  • Validate CRLF frontmatter with its terminating newline
  • Discard late renewals of retired connections and preserve current sync scope
  • Reuse preview consent checks while transfer progress changes
  • Honor Stop sync before starting transfers after inspection
  • Preserve frontmatter whitespace and moves instead of silently dropping edits
  • Respect offline retry backoff instead of preempting it with probes
  • Index receipt actions once to avoid quadratic sync history work

Validation: npm test (278 pass, plus 10 lossless round trips), npm run lint, and npm run check:mobile.

@callumalpass
callumalpass merged commit 7ed93ee into main Oct 1, 2026
1 check passed
@callumalpass callumalpass mentioned this pull request Oct 1, 2026
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