Skip to content

Share conversion deadlines across dispatch and workers - #17

Merged
DevBehindYou merged 1 commit into
mainfrom
codex/shared-conversion-deadlines
Oct 29, 2026
Merged

DevBehindYou merged 1 commit into
mainfrom
codex/shared-conversion-deadlines

Conversation

@DevBehindYou

@DevBehindYou DevBehindYou commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Peer attempts previously received fresh timeouts even after request setup or a slow primary had consumed the route budget, leaving too little time to persist outcomes. Share each 300-second invocation budget across dispatch/failover and database calls, reserve recording/signing time, and forward an optional authenticated absolute deadline through wake-up and backend processing.

Workers check the remaining budget around conversion, PDF/archive stages, OCR and Storage I/O. Propagate request context into existing upload/read workers, shrink subprocess/network timeouts, and return explicit 504 deadline errors rather than partial success. Legacy callers/backends remain compatible; durable job lifetime, retries/leases, concurrency, SQL, retention and full-output contracts stay unchanged. Native parsers and lock waits remain cooperatively checked rather than forcibly interrupted.

Local tests: 270 frontend, 160 normal/PDF, 104 archive and 11 focused OCR/capacity checks passed, along with lint, production build and dictionary/SQL/blog consistency. Covers slow failover, transport/body budgets, old-backend behavior, auth precedence, concurrent isolation, slow reads/writes, no partial PDF/ZIP success, OCR timeout and image cleanup. All seven CI jobs passed before/after merge, including full Linux OCR.

Released at 9131a2ac6163f22b630b008b40accb482ed3e0b3: all six Vercel production statuses succeeded, and every N/O/Z worker reported the exact revision and readiness. Thirty auth/deadline/legacy protocol checks, eight workbook/ZIP equivalence probes, four post-release Storage conversion/download/recovery jobs and 20 HTTP/redirect checks passed. Multi-stage acceptance includes actual OCR, image-ZIP/project merge and scanned-PDF merge. Six generated Storage jobs across pre/post/multi-stage probes follow existing retention; cleanup was not manually invoked. All pools were 2/2 ready. See docs/LLMISER_SHARED_DEADLINES.md for evidence and cooperative-cancellation/capacity limits.

@vercel

vercel Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
llmiser Ready Ready Preview Oct 29, 2026 4:29pm UTC
llmiser-api-n1n Ready Ready Preview Oct 29, 2026 4:29pm UTC
llmiser-api-n2n Ready Ready Preview Oct 29, 2026 4:29pm UTC
llmiser-api-z1z Ready Ready Preview Oct 29, 2026 4:29pm UTC
llmiser-api-z2z Ready Ready Preview Oct 29, 2026 4:29pm UTC
mdify-app Ready Ready Preview Oct 29, 2026 4:29pm UTC

@DevBehindYou
DevBehindYou merged commit 9131a2a into main Oct 29, 2026
14 checks passed

This branch was successfully deployed

1 active deployment
Preview – mdify-app — 9d8ce360 Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant