backend: render worker #25

Open
opened 2026-11-15 22:24:08 -05:00 by forgejo_admin · 0 comments
Owner
  • poll sp_claim_render_job, heartbeat the lease; upload output, log and synctex with sp_register_blob, then sp_finish_render_job
  • materialize the revision from blobs into a scratch dir, run the job's profile (#24), enforce backend timeout and memory
  • stale-lease sweeper (sp_requeue_stale_jobs) on a schedule
  • /projects/{id}/renders (with format), /render-formats, /renders/{id}, cancel, artifact download in the api

Conventions — CLAUDE.md and PLAN.md at the repo root.

- [ ] poll `sp_claim_render_job`, heartbeat the lease; upload output, log and synctex with `sp_register_blob`, then `sp_finish_render_job` - [ ] materialize the revision from blobs into a scratch dir, run the job's profile (#24), enforce backend timeout and memory - [ ] stale-lease sweeper (`sp_requeue_stale_jobs`) on a schedule - [ ] `/projects/{id}/renders` (with `format`), `/render-formats`, `/renders/{id}`, cancel, artifact download in the api **Conventions** — CLAUDE.md and PLAN.md at the repo root.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#26 web: render pane
k8s-services/dongba
#29 backend: reports API
k8s-services/dongba
Depends on
Reference
k8s-services/dongba#25
No description provided.