simpl-liste/tests
le king fu 55d05046ee fix(sync): propagate tag link removals both ways and refuse foreign ids
App: setTagsForTask diffs with the local links and writes one taskTag
delete per removed link and one create per added link; addTagToTask and
removeTagFromTask write their entry and request a sync. The pull aligns
the links of every pulled task on the set the server sent, by direct
writes on task_tags in one transaction, sparing links with an unsent
taskTag entry (pure rule alignedTagIds in syncRules.ts).

Server: every link add or removal (REST routes and the taskTag case of
POST /api/sync) moves sl_tasks.updatedAt, so GET /api/sync sends the task
with its whole set of links. Task and tag creates in POST /api/sync refuse
an id taken by another account (assertIdNotTaken) instead of answering
applied without writing.

Refs #180
Refs #168

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:26:08 -05:00
..
feedback.test.mjs feat(feedback): integrate Feedback Hub widget in Settings (#68) 2026-07-27 19:43:12 -04:00
hydration.test.mjs fix(sync): bound the wait on the persisted settings before the inbox repair 2026-10-25 20:35:06 -04:00
smoke.test.cjs fix(sync): propagate tag link removals both ways and refuse foreign ids 2026-11-02 21:26:08 -05:00
syncRules.test.mjs fix(sync): propagate tag link removals both ways and refuse foreign ids 2026-11-02 21:26:08 -05:00
syncSchedule.test.mjs fix(sync): no merge across accounts, sync off until the first-sync choice 2026-11-02 21:06:10 -05:00