mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
Address findings from a full sync-system review (blockers + high/medium):
- USE_REMOTE ("Use Server Data") is now a true download-first rebuild:
fetches the complete server history (incl. own/already-known ops via a
raw-download mode) and validates it before any local mutation; aborts
untouched on download failure, empty remote, or newer-schema ops.
- Widen the incoming full-state conflict gate to treat all user work as
meaningful (not just TASK/PROJECT/TAG/NOTE CUD); fix the piggyback race
by judging against a pre-upload pending snapshot.
- Stop advancing the server cursor past ops blocked by schema/migration
failures so they are retried after an app update; block any op from a
newer schema version (no forward-compat band).
- Retry of failed remote ops runs archive side effects only, never
re-dispatching reducers whose effects already committed (fixes additive
double-apply of time-tracking/counter deltas across hydration+retry).
- Use local monotonic seq (not lexical UUIDv7) to decide which ops are
covered by an uploaded snapshot, preventing dropped unsynced ops under
clock rollback.
- Server: include entityIds in duplicate-operation equality.
- Capture buffer no longer silently drops accepted actions at 100 (warns
to reload); drop only past a 5000 pathological cap.
Adds regression coverage for each fix. sync-core 209/209,
super-sync-server 817/817, and all touched Angular specs pass.
127 lines
2 KiB
Text
127 lines
2 KiB
Text
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
|
|
# environment files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# auto-generated environment constants
|
|
src/app/config/env.generated.ts
|
|
|
|
# compiled output
|
|
/.tmp
|
|
/dist
|
|
/app-builds
|
|
/tmp
|
|
/logs
|
|
packages/plugin-api/dist/**
|
|
docs/ai/tmp
|
|
|
|
# dependencies
|
|
/node_modules
|
|
|
|
# IDEs and editors
|
|
/.idea
|
|
android/.idea
|
|
.project
|
|
.classpath
|
|
.c9/
|
|
*.launch
|
|
.settings/
|
|
*.sublime-workspace
|
|
|
|
# IDE - VSCode
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
*.code-workspace
|
|
|
|
### VisualStudioCode Patch ###
|
|
# Ignore all local history of files
|
|
.history
|
|
|
|
# misc
|
|
\\backups
|
|
/backups
|
|
/.angular
|
|
/.sass-cache
|
|
/connect.lock
|
|
/coverage
|
|
/libpeerconnection.log
|
|
npm-debug.log
|
|
yarn-error.log
|
|
testem.log
|
|
/typings
|
|
chromedriver.log
|
|
/docs/tmp
|
|
.eslintcache
|
|
|
|
# tsconfig composite build info
|
|
**/*.tsbuildinfo
|
|
|
|
|
|
# System Files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# iOS build artifacts
|
|
ios/App/App/public/
|
|
ios/App/App/capacitor.config.json
|
|
ios/App/App/config.xml
|
|
ios/App/App/Plugins/
|
|
|
|
# sometimes idea does compile ts files...
|
|
src/app/**/*.js
|
|
src/app/**/*.js.map
|
|
# added
|
|
build/hub
|
|
build/generated-release-notes/
|
|
electron/**/*.js
|
|
!electron/scripts/bundle-preload.js
|
|
electron/**/*.js.map
|
|
electron/bin/wayland-idle-helper
|
|
electron/wayland-idle-helper/target/
|
|
|
|
# mac os deployment
|
|
*.provisionprofile
|
|
*.Xprovisionprofile
|
|
tools/mac-profiles
|
|
all-certs.p12
|
|
mac-cert.tar
|
|
build/electron-builder.appx.yaml
|
|
electron-builder.win-store.yaml
|
|
|
|
# ignore changes
|
|
./src/environments/versions.ts
|
|
/src/environments/environment.js
|
|
/src/environments/environment.js.map
|
|
/.claude/*
|
|
.aider*
|
|
|
|
|
|
#
|
|
perf-metrics-create-tasks.json
|
|
perf-metrics-initial-load.json
|
|
|
|
|
|
# bundled plugins (generated by build process)
|
|
src/assets/bundled-plugins/**/*.*
|
|
|
|
# testing webdav server
|
|
e2e-webdav-data
|
|
|
|
playwright-report/
|
|
|
|
|
|
electron-builder-appx.yaml
|
|
test-results/
|
|
data/
|
|
/.actrc
|
|
/.secrets.example
|
|
|
|
.worktrees/
|
|
|
|
# Generated App Store Connect "What's New" notes (see tools/prepare-appstore-release-notes.js)
|
|
/fastlane/appstore_metadata
|