No description
Find a file
aakhter bd7c2f2cee
test(sync): pin 3-client disjoint-merge composition (shared-field reconciliation + replace-mode convergence) (#8933)
* test(sync): pin three-client convergence after a merged op loses LWW

Follow-up to #8874 (the retracted-then-adjudicated composition finding):
after a disjoint-merged op loses whole-op LWW to a newer overlapping
edit from a third client, the remote-win holders transiently keep the
merged delta's other field while the local-win holder never applied it.
Convergence depends ENTIRELY on _createLocalWinUpdateOp emitting a
FULL-SNAPSHOT reconciling op with a dominating clock.

This spec pins that closure property end-to-end (merge -> overlapping
newer edit -> whole-op LWW on both holders -> snapshot propagation): if
local-win ops ever become partial deltas - the same direction the merge
path moved for analogous reasons - the three clients diverge permanently
and this test goes red.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test(sync): reframe 3-client convergence as a focused composition test

Addresses maintainer review on #8933:
- Drops the '(e2e)/all-clients' framing. It is a composition test of
  ConflictResolutionService's emitted ops applied via a local LWW helper, not a
  transport e2e; the comment now states the scope and that cross-client
  propagation is modelled (justified by the dominating-clock assertion), not
  executed. Client B contributes only an input op.
- Adds the two assertions that make the convergence claim real: the local-win op
  reconstructs C's COMPLETE reviewable entity from a bare base (full-snapshot
  closure), and its clock is GREATER_THAN both inputs (opC and the merged op),
  so it propagates as a plain non-conflicting remote op.
- Updates the local resolveCapturing helper to the #8900 mixed-source-batch API
  (appendMixedSourceBatchSkipDuplicates); the rebase onto current master
  surfaced that the prior appendWithVectorClockUpdate mock no longer matches the
  service.

SPAP-39

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(sync): scope 3-client claim to shared-field reconciliation; prove receiver-only-field divergence

Addresses maintainer review on #8933. The three-client composition test previously
claimed full-snapshot closure (stateA === stateC / identical entities). johannesjo
gave a verified counterexample: applying C's full local-win snapshot to A cannot clear
a field C never had (SuperSync JSON-serializes ops so absent fields don't travel as
clears; lwwUpdateMetaReducer applies via a shallow updateOne), so A keeps it and the
clients diverge — with a dominating clock, permanently.

- Narrow the active composition test to the property that actually holds: present-field
  reconstruction + a dominating clock + shared-field reconciliation. It no longer
  asserts byte-identical whole-state equality.
- Replace the pending() aspiration with an ENABLED test asserting today's ACTUAL
  behavior: run the real resolution service to get C's local-win op, JSON round-trip
  its payload, apply it through the PRODUCTION lwwUpdateMetaReducer, and assert A
  retains the receiver-only dueDay while C lacks it (divergence). Flip the dueDay
  assertions when the runtime reconciles receiver-only fields.

The underlying runtime data-integrity bug is tracked in SPAP-43.

SPAP-39

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(sync): migrate disjoint-merge spec to production op-apply seam; pin convergence

Rebasing #8933 onto current master surfaced that upstream #8980/#8990 reshaped
the LWW op payload (adapter `{ task: { changes } }` -> nested
`{ actionPayload, entityChanges, lwwUpdateMode }`) and #9007/SPAP-43 made
`_createLocalWinUpdateOp` stamp `lwwUpdateMode: 'replace'`, applied via setOne.

Per johannesjo's #8933 review:

- Content-model applyOp: also read the nested `actionPayload` shape so the
  no-receiver-only-field test reconstructs the op's carried fields correctly.
  (This limb only asserts WHICH fields the op transports; no clearing in play.)

- Receiver-only test: build the action via the real `convertOpToAction` instead
  of hand-rolling it. The hand-built action spread `lwwUpdateMode` at the top
  level, so it never reached `action.meta` and silently took the updateOne
  (shallow-merge) branch — masking production. Through the real seam the
  'replace' op applies via setOne: A's absorbed receiver-only `dueDay` and B's
  `notes` are CLEARED and the clients CONVERGE. Flipped the assertions and
  reframed the test from "diverge" to "converge" — the SPAP-43 replace/setOne
  work closed the gap the test previously (incorrectly) documented as open.

Verified end-to-end: 28/28 in-file green on current master.

SPAP-39

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(sync): fix stale op-log-store mock; reconcile flipped convergence comments

Round-4 review fixes for #8933 after rebase onto current master:

