openreader/docs-site
Richard R 848ee4faad feat(tasks): add document blob lease for safe orphan reaping and improve scheduled task robustness
Introduce a document blob lease mechanism to prevent race conditions between document registration and orphaned blob cleanup. The new `document_blob_leases` table ensures that only one process can claim a document blob for mutation or deletion at a time. Update the orphan reaper to acquire a lease before deleting blobs and to re-check for ownership after acquiring the lease, avoiding accidental deletion of in-flight uploads.

Enhance scheduled task infrastructure with per-task fencing tokens to prevent stale runners from overwriting newer results, enforce runtime limits with abort signals, and expose scheduler mode and minimum interval to the admin panel and API. Adjust task handlers to accept a context with abort support, and update documentation and environment variable references for the new cron secret and scheduling behavior.

BREAKING CHANGE: Scheduled tasks now require a `document_blob_leases` table and updated handler signatures. Vercel deployments must set `CRON_SECRET` for scheduled maintenance.
2026-06-07 12:08:57 -06:00
..
docs feat(tasks): add document blob lease for safe orphan reaping and improve scheduled task robustness 2026-06-07 12:08:57 -06:00
static refactor(audiobooks): migrate audiobook pipeline to object storage 2026-02-11 02:44:34 -07:00
versioned_docs docs: snapshot v4.1.2 2026-06-05 04:08:03 +00:00
versioned_sidebars docs: snapshot v4.1.2 2026-06-05 04:08:03 +00:00
.gitignore feat(changelog): add changelog feed support and settings integration 2026-05-14 09:45:04 -06:00
custom.css feat(docs): add configurable rate limiting and external docs 2026-02-10 15:11:37 -07:00
docusaurus.config.ts refactor: rename project from OpenReader WebUI to OpenReader across all relevant files. 2026-02-18 02:49:47 -07:00
package.json chore(workspace): streamline monorepo and CI with pnpm workspace, dependency, and workflow updates 2026-05-14 15:44:22 -06:00
pnpm-lock.yaml chore(workspace): streamline monorepo and CI with pnpm workspace, dependency, and workflow updates 2026-05-14 15:44:22 -06:00
pnpm-workspace.yaml chore(workspace): streamline monorepo and CI with pnpm workspace, dependency, and workflow updates 2026-05-14 15:44:22 -06:00
sidebars.ts feat(compute): add external compute worker backend and integration 2026-05-19 15:21:25 -06:00
tsconfig.json feat(docs): add configurable rate limiting and external docs 2026-02-10 15:11:37 -07:00
versions.json docs: snapshot v4.1.2 2026-06-05 04:08:03 +00:00