From 4c86108dcb58a79aeba8dc0dc80d8b00a3635b8e Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 22 Nov 2026 18:56:13 +0200 Subject: [PATCH] Docs: Import / Export index, List sync and recovery: what each feature is, how to use it, how its numbers are calculated, how it works, and its commits. External-Tools.md, Format-Coverage.md, Sync.md, Import-Run-Recovery.md and Scrum-Import-Recovery.md follow the one structure; the pinned sections of the index and the coverage contract stay as they are. Fixed where the code disagreed: the import path is All Boards / Add Board / Import / Import board; Planka, Microsoft To Do, KanbanFlow, Basecamp, Google Tasks and Google Keep are imported through their API now, not unsupported; the reasons for the unsupported tools are in TODO.md. Thanks to xet7 ! --- .../Import-Export/External-Tools.md | 113 +++++++++---- .../Import-Export/Format-Coverage.md | 48 ++++++ .../Import-Export/Import-Run-Recovery.md | 154 ++++++++++------- .../Import-Export/Scrum-Import-Recovery.md | 46 +++++- .../Board-Settings/Import-Export/Sync.md | 156 ++++++++++++++---- 5 files changed, 390 insertions(+), 127 deletions(-) diff --git a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/External-Tools.md b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/External-Tools.md index 355e394199..000134f7fe 100644 --- a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/External-Tools.md +++ b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/External-Tools.md @@ -1,10 +1,28 @@ # Import / Export with other tools -WeKan imports boards from 78 sources and exports boards to some sixty formats -and tools. You use them from the existing menus: +## What it is -- **Import**: **All Boards → New → Import**, then pick the tool. The import - page says where in that tool to get the file. Choose the file, or paste its +WeKan imports boards from some eighty sources and exports boards to some sixty formats +and tools. This page lists every tool and file WeKan reads and writes, with +a page of its own for each. + +## Read more + +- [Wikipedia: Data portability](https://en.wikipedia.org/wiki/Data_portability) +- [Wikipedia: Kanban board](https://en.wikipedia.org/wiki/Kanban_board) +- [Format coverage: every field of every format](./Format-Coverage.md) +- [Rules import and export, Wrike workflows](../../../Rules/Rules/Rules.md#import--export) +- [Kanboard](./Kanboard/Kanboard.md), [Jira](./Jira/Jira.md), + [Trello](./Trello/trello/Migrating-from-Trello.md), [CSV/TSV](./CSV/CSV.md), + [Excel](./Excel/Excel-and-VBA.md) +- [Migrate all boards from another WeKan](./Sync.md) + +## How to use it + +You use them from the existing menus: + +- **Import**: **All Boards → Add Board → Import → Import board**, then pick + the tool. The import page says where in that tool to get the file. Choose the file, or paste its text where the format is text. - **Export**: **Board Settings → Export**. Choose the scope and the fields to include, then the format. @@ -23,7 +41,6 @@ and tools. You use them from the existing menus: grain backups WeKan reads and writes (see [Sandstorm](./Sandstorm/Sandstorm.md)). - **Rules and workflows**: **Board Settings → Rules → Import / Export rules** (see [Rules](../../../Rules/Rules/Rules.md#import--export)). - Every import follows the tool's documented or source-verified file format. After an import, a **loss report** lists what WeKan has no place for. It is shown on the import page and in **Admin Panel → Problems → Recovery**. Most @@ -32,7 +49,7 @@ WeKan. The [format coverage table](./Format-Coverage.md) is the contract for every field of every format: what maps where, what is reported, and the sources of the format. -## Project and task tools +### Project and task tools | Tool | Import (the file you give WeKan) | Export (the file WeKan writes) | | --- | --- | --- | @@ -79,7 +96,7 @@ sources of the format. | [Google Tasks](./Google-Tasks/Google-Tasks.md) | Fetched from its API with your access token | — | | [Google Keep](./Google-Keep/Google-Keep.md) | Fetched from its API with your access token (Google Workspace) | — | -## Issue trackers and source code hosting +### Issue trackers and source code hosting | Tool | Import | Export | | --- | --- | --- | @@ -91,7 +108,7 @@ sources of the format. GitHub, GitLab, Gitea and Forgejo import their issues JSON only through their own API, so the exported file is for a script that calls it. -## Plain text, outlines and personal task files +### Plain text, outlines and personal task files | Format | Import | Export | | --- | --- | --- | @@ -102,7 +119,7 @@ own API, so the exported file is for a script that calls it. | [OPML](./OPML/OPML.md) | Outline from Workflowy, Dynalist, OmniOutliner, Logseq and others | OPML (`.opml`) | | [Leo](./Leo/Leo.md) | Leo outline (`.leo`) | Leo outline | -## Mail, calendars, chats and notes +### Mail, calendars, chats and notes Mail shows in Board View → Email, chats in Board View → Chat (a channel is a card, its messages the comments), and dated items in Calendar and Gantt. @@ -122,7 +139,7 @@ card, its messages the comments), and dated items in Calendar and Gantt. | [Microsoft Teams](./Microsoft-Teams/Microsoft-Teams.md) | Fetched from Microsoft Graph, the personal export `.tar`, or Graph chat messages `.json` | Teams chats as Graph chat messages `.json` | | [Evernote (.enex)](./Evernote/Evernote.md) | Notes export `.enex` | Evernote (.enex) | -## Website +### Website | Tool | Import | Export | | --- | --- | --- | @@ -134,7 +151,7 @@ card, its messages the comments), and dated items in Calendar and Gantt. | [HTML website, Medium (.zip)](./Website/Website.md) | The site's `.html` files `.zip`, or Medium's export | HTML website (.zip) | | [Substack (.zip)](./Website/Website.md) | Settings → Exports `.zip` | — | -## Sandstorm +### Sandstorm [Sandstorm](https://sandstorm.org) apps' grain backups: under the heading **Sandstorm** on both the import page and the export menu. Rocket.Chat, Text @@ -156,7 +173,7 @@ and are not read. | [Sandstorm Gogs](./Sandstorm/Sandstorm.md) | The grain backup `.zip` (Download backup) | — (import only) | | [Sandstorm WordPress](./Sandstorm/Sandstorm.md) | The grain backup `.zip` (Download backup) | — (import only) | -## WeKan's own formats and documents +### WeKan's own formats and documents | Format | Import | Export | | --- | --- | --- | @@ -167,7 +184,7 @@ and are not read. | [Dependencies](./Dependencies/Dependencies.md) | — | Dependency graph as JSON or SVG | | [Rules](./Rules/Rules.md) | WeKan rules JSON or CSV, Trello Butler text, n8n and Node-RED workflows, Wrike workflows | WeKan rules JSON or CSV, Wrike workflow | -## People in the file +### People in the file Every import asks once, under **People in the file**, what the people named in the file become (`models/lib/importMembersMode.js`): @@ -183,14 +200,14 @@ the file become (`models/lib/importMembersMode.js`): **Import many boards** offers placeholders or you, since one person at a time cannot be chosen across many files. -## Attachments +### Attachments Attachments in an imported `.zip` are streamed into the attachment storage one at a time, never held whole in memory, and held to the upload limit set in **Admin Panel → Attachments → Limits**, if one is set (`server/lib/importAttachmentStream.js`). -## Large files +### Large files A file chosen on the Import page for any tool of the generalized importer is sent to the server a part at a time (`POST /api/import/upload/:source`, @@ -220,7 +237,7 @@ never held whole in the browser or in the server's memory on the way: `tests/importUpload.test.cjs` covers the limit, the full disk before and during the upload, an interrupted upload and how each source reads its file. -## Many boards at once +### Many boards at once - **Import many boards**: on the import page of any tool, choose several of its export files, or one `.zip` that holds them, under **Import many @@ -241,18 +258,19 @@ the upload, an interrupted upload and how each source reads its file. - From a script: `python3 api.py importboardsfrom SOURCE [--split] FILES...` and `python3 api.py exportallboards FORMAT OUTPUT [--boards ID1,ID2]`. -## Not supported yet +### Not supported yet These tools have no export file to read: only an API, which needs live -credentials to build and verify against. They are Planka, Microsoft To Do, -KanbanFlow, Basecamp and Taskcafe. Restyaboard's CSV export is a closed paid +credentials to build and verify against. Planka, Microsoft To Do, KanbanFlow, +Basecamp, Google Tasks and Google Keep are imported now by reading their API +(**Fetched from a service** on the import page); Taskcafe is not. Restyaboard's CSV export is a closed paid app with undocumented columns. YouTrack, Airtable and Leantime write CSV headers that are undocumented or in the user's language. Things 3 exports only its SQLite database. Wrike's automation rules have no export, import or API. -The **TODO Later** section of [CHANGELOG-big.md](../../../../../CHANGELOG-big.md) keeps the -reason for each. +[TODO.md](../../../../../TODO.md) keeps the reason for each (it was the TODO +Later section of the changelog). -## REST API and `api.py` +### REST API and `api.py` Both directions are scriptable, so all boards can be migrated in bulk: @@ -275,11 +293,48 @@ python3 api.py exportallboards excel all-boards.xlsx # → GET /api/export-all-boards/excel?authToken=:token[&boardIds=ID1,ID2] ``` -## Related +## How the numbers are calculated -- [Format coverage: every field of every format](./Format-Coverage.md) -- [Rules import and export, Wrike workflows](../../../Rules/Rules/Rules.md#import--export) -- [Kanboard](./Kanboard/Kanboard.md), [Jira](./Jira/Jira.md), - [Trello](./Trello/trello/Migrating-from-Trello.md), [CSV/TSV](./CSV/CSV.md), - [Excel](./Excel/Excel-and-VBA.md) -- [Migrate all boards from another WeKan](./Sync.md) +- **Import sources**: the entries of `IMPORT_SOURCES` in + [models/lib/importSources.js](../../../../../models/lib/importSources.js), + 85 today, WeKan's own included; some are several products of one tool, such + as the Sandstorm grain apps and the website platforms. +- **Export formats**: the entries of `EXPORT_FORMAT_GROUPS` in + [client/components/boards/exportScope.js](../../../../../client/components/boards/exportScope.js), + some sixty. +- The size limits of large files and of many boards at once are given above + and on each format's page. + +## How it works in WeKan + +The import page reads its sources from one list, +[models/lib/importSources.js](../../../../../models/lib/importSources.js), and +the export menu its formats from +[client/components/boards/exportScope.js](../../../../../client/components/boards/exportScope.js); +both group them by [models/lib/toolGroups.js](../../../../../models/lib/toolGroups.js). +[tests/importExportDocsCoverage.test.cjs](../../../../../tests/importExportDocsCoverage.test.cjs) +checks that every source and format is named on this page and has its own +page, so the page cannot go stale again. + +## Commits + + - [Docs: Import / Export formats Super-Productivity to monday-com: what each feature is, how to use it, how its numbers ](https://github.com/wekan/wekan/commit/f4264cf7a9de67e84b1b38ad9ee5c3f0ccea4598) + - [Website: import and export WordPress, Ghost, Blogger, static and HTML sites, and the board as a website at a public ](https://github.com/wekan/wekan/commit/2e8549032ea4b44e90a96eb53a4e1941f53a5261) + - [Import and export Sandstorm grain backups](https://github.com/wekan/wekan/commit/6f3f6cc5a83df1b91a40d6afae261a74cf5b6507) + - [Import and export Azure DevOps Boards, Microsoft Lists, Project, Outlook, Teams and OneNote](https://github.com/wekan/wekan/commit/01e88410cd7440b26c5f845d98ae058f93c16a85) + - [Import and Export: a company's products under the company's name](https://github.com/wekan/wekan/commit/fa28e3fba81f3f5eafc8cb7044133cc330e12b80) + - [Import and export Rocket.Chat and Fizzy](https://github.com/wekan/wekan/commit/dffbafd30fd16978dbae49a4e0d576bb1ff017ec) + - [Telegram and Discord imports bring their message files: a zipped export folder's photos and files are attachments](https://github.com/wekan/wekan/commit/828ca63713b0a034c9e1c436341cd60435c01443) + - [Trello .zip export: the Trello board JSON with the cards' attachment files, imported back with them](https://github.com/wekan/wekan/commit/e8330fb090c885c9d8ea015ed896c34a9b6cf251) + - [Import page uploads stream to the server's disk, checked against the free space and an Admin Panel limit](https://github.com/wekan/wekan/commit/32c24ed84e9d6c8080e89bdd4097f87a3b0b4b04) + - [Board View menu and the Import and Export lists are grouped under headings](https://github.com/wekan/wekan/commit/257835733b0ec5d950fac6feb2e13c589219bb9d) + - [Import and export mail, calendars, chats and notes: mbox/.eml, iCalendar, Google Takeout, Slack, Mattermost, Telegram ](https://github.com/wekan/wekan/commit/ccfa6cf362e9b1eb812804d38e4d85653c5b0b0a) + - [Import: Planka, Microsoft To Do, KanbanFlow, Basecamp, Google Tasks and Google Keep from their APIs](https://github.com/wekan/wekan/commit/46e30f01e48f2676a47c0052007f5c4ea951a923) + - [Export boards to Trello, keep swimlanes as labels, and reach Trello from Sandstorm](https://github.com/wekan/wekan/commit/88d00e02f1251716e345b7bbd32185417b08842d) + - [Read every import source through one path and one file chooser, from one description of the sources](https://github.com/wekan/wekan/commit/c80a656901103bfd29b41843c7e255b4ed3bfa17) + - [Choose who an import's people become, for every import, and stream imported attachments](https://github.com/wekan/wekan/commit/73db241bd4628070ea95f10a83ace8d4c7cd2497) + - [Import and export many boards at once for every format, and document each format in its own directory](https://github.com/wekan/wekan/commit/7858d84e127c2c6cd92134166352b9a4245d4ec2) + - [Document every import and export format WeKan supports](https://github.com/wekan/wekan/commit/2ea4d09678df52b9a7d06f7064ff3ad6b3a8024b) + - [Add shared HTML4 import source picker](https://github.com/wekan/wekan/commit/ca008534fae653d57617bd1513609401ec93fbd5) + - [Design complete restart-safe import and export](https://github.com/wekan/wekan/commit/5154939a412c2e344392a07d339ced0d7132be16) + - [More Import Export and Rules features](https://github.com/wekan/wekan/commit/f0bce67a3bf301c21ded3eb97e84a3be0010290f) diff --git a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Format-Coverage.md b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Format-Coverage.md index b529ce6925..bd6d77aaa7 100644 --- a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Format-Coverage.md +++ b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Format-Coverage.md @@ -1,5 +1,7 @@ # Design: complete, current and restart-safe import/export +## What it is + Status: **Implementation in progress** · Last specification audit: 2026-09-05 This document is the contract for every format shown in WeKan's Import or Export @@ -12,6 +14,42 @@ Long operations follow the [durable operations](../../../Admin-Panel/Problems/Du contract: persisted checkpoints, idempotent units, expiring leases, restart reclaim, bounded external requests and rate-limit-aware retries. +## Read more + +- [Wikipedia: Data portability](https://en.wikipedia.org/wiki/Data_portability) +- [Wikipedia: Round-trip format conversion](https://en.wikipedia.org/wiki/Round-trip_format_conversion) +- [Import / Export with other tools](External-Tools.md) +- [Durable operations](../../../Admin-Panel/Problems/Durable-Operations.md) + +## How to use it + +1. Find the format under **Formats** below and open its page: the steps to + import and export it, many boards at once, its REST API, its limits and + what is and is not kept. +2. The sections after Formats are the shared contract every format follows: + the canonical WeKan format, loss accounting, compatibility, the one + validation boundary and the verification matrix. + +## How the numbers are calculated + +See the pages above: each format's page gives its own limits and the limits +every import shares (the import deadline, many files at once, one board per +project, the loss report and the validation boundary). + +## How it works in WeKan + +The import sources are one list, +[models/lib/importSources.js](../../../../../models/lib/importSources.js); the +export formats one table in +[client/components/boards/exportScope.js](../../../../../client/components/boards/exportScope.js). +Every document passes +[models/lib/importExportBoundary.js](../../../../../models/lib/importExportBoundary.js), +and what an import could not keep is summed up by +[models/lib/importLossReport.js](../../../../../models/lib/importLossReport.js). +[tests/importExportDocsCoverage.test.cjs](../../../../../tests/importExportDocsCoverage.test.cjs) +checks that this index links every format's page and that each page has the +shared structure. + ## Canonical WeKan format `wekan-board-1.0.0` JSON is the lossless canonical board format. Its ZIP form @@ -234,3 +272,13 @@ malformed types, duplicate source IDs, reordered arrays, pagination, restart at every checkpoint and export→import round trips. A field-inventory test fails when a new canonical WeKan field is exported but not imported, or when documentation claims a mapping absent from code. + +## Commits + + - [A failed import or export disables an account only when it was an attempt](https://github.com/wekan/wekan/commit/567f99227b2a05dc1b49374fbc2995bbda456ecc) + - [Large Jira exports import, and an existing board can be saved as a board template](https://github.com/wekan/wekan/commit/14a43da557985bb85e8a73134eda6b243e8521c7) + - [Import and export many boards at once for every format, and document each format in its own directory](https://github.com/wekan/wekan/commit/7858d84e127c2c6cd92134166352b9a4245d4ec2) + - [Document every import and export format WeKan supports](https://github.com/wekan/wekan/commit/2ea4d09678df52b9a7d06f7064ff3ad6b3a8024b) + - [Record what an external import could not bring over in Problems -> Recovery](https://github.com/wekan/wekan/commit/50a24abce096dadffafc768ffda0004d53126b80) + - [Add Markdown import/export and give GitHub-style import loss reporting](https://github.com/wekan/wekan/commit/237b4f3f883b9e0bcf3a05a82eb7325cb9c00439) + - [Secure and resume import export operations](https://github.com/wekan/wekan/commit/71ad5447aa38b43531cb3066de0a52f82b55769f) diff --git a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Import-Run-Recovery.md b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Import-Run-Recovery.md index 4bda0b603a..d195944ab5 100644 --- a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Import-Run-Recovery.md +++ b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Import-Run-Recovery.md @@ -1,5 +1,7 @@ # Recover an interrupted board import +## What it is + A board import writes its board step by step: the board, swimlanes, lists, cards, checklists, comments, attachments, rules, Scrum data. A server restart or a failure in the middle used to leave a partial board that nothing recorded. @@ -8,67 +10,16 @@ Trello API import - runs under an **import run**, and one that stops before it finishes is listed in **Admin Panel → Problems → Recovery**, where an administrator **keeps** the partial board or **discards** it. -Code: `server/lib/importRuns.js` (Meteor-free core), `server/importRuns.js` -(collection, scan, methods), `models/lib/importPipeline.js` -(`plannedBoardFields`), `models/import.js`. Tests: `tests/importRuns.test.cjs`, -`tests/playwright/specs/import-run-recovery.e2e.js`. +## Read more -## The run record +- [Wikipedia: Application checkpointing](https://en.wikipedia.org/wiki/Application_checkpointing) +- [Wikipedia: Heartbeat (computing)](https://en.wikipedia.org/wiki/Heartbeat_(computing)) +- [Recover an interrupted Scrum import](Scrum-Import-Recovery.md) +- [Durable operations](../../../Admin-Panel/Problems/Durable-Operations.md) -Before the import writes anything, a document is inserted into the private -`importRuns` collection: +## How to use it -| Field | Meaning | -| --- | --- | -| `_id` | the run id (UUID) | -| `userId`, `source` | who imported, and from what (`wekan`, `trello`, `csv`, `jira`, `clone`, `trello-zip`, …) | -| `boardId` | the id the new board **will** have, chosen now | -| `state` | `running`, `finished`, `failed`, `failed-empty`, `interrupted`, `discarding`, `discarded`, `kept` | -| `startedAt`, `touchedAt`, `stage` | start, last heartbeat, and the creator step it was in | -| `finishedAt`, `errorCode` | when it ended; for a failure only the error's code, never its message | -| `interruptedAt`, `interruptedFrom` | when the scan flagged it, and whether it had stopped (`running`) or failed | -| `decision`, `decidedBy`, `decidedAt` | an administrator's keep or discard | - -Every importer inserts its board **with that id and with `importRunId`** set to -the run's id. So the link between a run and its board exists before the board -does: there is no moment in which a board was created that no run names, and -the board itself says which run made it. - -While the import runs, a heartbeat renews `touchedAt` every 30 seconds with the -current step. When the import returns, the run is `finished`. When it throws, -the run is `failed` - or `failed-empty` if its board was never created, which -closes it silently: nothing was written that a discard could remove (members -brought in as placeholder users are shared, inert and reused by later imports). - -The run holds **no imported data**: no titles, no members, no file contents. -Finished, kept and discarded runs are removed after 30 days. A run waiting for -a decision stays until an administrator decides. - -## When a run counts as interrupted - -A scan runs once at startup and then every 5 minutes (SyncedCron -`wekan-import-run-scan`). It flags a run as `interrupted`: - -- when it is still `running` but its heartbeat is older than - `WEKAN_IMPORT_RUN_STALE_MS` (default 10 minutes; at least 1 minute) - its - server stopped, or its writer hung; -- when it `failed` after creating its board - at once, as nothing is still - writing. - -Each run is flagged by one conditional update, so it is flagged **once**, even -with several servers scanning, and one Recovery event `import-interrupted` -records it with what the board holds so far. - -A writer that is only slow and comes back after being flagged finds its run no -longer `running` and stops at its next step. When the import method's own -deadline (`WEKAN_IMPORT_TIMEOUT_MS`) answers the client, the writer is told to -stop at its next step as well, so a client that was told "Import took too long -and was aborted" does not get a board that keeps growing afterwards. That -deadline is `WEKAN_IMPORT_TIMEOUT_MS` plus half a second for each record of the -file (models/lib/importDeadline.js, #6792), so a large import is not stopped -for being large; the import page's own watchdog uses the same sum. - -## Keep or discard +### Keep or discard Problems → Recovery lists each interrupted run: its board, source and start time, where it stopped, how many swimlanes, lists, cards, checklists, comments @@ -106,7 +57,86 @@ What a discard does not undo: on Sandstorm an import archives the board it was started from before it creates the new one; that board stays archived and can be restored from the Archive. -## The Scrum stage +## How the numbers are calculated + +- **Heartbeat**: a running import renews `touchedAt` every 30 seconds + (`HEARTBEAT_MS`, `DEFAULT_STALE_MS` and `RETENTION_MS` in + [server/lib/importRuns.js](../../../../../server/lib/importRuns.js)). +- **Interrupted**: a `running` run whose heartbeat is older than + `WEKAN_IMPORT_RUN_STALE_MS` (default 10 minutes, at least 1 minute), or a + failed run that had created its board. The scan runs at startup and then + every 5 minutes. +- **Retention**: finished, kept and discarded runs are removed after 30 days; a + run waiting for a decision stays until an administrator decides. +- **The Recovery list** shows at most 50 interrupted runs at a time + (`LIST_LIMIT`). +- **The import's deadline**: `WEKAN_IMPORT_TIMEOUT_MS` (default 120,000 ms) + plus 500 ms for each record of the file + ([models/lib/importDeadline.js](../../../../../models/lib/importDeadline.js)). + +## How it works in WeKan + +Code: [server/lib/importRuns.js](../../../../../server/lib/importRuns.js) (Meteor-free core), [server/importRuns.js](../../../../../server/importRuns.js) +(collection, scan, methods), [models/lib/importPipeline.js](../../../../../models/lib/importPipeline.js) +(`plannedBoardFields`), [models/import.js](../../../../../models/import.js). Tests: [tests/importRuns.test.cjs](../../../../../tests/importRuns.test.cjs), +[tests/playwright/specs/import-run-recovery.e2e.js](../../../../../tests/playwright/specs/import-run-recovery.e2e.js). + +### The run record + +Before the import writes anything, a document is inserted into the private +`importRuns` collection: + +| Field | Meaning | +| --- | --- | +| `_id` | the run id (UUID) | +| `userId`, `source` | who imported, and from what (`wekan`, `trello`, `csv`, `jira`, `clone`, `trello-zip`, …) | +| `boardId` | the id the new board **will** have, chosen now | +| `state` | `running`, `finished`, `failed`, `failed-empty`, `interrupted`, `discarding`, `discarded`, `kept` | +| `startedAt`, `touchedAt`, `stage` | start, last heartbeat, and the creator step it was in | +| `finishedAt`, `errorCode` | when it ended; for a failure only the error's code, never its message | +| `interruptedAt`, `interruptedFrom` | when the scan flagged it, and whether it had stopped (`running`) or failed | +| `decision`, `decidedBy`, `decidedAt` | an administrator's keep or discard | + +Every importer inserts its board **with that id and with `importRunId`** set to +the run's id. So the link between a run and its board exists before the board +does: there is no moment in which a board was created that no run names, and +the board itself says which run made it. + +While the import runs, a heartbeat renews `touchedAt` every 30 seconds with the +current step. When the import returns, the run is `finished`. When it throws, +the run is `failed` - or `failed-empty` if its board was never created, which +closes it silently: nothing was written that a discard could remove (members +brought in as placeholder users are shared, inert and reused by later imports). + +The run holds **no imported data**: no titles, no members, no file contents. +Finished, kept and discarded runs are removed after 30 days. A run waiting for +a decision stays until an administrator decides. + +### When a run counts as interrupted + +A scan runs once at startup and then every 5 minutes (SyncedCron +`wekan-import-run-scan`). It flags a run as `interrupted`: + +- when it is still `running` but its heartbeat is older than + `WEKAN_IMPORT_RUN_STALE_MS` (default 10 minutes; at least 1 minute) - its + server stopped, or its writer hung; +- when it `failed` after creating its board - at once, as nothing is still + writing. + +Each run is flagged by one conditional update, so it is flagged **once**, even +with several servers scanning, and one Recovery event `import-interrupted` +records it with what the board holds so far. + +A writer that is only slow and comes back after being flagged finds its run no +longer `running` and stops at its next step. When the import method's own +deadline (`WEKAN_IMPORT_TIMEOUT_MS`) answers the client, the writer is told to +stop at its next step as well, so a client that was told "Import took too long +and was aborted" does not get a board that keeps growing afterwards. That +deadline is `WEKAN_IMPORT_TIMEOUT_MS` plus half a second for each record of the +file (models/lib/importDeadline.js, #6792), so a large import is not stopped +for being large; the import page's own watchdog uses the same sum. + +### The Scrum stage Native WeKan imports, board copies and the Scrum planning of Jira, GitLab, OpenProject and Asana imports stage their Scrum writes as a private plan with @@ -122,7 +152,7 @@ import has one recovery story: recovery (finish or discard, by a board administrator, or the offline command) then completes or discards the Scrum part. -## Why there is no "finish" or "resume" +### Why there is no "finish" or "resume" Resuming an import needs what it was importing. The source document is not kept, and that is a decision, not an omission: @@ -147,3 +177,7 @@ planning records the board will contain anyway, is removed as soon as the stage finishes, and its steps were written with fixed ids from the start. The rest of an import is completed the safe way: **discard the partial board and import the file again**, which gives the same result a resume would, with the file the administrator still has. + +## Commits + + - [Record every board import before its first write, and let an admin keep or discard an interrupted one](https://github.com/wekan/wekan/commit/e8fac5e85ca09f33dd32eb9fbd25300afa3fbd90) diff --git a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Scrum-Import-Recovery.md b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Scrum-Import-Recovery.md index 674e69a327..805664e222 100644 --- a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Scrum-Import-Recovery.md +++ b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Scrum-Import-Recovery.md @@ -1,5 +1,7 @@ # Recover an interrupted Scrum import +## What it is + New native board imports, board copies, the Scrum planning of Jira, GitLab, OpenProject and Asana imports, and Scrum planning imported into an existing board stage private Scrum write plans before changing Scrum data. An interrupted plan keeps the incomplete-import warning and @@ -18,7 +20,19 @@ administrator keeps the partial board or discards it with its Scrum plan first, then finish or discard its Scrum stage here; a discard of the whole import is refused while this command holds the board's claim. -## Inspect without changing the database +## Read more + +- [Wikipedia: Scrum (software development)](https://en.wikipedia.org/wiki/Scrum_(software_development)) +- [Wikipedia: Rollback (data management)](https://en.wikipedia.org/wiki/Rollback_(data_management)) +- [Recover an interrupted board import](Import-Run-Recovery.md) +- [Scrum settings](../Scrum-Settings.md) + +## How to use it + +Each task below has its own commands, run with +[releases/recover-scrum-import.cjs](../../../../../releases/recover-scrum-import.cjs). + +### Inspect without changing the database Run from a matching WeKan source checkout with its npm dependencies installed. Use the destination database connection in `MONGO_URL`, including its database @@ -37,7 +51,7 @@ board, operation, position, collection and target, with exactly one final board settings update. Missing steps, duplicate targets, moved/deleted records and changed metadata stop recovery. All targets are checked before the first write. -## Continue with all writers stopped +### Continue with all writers stopped Stop **every WeKan instance**, scheduled job, other recovery process and external writer using this database. A paused or slow process is not a stopped process. @@ -65,7 +79,7 @@ acknowledged; cleanup failures propagate instead of silently leaving an orphan plan. If removing plan rows stops halfway, the next recovery finishes cleanup without replaying data writes or requiring the already deleted rows. -## Undo the stored Scrum segment instead +### Undo the stored Scrum segment instead With the same all-writers-stopped prerequisite, inspect rollback first, then explicitly apply it: @@ -97,7 +111,7 @@ plan, rollback is unavailable. Legacy marker-only imports remain unsupported. This is recovery of interrupted imports, not a general undo of completed board imports or recovery of their other stages. -## A failed or stopped recovery retains its claim +### A failed or stopped recovery retains its claim Recovery claims have **no expiry**. Automatically timing one out would let a replacement overlap a delayed write from the first process. On failure, inspect @@ -120,7 +134,23 @@ connection failure, inspection reports no recoverable checkpoint and the token; the explicit claim-clear action removes only that claim. It never deletes cards, planning records or boards. -## Verified scope and unfinished work +## How the numbers are calculated + +The command has no numbers of its own: a recovery claim has **no expiry**, by +design, and the command continues or undoes the one stored plan of the board +with its original destination IDs; it does not count, sample or time anything. + +## How it works in WeKan + +The command is +[releases/recover-scrum-import.cjs](../../../../../releases/recover-scrum-import.cjs). +It reads the board's private Scrum write plan and checkpoint, checks the whole +plan before writing (missing, foreign or changed targets refuse it), and either +continues it (`--apply`) or undoes it (`--rollback --apply`); `--offline` is +required for every change, and `--clear-claim TOKEN` clears only that exact +claim. + +### Verified scope and unfinished work MongoDB integration tests cover complete and incomplete staging, whole-plan preflight, missing/foreign/changed targets, lost acknowledgements, stored BSON @@ -139,3 +169,9 @@ Old orphan plans left by earlier versions without a checkpoint are not reclaimed by this command; it cannot infer the state of their original import. This command has not been verified against FerretDB. It is intentionally not a release-menu action or an automatic startup repair. + +## Commits + + - [Retain Scrum import checkpoints until plan cleanup completes](https://github.com/wekan/wekan/commit/8a3a1d1b34efd178e96dc75219973f5b23c0a760) + - [Rollback interrupted Scrum imports during offline maintenance](https://github.com/wekan/wekan/commit/bde8c3010fe9921927a204911db00bfdc76256f4) + - [Resume stored Scrum import plans through explicit offline maintenance](https://github.com/wekan/wekan/commit/3b2bb233564697716d33caf4fc834cbf95c4c6e9) diff --git a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Sync.md b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Sync.md index dafca41712..12935077bd 100644 --- a/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Sync.md +++ b/docs/Features/Board-Sidebar/Board-Settings/Import-Export/Sync.md @@ -1,6 +1,34 @@ # [Big Picture Roadmap](../../../../../FUTURE.md): Import/Export/Sync with WeKan -## List sync (implemented, Jira end to end) +## What it is + +**List sync** keeps a WeKan list in step with an external tracker: a list is +marked as synced from Jira, GitHub, GitLab, Gitea, Forgejo or another source, +and every 15 minutes WeKan fetches the source's items and creates, updates or +archives the list's cards to match, never deleting one. This page also holds +the big-picture roadmap of importing, exporting and syncing with WeKan: what is +implemented, the historical issues and the wishes. + +## Read more + +- [Wikipedia: Data synchronization](https://en.wikipedia.org/wiki/Data_synchronization) +- [Wikipedia: Jira (software)](https://en.wikipedia.org/wiki/Jira_(software)) +- [Big Picture Roadmap](../../../../../FUTURE.md) +- [Import / Export with other tools](External-Tools.md) +- [Format coverage](Format-Coverage.md) + +## How to use it + +1. Open the list's menu (☰ at the list header), then **Sync** + (`js-list-sync`). +2. Choose the **Source**, and fill in the **URL**, the **Project key** and the + **Credential** the source needs. The credential is write-only: it is never + sent back to the browser. +3. Tick **Sync enabled** and click **Save**. The list is then synced every 15 + minutes by the account that saved it; **Sync now** runs it at once, and + **Stop syncing** ends it. + +### List sync (implemented, Jira end to end) A WeKan list can be marked as synced from an external tracker through `setListSyncSource`. It stores public settings in `Lists.syncSource` @@ -173,7 +201,7 @@ source item. If an active subtask is outside the archive plan, the run stops before card writes. Concurrent child creation is not covered by a transaction. New Scrum metadata mappings and fully atomic synchronization remain pending. -### Resolve field conflicts +#### Resolve field conflicts Open the list's Sync popup and run Sync. For conflicting title, description or spent-time or mapped estimate values, the popup shows the current WeKan value and freshly fetched @@ -204,7 +232,7 @@ already-issued card writes after lease loss. New UI strings are English source entries with the normal English fallback; translation filling remains outside the current work queue. -### Preview saved Sync changes +#### Preview saved Sync changes **Preview changes** fetches the saved source and uses the same merge, operation selection and conflict checks as Sync now. It shows create/update/archive @@ -244,7 +272,7 @@ for a frozen plan. The source inventory follows the current parsers; it is not a complete provider schema or a mapping editor. Binary and history transport and complete source schema coverage remain unfinished. -### Recent Sync runs +#### Recent Sync runs **Recent Sync runs** reads the latest 20 full-list run reports from the last 30 days. Manual and scheduled runs persist a private starting record before @@ -284,7 +312,7 @@ operation in changes already applied stay and the next Sync compares the list with its source again. -### Repair duplicate mappings +#### Repair duplicate mappings If multiple visible cards map to the same source item, the popup shows each extra card and the card whose mapping will remain. Choose **Keep duplicate as @@ -307,7 +335,7 @@ writer to review the full group. This repair does not merge card contents, or choose arbitrary replacement IDs. Creation collisions have a separate replacement action below. -### Replace a moved or detached Sync card +#### Replace a moved or detached Sync card A card occupying the next creation ID stops the plan before normal card writes. The popup offers **Create replacement here** to unrestricted writers. Its preview @@ -329,7 +357,7 @@ contain no credentials. They must not be reset when cleaning up credentials. This does not provide transactions or fence a card write already issued by a worker that subsequently loses its lease. -### Keep a parent whose archival is blocked +#### Keep a parent whose archival is blocked When the source item disappears but active subcards outside the archive plan remain, Sync stops before applying the normal reconciliation plan. The popup @@ -349,7 +377,7 @@ rules. If the source item later returns, the existing stable-ID collision guard preserves the detached local parent and may report a creation conflict. An unrestricted writer can then explicitly choose a replacement as described above. -### Which servers List Sync may reach +#### Which servers List Sync may reach List Sync requests go through the same SSRF guard as webhooks and imports ([SyncBleed](https://wekan.fi/hall-of-fame/syncbleed/), GHSA-5q84-p3vr-f3xv). @@ -370,7 +398,7 @@ or addresses as written in the Sync server URL, for example `LIST_SYNC_ALLOWED_PRIVATE_HOSTS=gitea.lan,10.0.0.20`. Board members cannot change it. Requests to an allowed host still refuse redirects and time out. -### Source identity and switching projects +#### Source identity and switching projects Each card mapping now includes the provider, normalized server URL (including its path), and project. Equal issue IDs from different projects are separate @@ -499,7 +527,7 @@ Configuration methods: `setListSyncSource`, `hasListSyncCredential`, `syncListNow`, `previewListSync` (`server/methods/listSync.js`), all requiring board write access. -### Comments, labels, state and files (GitHub, GitLab, Gitea, Forgejo) +#### Comments, labels, state and files (GitHub, GitLab, Gitea, Forgejo) A sync option of its own, off by default, beside **Add card** and **Archive card** in the Sync popup. With it, a list synced from an issue tracker also @@ -515,7 +543,7 @@ description sync is not undone. Everything is keyed by the tracker's own ids run writes only what changed upstream, and nothing written in WeKan is changed or removed. -### Write changes back to GitLab +#### Write changes back to GitLab [#2698](https://github.com/wekan/wekan/issues/2698). For a list synced from GitLab, a sync option of its own, off by default: **Write changes back to @@ -552,7 +580,7 @@ Live tests (`releases/live-tests/gitlab-write-back.mjs`). It writes only to one scratch issue in a private `wekan-live-test` project of that account, which it creates if needed, and deletes the issue at the end. -### Sprints and releases (Scrum planning) +#### Sprints and releases (Scrum planning) The Sync settings offer **Sprint (Scrum planning)** and **Releases (Scrum planning)** as opt-in switches, off for existing configurations, and only for @@ -646,18 +674,47 @@ Jira's `fixVersions` as unmapped. Sprint goals and release notes are written only when a record is created; Jira's epic links, rank and closed-sprint history are not synced. -## Implemented formats and completeness work +## How the numbers are calculated + +- **Schedule** ([server/listSync.js](../../../../../server/listSync.js)): the + synced lists are scanned every 15 minutes; Sync operations interrupted by a + restart are replayed every minute; stale credentials are cleaned up every + hour. +- **Fetching** ([server/lib/listSyncFetch.js](../../../../../server/lib/listSyncFetch.js)): + one request may take 20 seconds and answer at most 32 MB; a run reads at most + 1,000 pages and 100,000 items. A rate-limited answer is waited out once when + the source frees up within 60 seconds; a longer wait ends the run, and the + next scheduled run picks it up. + +## How it works in WeKan + +The list's settings are `Lists.syncSource` +([models/lists.js](../../../../../models/lists.js)); the credential is kept +server-only in `ListSyncCredentials` +([models/listSyncCredentials.js](../../../../../models/listSyncCredentials.js)), +which has no publication. The methods are in +[server/methods/listSync.js](../../../../../server/methods/listSync.js), the +scheduled job in [server/listSync.js](../../../../../server/listSync.js), the +fetch in [server/lib/listSyncFetch.js](../../../../../server/lib/listSyncFetch.js) +and the reconciliation in the pure +[models/lib/listSyncReconcile.js](../../../../../models/lib/listSyncReconcile.js), +pinned by [tests/listSyncReconcile.test.cjs](../../../../../tests/listSyncReconcile.test.cjs) +and the popup by +[tests/listSyncUiWiring.test.cjs](../../../../../tests/listSyncUiWiring.test.cjs). +The details are in the List sync section above. + +### Implemented formats and completeness work The current contract, newest provider/API references, complete field inventory, loss accounting and restart behavior are maintained in [Format-Coverage.md](./Format-Coverage.md). The historical issue table below is retained as provenance; it is not the current format specification. -## Historical issue inventory +### Historical issue inventory [More](https://github.com/wekan/wekan/issues/4578) -### WeKan kanban +#### WeKan kanban From | Import | Export | Sync | In Progress ------------ | ------------- | ------------- | ------------- | ------------- @@ -672,7 +729,7 @@ Print | | [Board](https://github.com/wekan/wekan/issues/2794) | | CLI | [Sandstorm](https://github.com/wekan/wekan/issues/1695) | [Sandstorm](https://github.com/wekan/wekan/issues/1695) | | WeKan All Boards | | [ZIP](https://github.com/wekan/wekan/issues/4902) | | -### Other kanban +#### Other kanban From | Import | Export | Sync | In Progress ------------ | ------------- | ------------- | ------------- | ------------- @@ -681,7 +738,7 @@ From | Import | Export | Sync | In Progress [Asana](./Asana/Asana.md) | | | | [Zenkit](./ZenKit/ZenKit.md) | | | | -## Wishes +### Wishes Done since these issues were opened: Focalboard, Todoist, Taskwarrior, todo.txt, Notion, Redmine, Leo, Org mode and Microsoft Planner import and @@ -689,7 +746,7 @@ export, and GitHub, GitLab and Gitea issues. See [Import / Export with other tools](./External-Tools.md) for every format supported now. -### Other Kanban +#### Other Kanban From | Import | Export | Sync | In Progress ------------ | ------------- | ------------- | ------------- | ------------- @@ -705,7 +762,7 @@ From | Import | Export | Sync | In Progress [Leo and Emacs Org mode](https://github.com/wekan/wekan/issues/2186) | | | | [Microsoft Planner](https://github.com/wekan/wekan/issues/2642) | | | | -### Issues and SCM +#### Issues and SCM From | Import | Export | Sync | In Progress ------------ | ------------- | ------------- | ------------- | ------------- @@ -716,13 +773,13 @@ From | Import | Export | Sync | In Progress Gitea Gogs | | | [wekan-gogs](https://github.com/wekan/wekan-gogs) | -### Wiki +#### Wiki From | Import | Export | Sync | In Progress ------------ | ------------- | ------------- | ------------- | ------------- Confluence | | | | -### Stored activity delivery coordinator (internal) +#### Stored activity delivery coordinator (internal) `server/lib/syncActivityDelivery.js` composes the durable delivery stages used by a saved activity's `completeDelivery` callback. It requires a durable rules @@ -748,7 +805,7 @@ remain prerequisites. The current tests exercise the coordinator and binding with scripted adapters; they do not claim end-to-end rule execution or external webhook delivery. -### Stored rule selection plans (internal) +#### Stored rule selection plans (internal) `server/lib/syncRulePlan.js` prepares and persists an immutable rule selection for one saved activity/effect identity. It freezes the ordered rule documents @@ -1010,7 +1067,7 @@ Legacy unbound commands, obsolete Details bindings, partial/unknown acceptance and online operator resolution remain unfinished. This tool does not make those commands eligible for dispatch or activate manual/cron Sync. -### Stored archive rule command preparation +#### Stored archive rule command preparation `server/lib/syncRuleArchiveCommand.js` captures archive/unarchive rule cascades before any card write. It binds the command to the saved rule plan, invocation, @@ -1062,7 +1119,7 @@ checks ordinary restore activity/History recording. The test uses controlled effect callbacks; saved effect plans and production rule-stage activation are still required before this adapter can be enabled in ordinary Sync execution. -### Stored archive History and activity plans +#### Stored archive History and activity plans `server/lib/syncRuleArchiveEffects.js` prepares and persists the complete cascade's effect plans before execution. Each card keeps a stable effect ID, @@ -1102,7 +1159,7 @@ and confirms replay creates no duplicates. Ordinary restore recording still works afterward. The test controls only downstream delivery acknowledgements; production delivery binding and shared History-writer coordination remain open. -### Private archive command storage +#### Private archive command storage `captureStoredSyncRuleArchiveCommand` uses actual saved rule selection and the private `listSyncRuleArchiveCommands` collection. The internal entry point @@ -1118,7 +1175,7 @@ alongside commands for subsequent execution binding. All three collections deny browser insert/update/remove, have recovery lookup indexes and no publication or TTL. They are not wired into ordinary/manual/cron rule execution yet. -### Internal stored archive execution +#### Internal stored archive execution `runStoredSyncRuleArchive` now binds command/effect/receipt storage to real Cards, ChangeHistory and Activities. It prepares effects once from current @@ -1135,7 +1192,7 @@ ordinary rules and manual/cron Sync do not install this archive adapter yet. An isolated full-app test supplies a controlled reservation; that proves the entry point's data flow, not multi-process History exclusivity. -### Durable History append coordination primitive +#### Durable History append coordination primitive `server/lib/historyChainAppend.js` introduces a single persisted head per board (including a distinct null-board scope). Conditional head replacement reserves @@ -1181,7 +1238,7 @@ scans, lost replies and real MongoDB iteration across multiple batches followed by append on a new connection. The server binding below drains participating writers; deployment-wide exclusion still needs a caller-provided guard. -### Schema-backed coordinated History storage +#### Schema-backed coordinated History storage `server/lib/storedHistoryChain.js` registers private `historyChainHeads` with a unique board index and denied browser writes. No publication or TTL exposes or @@ -1202,7 +1259,7 @@ cannot leave an uncertain writer token. The existing best-effort logging and null result on failure remain in place. A migrated board never falls back to legacy insertion when its coordinated head is missing. -### Migration writer admission +#### Migration writer admission `server/lib/historyWriterGate.js` provides persistent per-board admission for participating writers. Legacy writes register unique tokens before their @@ -1242,7 +1299,7 @@ remain unfinished. Draining refuses new records; the best-effort recorder currently returns null for those failures. Durable recovery of such failed recording is still required before automatic rollout. -### Online recovery of abandoned writers +#### Online recovery of abandoned writers Every legacy History writer on an upgraded server keeps a lease beside its gate token, in `historyWriterLeases`, and renews it while it works. Before each @@ -1270,7 +1327,7 @@ an abandoned lease may be taken, and a slow writer that is taken loses its write with an error. A token with no lease was written by an older server, or before the upgrade; it still needs the offline procedure below. -### Offline recovery of uncertain writer admission +#### Offline recovery of uncertain writer admission With every application instance, maintenance command and other database writer stopped, inspect the board gate using an explicitly named database: @@ -1311,7 +1368,7 @@ History, reject missing offline confirmation/wrong ownership and bootstrap the persisted row after retirement. Missing-row replay and online recovery remain unfinished. There is no browser recovery action. -### Offline board migration to coordinated History +#### Offline board migration to coordinated History After upgrading every application instance, stop all writers and keep them stopped until this maintenance finishes. Supply a new lowercase UUID once for @@ -1348,7 +1405,7 @@ Forked History is rejected without changing its rows or creating a head. This command does not recover missing records, coordinate redo/undo operations, provide multi-row Sync reservations or enable archive jobs automatically. -### Coordinated Scrum restoration events +#### Coordinated Scrum restoration events Scrum undo/redo's strict restoration-event writer now uses the same persistent writer admission as ordinary History recording. Its deterministic event ID is @@ -1371,3 +1428,36 @@ also rejects changed retry contents, migration-time insertion and a missing coordinated head. This coordinates the restoration audit rows only. The restored entity mutations, source-row undo/redo flags, redo invalidation and multi-row Sync reservations still need shared operation-level coordination. + +## Commits + + - [Sandstorm: Jira List Sync works from a grain](https://github.com/wekan/wekan/commit/1dc5b823698fab227e4816606aa2a89effda7218) + - [List Sync: write WeKan's changes back to GitLab](https://github.com/wekan/wekan/commit/d6c1d6fce178691577ba8eabc67ce810a4527a63) + - [Board View / Version Control, issue files and synced issue details](https://github.com/wekan/wekan/commit/326d9bbf619ed811e9db92896a67f0ea6fa60b24) + - [On Sandstorm, sync lists from GitHub, GitLab, Gitea and Forgejo through the Powerbox](https://github.com/wekan/wekan/commit/d53b4da799496e2af39cc1f3188561ea0b125a88) + - [Sync sprints and releases into Scrum planning](https://github.com/wekan/wekan/commit/c06bf8d0e9d3085a5e6513a0c3ec52977a071381) + - [Let administrators discard List Sync operations that cannot be replayed](https://github.com/wekan/wekan/commit/cb69750b17bc1b1318e61ce058fe074d888cc264) + - [List Sync records a refused address once, as SyncBleed, and no longer disables the member](https://github.com/wekan/wekan/commit/988d351c32fbf216ab77ea6698aa907bf58864f3) + - [Sync GitLab's weight or time estimate into a numeric field](https://github.com/wekan/wekan/commit/4f4de145b1ebdaecbd290fe7288d866d25ec7e8b) + - [Fix SyncBleed: send List Sync requests through the SSRF guard and keep responses out of errors](https://github.com/wekan/wekan/commit/2172f19d887bed4ca61c4326e4d061edff55558c) + - [Run manual and scheduled Sync through the durable journal, with replay](https://github.com/wekan/wekan/commit/6ed28c41f7b1d33d3e47e9cc627e57e47a0940d4) + - [Bind stored Sync rule execution to private receipt storage and live guards](https://github.com/wekan/wekan/commit/23022595239bc6ba5ebb501459b0c0a0322f2a05) + - [Capture stored Sync rule plans through actual matching and scope guards](https://github.com/wekan/wekan/commit/d2c73b4225078bb5d4148c3d01f148ccf97a4d43) + - [Persist immutable ordered Sync rule selection plans](https://github.com/wekan/wekan/commit/c7f30bfd42de7c2c199ed63e2247f6e0a0f6894d) + - [Coordinate stored Sync activity delivery with exact stage receipts](https://github.com/wekan/wekan/commit/cc9a568c76b0115fc6ebd965c5a6a1a755a408a9) + - [Register private Sync recovery storage with list-lifetime guards](https://github.com/wekan/wekan/commit/9f179eb7b527a68a9e373055f3395327f22e56c6) + - [Sync Jira original and remaining time estimates with conflict review](https://github.com/wekan/wekan/commit/5e1ed32f58328551ee2a3f4a968ef329e46d93c4) + - [Bind scheduled Sync to its authorizing account](https://github.com/wekan/wekan/commit/a00c009ba662811f365541ffbc37d58b8230fcc1) + - [Retain Sync completion proofs across stable request retries](https://github.com/wekan/wekan/commit/617ba292f9cd0ab8b2b4d182a95c262d11e81f2b) + - [Prepare conditional field patches for durable Sync steps](https://github.com/wekan/wekan/commit/0d2dd1d36eddc030e8bdb9f1b21941e6313bba7a) + - [Preserve mapped estimate snapshots in durable Sync plans](https://github.com/wekan/wekan/commit/281d7f574be3a3fa6ff9ce777b99f4c00c0e13ef) + - [Sync explicitly mapped Jira estimates with local conflict review](https://github.com/wekan/wekan/commit/79fcd0061e3bc589bf19e03d8fbde2eb69d9fa2e) + - [Expose retained Sync diagnostics in Problems Recovery](https://github.com/wekan/wekan/commit/6a4e5e29a862c02f3c9843c4d6a5ed6cfa5708c6) + - [Persist private Sync run outcomes and bounded coverage reports](https://github.com/wekan/wekan/commit/adf646177b75a62a0fcde67b8b82c34f4b277325) + - [Report discarded source fields in Sync previews without their values](https://github.com/wekan/wekan/commit/e0f54fc93bde57743056caa8b2ffe422cfa27232) + - [Preview Sync changes and normalized omissions without applying writes](https://github.com/wekan/wekan/commit/80ccf100a77975242d5711b331de1f9ab143b98c) + - [Repair malformed Sync credential counters without reviving stale saves](https://github.com/wekan/wekan/commit/0210614a89b4164e622e8c1a90fbb3ee1e614d60) + - [Retire deleted-list Sync credentials with list lifetime isolation](https://github.com/wekan/wekan/commit/210f1b59b733ac7593265c5c914035fe5cdab5f2) + - [Create durable Sync replacements without changing moved or detached cards](https://github.com/wekan/wekan/commit/352dcbea879bef4162f0f70411117e05ee61812c) + - [Keep Sync parents local when active subtasks block archival](https://github.com/wekan/wekan/commit/ed1615369cb4f67910d054c8da340ef6e0b41313) + - [Add a list-sync job that keeps a list up to date from Jira, GitHub, GitLab and others](https://github.com/wekan/wekan/commit/a01e8478c30cce9569c6e68f5eb374031b162191)