openreader/src/lib/server
Richard R 09e8898683 feat(pdf,config): implement stale parse-state healing and unify op stale window config
Introduce automatic healing for stale PDF parse states in API routes. Add
`isDocumentParseStateStale` utility and use a shared `COMPUTE_OP_STALE_MS`
environment variable (with config getter) to control the stale window for both
worker op replacement and app-side parse-state healing. Update documentation and
environment variable references to reflect new config.

Enables automatic marking of stuck parses as failed, improving reliability and
retry behavior in distributed compute environments.
2026-05-22 01:21:18 -06:00
..
admin refactor(config): migrate compute and runtime env vars to new naming scheme 2026-05-19 13:27:07 -06:00
audiobooks feat(audiobook): integrate settings coercion utility and migrate metadata handling 2026-05-14 11:34:16 -06:00
auth refactor(pdf): implement ONNX-based Docling layout parsing and block-level TTS for PDFs 2026-05-17 21:18:51 -06:00
compute refactor(compute-core): collapse to root/local-runtime entrypoints 2026-05-21 21:30:44 -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(pdf,config): implement stale parse-state healing and unify op stale window config 2026-05-22 01:21:18 -06:00
jobs refactor(compute-core): collapse to root/local-runtime entrypoints 2026-05-21 21:30:44 -06:00
rate-limit fix(api,rate-limit): centralize daily quota exceeded response and update imports 2026-05-12 18:24:39 -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
testing feat: Refactor server-side document, audiobook, and authentication logic, introduce new client-side APIs and caching, and update related tests. 2026-02-17 19:30:12 -07:00
tts refactor(pdf): implement ONNX-based Docling layout parsing and block-level TTS for PDFs 2026-05-17 21:18:51 -06:00
user feat(preferences): add changelog version tracking and payload meta support 2026-05-14 10:53:38 -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 refactor(pdf-layout): remove compute "none" mode and unsupported parse status 2026-05-19 18:25:27 -06:00