Skip to content

feat(admin): worker jobs config, observability, and force-cancel stuck deliverables - #535

Merged
OscarRubioSevilla merged 2 commits into
masterfrom
feat/admin-worker-jobs
Aug 3, 2026
Merged

feat(admin): worker jobs config, observability, and force-cancel stuck deliverables#535
OscarRubioSevilla merged 2 commits into
masterfrom
feat/admin-worker-jobs

Conversation

@OscarRubioSevilla

Copy link
Copy Markdown
Collaborator

Summary

  • Add admin worker jobs configuration and observability (list/status, admin stop) shared via admin-worker-jobs types and System/Admin UI.
  • Force-cancel stuck deliverables generation jobs and extend worker lock behavior so long-running or orphaned jobs can be cleared safely.
  • Integrates latest master and follow-up fixes on this branch (including deliverables job recovery).

Test plan

  • Open System/Admin worker jobs view and confirm running/queued jobs appear with correct metadata.
  • Start a deliverables (or MDD) job and verify it shows in the admin jobs list; use admin stop where supported and confirm the job ends cooperatively.
  • Simulate or reproduce a stuck deliverables job and use force-cancel; confirm DB/job state is cleared and the UI no longer shows the job as active.
  • Regression: normal deliverables generation still completes after admin actions on other jobs.
  • npm test (or targeted admin-worker-jobs specs) passes in CI.

Resolve active BullMQ cancellations via resolveDeliverablesActiveCancel,
reconcile stuck cancelling state, faster Redis poll, and admin UI to
force-cancel jobs that remain active after a prior stop request.
Bring latest master changes into the feature branch before continuing work.
@OscarRubioSevilla
OscarRubioSevilla merged commit f322670 into master Aug 3, 2026
2 checks passed
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