[PR #1571] [MERGED] enh: Store continuation while sync is running to be able to resume after interrupts #1902

Closed
opened 2026-02-25 23:31:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/floccusaddon/floccus/pull/1571
Author: @marcelklehr
Created: 4/1/2024
Status: Merged
Merged: 4/6/2024
Merged by: @marcelklehr

Base: developHead: enh/interrupts


📝 Commits (10+)

  • 60375e0 enh: Store continuation while sync is running to be able to resume after interrupts
  • 36b6400 enh(ci/tests); Use github sha as seed
  • a819d7b chore: Allow fuzzed testing with interrupts on nextcloud-bookmarks
  • 0e63a6c chore: Add debug output
  • 6f6bcea fix: resolve module import deadlock
  • 1f4f1ae fix: sort out some basic bugs
  • dbf9266 fix: null and undefined
  • ff0a637 fix: Split flagPostMoveMapping into server and local flags
  • 473a5a8 fix: Implement proper donePlan logic
  • c065a68 fix: turn on fuzzed interrupt testing

📊 Changes

15 files changed (+471 additions, -122 deletions)

View changed files

📝 .github/workflows/tests.yml (+1 -0)
📝 src/lib/Account.ts (+67 -36)
📝 src/lib/Diff.ts (+30 -1)
📝 src/lib/Tree.ts (+10 -0)
📝 src/lib/browser/BrowserAccount.ts (+2 -2)
📝 src/lib/browser/BrowserAccountStorage.js (+8 -0)
📝 src/lib/browser/BrowserController.js (+0 -16)
📝 src/lib/interfaces/AccountStorage.ts (+3 -0)
📝 src/lib/native/NativeAccountStorage.js (+8 -0)
📝 src/lib/native/NativeController.js (+0 -2)
📝 src/lib/strategies/Default.ts (+238 -48)
📝 src/lib/strategies/Merge.ts (+8 -2)
📝 src/lib/strategies/Unidirectional.ts (+77 -6)
📝 src/test/test.js (+5 -8)
📝 test/selenium-runner.js (+14 -1)

📄 Description

fixes #1548


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/floccusaddon/floccus/pull/1571 **Author:** [@marcelklehr](https://github.com/marcelklehr) **Created:** 4/1/2024 **Status:** ✅ Merged **Merged:** 4/6/2024 **Merged by:** [@marcelklehr](https://github.com/marcelklehr) **Base:** `develop` ← **Head:** `enh/interrupts` --- ### 📝 Commits (10+) - [`60375e0`](https://github.com/floccusaddon/floccus/commit/60375e043ea1844239c090b992b8ba48ba40bf80) enh: Store continuation while sync is running to be able to resume after interrupts - [`36b6400`](https://github.com/floccusaddon/floccus/commit/36b6400d170035488dedb21c0ab445ff5525bdf7) enh(ci/tests); Use github sha as seed - [`a819d7b`](https://github.com/floccusaddon/floccus/commit/a819d7bfb941c48a07947a57b665bf8739bef771) chore: Allow fuzzed testing with interrupts on nextcloud-bookmarks - [`0e63a6c`](https://github.com/floccusaddon/floccus/commit/0e63a6cd76b367ff30a979be975a3f91d7cb079d) chore: Add debug output - [`6f6bcea`](https://github.com/floccusaddon/floccus/commit/6f6bceae9fc9217bcbcbed382b644b5b214d40e9) fix: resolve module import deadlock - [`1f4f1ae`](https://github.com/floccusaddon/floccus/commit/1f4f1ae67d821545dc563856df0f07d057e2a306) fix: sort out some basic bugs - [`dbf9266`](https://github.com/floccusaddon/floccus/commit/dbf9266a7f26086631519833a0ee00bf4f9f9e4f) fix: null and undefined - [`ff0a637`](https://github.com/floccusaddon/floccus/commit/ff0a637ad1b1e882391747fc2ab64ddfa646287f) fix: Split flagPostMoveMapping into server and local flags - [`473a5a8`](https://github.com/floccusaddon/floccus/commit/473a5a88c0f4a6b6cc9cbc3adfa26c48e4d6cadf) fix: Implement proper donePlan logic - [`c065a68`](https://github.com/floccusaddon/floccus/commit/c065a68dd4a693cba3b36dac18169896aa0c2a3e) fix: turn on fuzzed interrupt testing ### 📊 Changes **15 files changed** (+471 additions, -122 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/tests.yml` (+1 -0) 📝 `src/lib/Account.ts` (+67 -36) 📝 `src/lib/Diff.ts` (+30 -1) 📝 `src/lib/Tree.ts` (+10 -0) 📝 `src/lib/browser/BrowserAccount.ts` (+2 -2) 📝 `src/lib/browser/BrowserAccountStorage.js` (+8 -0) 📝 `src/lib/browser/BrowserController.js` (+0 -16) 📝 `src/lib/interfaces/AccountStorage.ts` (+3 -0) 📝 `src/lib/native/NativeAccountStorage.js` (+8 -0) 📝 `src/lib/native/NativeController.js` (+0 -2) 📝 `src/lib/strategies/Default.ts` (+238 -48) 📝 `src/lib/strategies/Merge.ts` (+8 -2) 📝 `src/lib/strategies/Unidirectional.ts` (+77 -6) 📝 `src/test/test.js` (+5 -8) 📝 `test/selenium-runner.js` (+14 -1) </details> ### 📄 Description fixes #1548 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:31:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#1902
No description provided.