obsidian-media-db-sync/tests
afiqzudinhadi a4ba1b8e42 fix(watchlist): stale-read clobber, concurrency guard, leaked timeout, quiet catch-up notices
- SyncDeps.listNotes now returns paths only; new readNote(path) reads
  content immediately before parse/diff/write per note, closing the
  window where an edit made between the initial scan and a later write
  got silently overwritten. resolveMissingIds updated to match.
- WatchlistController gains a syncing flag shared by syncNow and
  resolveMissingIds so overlapping invocations short-circuit instead
  of racing on the same vault notes.
- main.ts registers cleanup for the 30s startup catch-up setTimeout so
  it doesn't fire after unload.
- syncNow takes a quiet flag (used by the scheduled catch-up path) so
  zero-change scheduled syncs don't spam a Notice; manual commands are
  unaffected.
2026-07-30 13:24:33 +08:00
..
fixtures feat(watchlist): renderNote — canonical note serializer (golden-tested) 2026-07-30 11:17:22 +08:00
api-model.test.ts more tests 2026-07-03 11:38:15 +02:00
media-db-file-helper.test.ts more tests 2026-07-03 11:38:15 +02:00
media-type-manager.test.ts fix issue 2026-06-23 19:17:22 +02:00
media-type-models.test.ts more tests 2026-07-03 11:38:15 +02:00
modal-helper.test.ts fix issue 2026-06-23 19:17:22 +02:00
property-mapping.test.ts more tests 2026-07-03 11:38:15 +02:00
result.test.ts more tests 2026-07-03 11:38:15 +02:00
setup.ts more tests 2026-07-03 11:38:15 +02:00
tsconfig.json fix: tests/tsconfig baseUrl after root baseUrl addition (typecheck script) 2026-07-30 12:27:21 +08:00
utils.test.ts more tests 2026-07-03 11:38:15 +02:00
watchlist-build.test.ts fix(watchlist): strip surrounding quotes from prev user fields (notion_url round-trip) 2026-07-30 12:37:52 +08:00
watchlist-controller.test.ts fix(watchlist): stale-read clobber, concurrency guard, leaked timeout, quiet catch-up notices 2026-07-30 13:24:33 +08:00
watchlist-parse.test.ts feat(watchlist): note parsing (frontmatter, My Notes, tmdb ref) 2026-07-29 22:55:46 +08:00
watchlist-render.test.ts feat(watchlist): renderNote — canonical note serializer (golden-tested) 2026-07-30 11:17:22 +08:00
watchlist-resolve.test.ts fix(watchlist): resolve 429 backoff + unique-exact-match acceptance 2026-07-30 13:05:31 +08:00
watchlist-sync-engine.test.ts fix(watchlist): stale-read clobber, concurrency guard, leaked timeout, quiet catch-up notices 2026-07-30 13:24:33 +08:00
watchlist-tmdb.test.ts feat(watchlist): tmdb client — v3/v4 auth, detail + search 2026-07-30 12:22:27 +08:00
watchlist-yaml.test.ts feat(watchlist): yaml helpers + schema types 2026-07-29 21:47:25 +08:00