openreader/src/lib/server
Richard R 16cada6129 feat(tasks): introduce scheduled task engine and admin UI for background jobs
Add a general-purpose scheduled task system with a persistent registry and status tracking, supporting background maintenance jobs such as orphaned blob reaping, expired upload cleanup, job event pruning, and TTS usage retention. Implement a new `scheduled_tasks` table, task engine, and handlers for each maintenance operation. Integrate an admin UI panel for monitoring, manual runs, and configuration of tasks. Update document and user data cleanup flows to delegate shared blob and preview deletion to the scheduled reaper. Add Vercel cron integration for serverless environments.

BREAKING CHANGE: Document and user storage cleanup now relies on background scheduled tasks for shared blob and preview deletion; immediate inline deletion is no longer performed.
2026-06-07 05:29:29 -06:00
..
admin refactor(data): unify document mutation locking and transaction handling 2026-06-06 20:30:41 -06:00
audiobooks refactor(user): overhaul user data cleanup and export for cascading deletes and TTS segment support 2026-06-06 16:37:28 -06:00
auth feat(data): enhance anonymous claim to support document settings and TTS segment copy 2026-06-06 19:12:40 -06:00
compute refactor(pdf-parse): extract encodeParserVersion utility and strengthen artifact readiness 2026-06-04 20:46:02 -06:00
crypto feat(admin,config,ui,db): introduce runtime-editable site config and admin-managed TTS providers 2026-05-12 22:39:24 -06:00
documents feat(tasks): introduce scheduled task engine and admin UI for background jobs 2026-06-07 05:29:29 -06:00
errors refactor: complete phase 7 error-contract rollout 2026-05-27 08:02:31 -06:00
jobs refactor(pdf-parse): migrate PDF parse state to worker-owned model 2026-06-04 20:00:21 -06:00
pdf-parse refactor(pdf-parse): extract encodeParserVersion utility and strengthen artifact readiness 2026-06-04 20:46:02 -06:00
rate-limit feat(tasks): introduce scheduled task engine and admin UI for background jobs 2026-06-07 05:29:29 -06:00
storage refactor(pdf): implement ONNX-based Docling layout parsing and block-level TTS for PDFs 2026-05-17 21:18:51 -06:00
tasks feat(tasks): introduce scheduled task engine and admin UI for background jobs 2026-06-07 05:29:29 -06:00
testing feat(rate-limit): add per-user PDF parsing rate limiting and job event ledger 2026-05-30 14:17:49 -06:00
tts refactor(data): improve error handling and rollback for document and TTS segment operations 2026-06-06 20:03:34 -06:00
user feat(tasks): introduce scheduled task engine and admin UI for background jobs 2026-06-07 05:29:29 -06:00
logger.ts refactor: roll out phase 7 server error contract 2026-05-27 07:24:07 -06:00
runtime-config-rsc.ts fix(server): enforce server-only usage for runtime config resolvers 2026-05-14 13:07:43 -06:00
runtime-config.ts hard-cut batch A: worker-only app compute backend 2026-05-26 15:56:39 -06:00