- resolveCapturing helper's createSpyObj was a third, un-maintained copy of
  the OperationLogStoreService mock and had rotted: renamed
  appendWithVectorClockUpdate -> appendWithVectorClockOverwrite (#9080) and
  added the missing getOpById (#9086). This was the CI-red blocker
  (TypeError: opLogStore.getOpById is not a function).
- Flip the two describe-level headers that still carried pre-flip divergence
  framing. Master now stamps lwwUpdateMode: 'replace' on local-win ops and the
  reducer applies replace-mode via setOne, so test 2 asserts the receiver-only
  field IS cleared and the clients converge -- the headers said the opposite.
- Add a receiver-version scope note: the disjoint merge is enabled in
  production (unfrozen by #9095), but only replace-mode-aware receivers
  converge; older clients apply the snapshot via updateOne and still diverge.

29/29 SUCCESS in conflict-resolution.disjoint-merge.spec.ts.

SPAP-39

* chore(sync): scrub private tracker keys from disjoint-merge spec

The spec ships to the public upstream PR and the maintainer is GitHub-only,
so replace internal tracker keys with neutral descriptive wording:
- top-level describe + file header: drop the key, keep "disjoint-field merge"
- (a3)/(a4)/(a5) section comments: "disjoint-merge fix:" instead of the key
- 3-client test comments: "the replace/setOne behavior/work" without the key

No behavioural change; 29/29 SUCCESS.

SPAP-39

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 12:26:54 +02:00
.agents/skills/commit-messages chore(config): adopt AGENTS.md as shared AI-agent config with skills (#8864) 2026-07-09 15:30:56 +02:00
.air 18.4.2 2026-05-01 23:07:19 +02:00
.codex chore: add project-scoped Angular MCP 2026-07-13 10:31:37 +02:00
.devcontainer chore: add git and testing tools out of the box in devcontainers 2025-05-12 11:13:06 +02:00
.github ci: stop running redundant unit tests on the macOS build job (#9129) 2026-07-17 23:15:22 +02:00
.husky fix(build): auto-generate env.generated.ts on checkout via husky hook 2026-03-06 16:39:21 +01:00
.signpath/policies/super-productivity build: sign path setup 4 2026-01-28 12:51:50 +01:00
.vscode chore: add git and testing tools out of the box in devcontainers 2025-05-12 11:13:06 +02:00
android 18.15.1 2026-07-17 23:17:53 +02:00
build 18.15.1 2026-07-17 23:17:53 +02:00
docs docs(sync): warn against bumping CURRENT_SCHEMA_VERSION unnecessarily 2026-07-17 20:39:55 +02:00
e2e test(e2e): accept beforeunload prompt in shared dialog fallback (#9122) 2026-07-17 17:34:29 +02:00
electron fix(sync): defer LocalFile folder pick commit to settings Save (#9075) (#9085) 2026-07-16 19:11:02 +02:00
eslint-local-rules fix(locale): consolidate textLocale, fix planner month label, enforce via lint (#8987) (#9065) 2026-07-16 22:33:23 +02:00
fastlane fix(sync): name the discarded title in LWW conflict banner + fix fr dismiss label (#8694) (#8724) 2026-07-03 14:13:43 +02:00
ios feat(rate-dialog): calm, recurring, win-timed store rating prompt (#8704) 2026-07-02 13:52:10 +02:00
nginx refactor(e2e): migrate to production Dockerfile for E2E tests 2026-01-21 14:30:24 +01:00
packages Merge branch 'feat/with-the-latest-changes-i-get-your-app-4212df' 2026-07-17 20:47:30 +02:00
scripts chore(scripts): remove one-off codemod scripts [#8260 - Tier A] (#8893) 2026-07-11 10:36:24 +02:00
snap/hooks fix(snap): add filesystem and desktop integration plugs 2026-01-17 12:44:30 +01:00
src test(sync): pin 3-client disjoint-merge composition (shared-field reconciliation + replace-mode convergence) (#8933) 2026-07-18 12:26:54 +02:00
tools ci(lighthouse): raise script-count budget to 220, align warn to 210 (#8740) 2026-07-03 18:13:23 +02:00
.browserslistrc build: update browser support list 2025-08-13 19:47:44 +02:00
.dockerignore fix(docker): simplify env handling for Docker builds 2025-08-09 12:16:31 +02:00
.editorconfig chore: update gradle/java indent_size to 4 2024-09-29 09:40:49 +08:00
.env.example docs: change template of the .env file to include the mandatory unsplash key 2025-08-12 18:10:59 +02:00
.gitattributes chore: fix LF/CRLF for errant SCSS file (again) (#7117) 2026-04-09 19:42:54 +02:00
.gitignore fix(config): restore day-start offset after operation replay (#8899) 2026-07-10 13:59:48 +02:00
.gitmodules chore: Update android submodule to use feat/platform-android-offline branch (for capacitor) 2024-09-12 09:49:41 +08:00
.gitpod.yml refactor: make prettier work for angular 2025-02-21 14:31:22 +01:00
.npmrc chore(deps): add cooldown for NPM and GH Actions to reduce supply chain attack risk (#7685) 2026-05-20 11:50:30 +02:00
.nvmrc feat: add .nvmrc file with Node.js v22.18.0 2025-08-13 19:47:44 +02:00
.prettierignore feat(sync): add Helm chart and WebSocket push for SuperSync (#6971) 2026-03-30 21:34:30 +02:00
.prettierrc.json refactor: make prettier work for angular 2025-02-21 14:31:22 +01:00
.stylelintrc.mjs build(stylelint): fix font-family-no-missing-generic-family-keyword 2025-01-04 13:49:50 +01:00
AGENTS.md docs(sync): warn against bumping CURRENT_SCHEMA_VERSION unnecessarily 2026-07-17 20:39:55 +02:00
angular.json refactor(sync-providers): extract local file provider 2026-05-13 11:36:19 +02:00
ARCHITECTURE-DECISIONS.md fix(sync): make marked project deletions win LWW conflicts (#9009) 2026-07-14 19:58:33 +02:00
capacitor.config.ts feat(android): migrate edge-to-edge to built-in SystemBars (#8543) 2026-06-22 16:07:06 +02:00
CLAUDE.md chore(config): adopt AGENTS.md as shared AI-agent config with skills (#8864) 2026-07-09 15:30:56 +02:00
CONTRIBUTING.md docs(sync): consolidate sync docs + enforce the contributor model 2026-05-15 16:51:50 +02:00
docker-compose.e2e.fast.yaml fix(ci): fix WebDAV config path for hacdias/webdav v5 2026-02-16 11:07:52 +01:00
docker-compose.e2e.yaml fix(ci): fix WebDAV config path for hacdias/webdav v5 2026-02-16 11:07:52 +01:00
docker-compose.supersync.yaml fix(dev): update default SuperSync port to 1901 for local development 2026-01-24 21:14:57 +01:00
docker-compose.yaml fix(infra): close db-startup race in supersync e2e stack 2026-04-29 16:17:56 +02:00
docker-entrypoint.sh refactor(e2e): migrate to production Dockerfile for E2E tests 2026-01-21 14:30:24 +01:00
Dockerfile fix(docker): include sync packages in image build 2026-05-16 20:48:38 +02:00
Dockerfile.e2e.dev feat(e2e): add Docker-based E2E test isolation 2026-01-04 17:09:39 +01:00
Dockerfile.e2e.dev.fast build(e2e): add fast local Docker Compose setup for E2E tests 2026-01-09 18:00:24 +01:00
electron-builder.yaml fix(caldav-plugin): make recurring-occurrence edits/deletes safe and quiet #7492 (#8149) 2026-06-08 16:05:52 +02:00
eslint.config.js refactor(sync): centralize clock pruning in store, make merge atomic (#9107) 2026-07-17 13:12:53 +02:00
funding.json chore(funding): drop broken repositoryUrl.wellKnown line 2026-05-14 17:21:39 +02:00
Gemfile 10.1.1 2024-11-06 19:44:38 +01:00
Gemfile.lock chore(deps): bump faraday in the bundler group across 1 directory (#8625) 2026-06-29 13:09:27 +02:00
LICENSE fix: typo in license 2019-01-29 18:21:51 +00:00
ngsw-config.json fix(pwa): cache the hashed icon font so it renders offline on iOS #8138 2026-06-08 18:29:55 +02:00
package-lock.json 18.15.1 2026-07-17 23:17:53 +02:00
package.json 18.15.1 2026-07-17 23:17:53 +02:00
README.md docs(readme): fix typo/missing words (#8453) 2026-06-17 16:02:08 +02:00
SECURITY.md build: update links to match our new organization 2026-01-05 14:45:06 +01:00
tsconfig.base.json fix(keyboard): resolve macOS global shortcut layout mismatch (#8378) (#8381) 2026-06-17 12:57:47 +02:00
tsconfig.json build: try to get rid of inline compilation to js 2025-04-25 12:58:16 +02:00
webdav.yaml build: simplify docker setup and fix e2e 2025-07-18 20:00:10 +02:00

Banner

An advanced todo list app with timeboxing & time tracking capabilities that supports importing tasks from your calendar, Jira, GitHub and others

🌐 Open Web App or 💻 Download


MIT license   GitHub Discussions

Reddit Community   Super Productivity on Mastodon   Tweet

animated

💻 Downloads & Install

Get it on Flathub Get it from the Snap Store English badge Play Store Badge F-Droid Badge Obtanium Badge App Store Badge

For all current downloads, package links, and platform-specific notes: check the wiki
Get it on GitHub


Ukraine Flag
Humanitarian Aid for Ukraine
Support humanitarian relief via the official National Bank of Ukraine account.


✔️ Features

  • Keep organized and focused! Plan and categorize your tasks using sub-tasks, projects and tags and color code them as needed.
  • Use timeboxing and track your time. Create time sheets and work summaries in a breeze to easily export them to your company's time tracking system.
  • Helps you to establish healthy & productive habits:
    • A break reminder reminds you when it's time to step away.
    • The anti-procrastination feature helps you gain perspective when you really need to.
    • Need some extra focus? A Pomodoro timer is also always at hand.
    • Collect personal metrics to see, which of your work routines need adjustments.
  • Integrate with Jira, Trello, GitHub, GitLab, Gitea, OpenProject, Linear, ClickUp and Azure DevOps. Auto import tasks assigned to you, plan the details locally, automatically create work logs, and get notified immediately, when something changes.
  • Basic CalDAV integration.
  • Back up and synchronize your data across multiple devices with Dropbox and WebDAV support
  • Attach context information to tasks and projects. Create notes, attach files or create project-level bookmarks for links, files, and even commands.
  • Super Productivity respects your privacy and does NOT collect any data and there are no user accounts or registration. You decide where you store your data!
  • It's free and open source and always will be.

And much more!

Work View with global links

Note

The web version has some limitations: See the Web App vs Desktop comparison for more details.

📖 Documentation and Guides

Getting Started

Starting Point in Wiki:
First stepsReferenceHow-To

Productivity Tips:
Keyboard ShortcutsShort Syntax

Need Help?
Visit the discussions page

See the bottom of the README for more information on the documentation.

Advanced Topics

Here are some other topics covered in the official wiki:

Development:
Run dev serverPackage the appBuild for AndroidRun with Docker

Data Management:
User DataIssue ProvidersSync Providers

Customization:
PluginsThemes

APIs:
Sync ServerPluginsREST

Community

The development of Super Productivity is driven by a wonderful community of users and contributors. Thank you all so much for your support!

👀 Check out our awesome curated list of community-created resources about Super Productivity

♥️ Contributing

If you want to get involved, please check out the CONTRIBUTING.md

There are several ways to help.

  1. Spread the word: More users mean more people testing and contributing to the app which in turn means better stability and possibly more and better features. You can vote for Super Productivity on Slant, Product Hunt, Softpedia or on AlternativeTo, you can tweet about it, share it on LinkedIn, reddit or any of your favorite social media platforms. Every little bit helps!

  2. Provide a Pull Request: Here is a list of the most popular community requests and here some info on how to run the development build (wiki). Please make sure that you're following the commit message format and to also include the issue number in your commit message, if you're fixing a particular issue (e.g.: feat: add nice feature #31).

  3. Answer questions: You know the answer to another user's problem? Share your knowledge!

  4. Provide your opinion: Some community suggestions are controversial. Your input might be helpful and if it is just an up- or down-vote.

  5. Provide a more refined UI spec for existing feature requests

  6. Report bugs

  7. Make a feature or improvement request: Something can be done better? Something essential missing? Let us know!

  8. Translations, Icons, etc.: You don't have to be a programmer to help; learn how to contribute translations!

  1. Sponsor the project

  2. Create custom plugins or custom themes

Special Thanks to our Sponsors!!!

Recently support for Super Productivity has been growing! A big thank you to all our sponsors!

(If you are, intend to or have been a sponsor and want to be shown here, please let me know!)

Code Signing

Windows binaries are signed. Free code signing is provided by SignPath.io, certificate by SignPath Foundation.

Documentation: Manual versus Automated

There are two wikis: the official one hosted in by GitHub and the autonomously generated variant using DeepWiki.com. The manually curated version is a more stable and approachable resource designed to help you understand the app from a more human-focused perspective whereas DeepWiki is optimized for explaining the code itself with little regard for context beyond that.

Official Wiki

It is preferable to maintain local documentation rather than rely on an external service. It also preferable that the documentation is updated in tandem with the code changes as demonstrated in this commit.

Changes to files within ./docs/wiki are linted in CI before being automatically sync'd to the repository's official Wiki hosted by GitHub.

Migrating to Docusaurus is a long-term goal once the content and structure of the wiki has matured and the remaining "legacy docs" have either been reworked or removed. There are some automations in development to help reduce the difference between the published docs and the state of the code while retaining a human-in-the-loop.

DeepWiki.com

If you have very specific questions about how the code works or why a bug might be producing a particular message it might be useful to Ask DeepWiki . It can help "cite your sources" when discussing functionality and code that you don't fully understand as part of feature requests or bug reports.

This automated reference does come with some significant drawbacks:

  1. Intent: Describes what code does, not why decisions or tradeoffs were made.
  2. Staleness: Will *always* lag behind the code.
  3. Code-Focused: Does not provide guides or conceptual explanations.
  4. Cost: Potential future cost and higher resource usage than static docs.