openreader/tests
Richard R c0de2156fe refactor(documents): centralize owned document deletion and add mutation locking
Introduce `deleteOwnedDocument` utility to encapsulate all logic for removing a user's ownership of a document, including TTS segment cache cleanup, preview artifact removal, and S3 blob deletion for last-owner cases. Add `withDocumentMutationLock` to serialize concurrent mutations on the same document, using advisory locks in Postgres and a local queue fallback. Refactor all API routes and user data flows to use these utilities, ensuring transactional safety and preventing race conditions during document deletion or transfer. Update tests for new flows and add coverage for document cleanup sequencing and locking behavior.
2026-06-06 18:09:47 -06:00
..
files docs(intro): clarify open-source status and multilingual support in introduction 2026-06-06 12:19:28 -06:00
unit refactor(documents): centralize owned document deletion and add mutation locking 2026-06-06 18:09:47 -06:00
accessibility.spec.ts Redesign: shared UI design system + app-wide migration (#96) 2026-06-01 16:17:12 -06:00
delete.spec.ts refactor(env): remove legacy no-auth mode and enforce required auth env vars 2026-05-31 12:09:37 -06:00
export.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
folders.spec.ts test(folders): use escaped regex for file name matching in drag-and-drop tests 2026-06-04 18:21:40 -06:00
global-teardown.ts refactor(env): remove legacy no-auth mode and enforce required auth env vars 2026-05-31 12:09:37 -06:00
helpers.ts test(folders): use escaped regex for file name matching in drag-and-drop tests 2026-06-04 18:21:40 -06:00
landing-routing.spec.ts refactor(settings): remove enableDestructiveDeleteActions runtime flag and related UI 2026-06-01 20:38:54 -06:00
navigation.spec.ts feat(pdf): introduce parser versioning and playback readiness state 2026-06-03 18:51:29 -06:00
play.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
upload.spec.ts refactor(upload): unify docx-to-pdf conversion into finalize handler and remove legacy route 2026-06-04 13:00:05 -06:00