openreader/compute/worker
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
..
src feat(pdf,config): implement stale parse-state healing and unify op stale window config 2026-05-22 01:21:18 -06:00
.env.example docs(compute): align worker env docs and model override vars 2026-05-21 20:57:10 -06:00
docker-compose.yml refactor(worker): unify port environment variable usage and update deployment docs 2026-05-20 17:05:35 -06:00
Dockerfile refactor(worker): unify port environment variable usage and update deployment docs 2026-05-20 17:05:35 -06:00
package.json refactor(compute): modularize core contracts and runtime, enable flexible backend resolution 2026-05-20 15:07:22 -06:00
tsconfig.json refactor(compute): add timing metrics to worker job results and status 2026-05-19 15:55:35 -06:00