Skip to content

Harden job queue recovery and exe VM supervision - #158

Merged
asselstine merged 2 commits into
mainfrom
fix/durable-run-queue
Sep 18, 2026
Merged

asselstine merged 2 commits into
mainfrom
fix/durable-run-queue

Conversation

@asselstine

@asselstine asselstine commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • keep a watchdog alarm while runs or cleanup work remain and repair missing alarms during normal API traffic
  • reclaim stale, unacknowledged starts after a two-minute lease
  • add a force-kill API, MCP tool, and UI action that releases concurrency before backend cleanup
  • supervise exe.dev agents with retained transient systemd services instead of a brittle shell status marker
  • treat missing or failed supervisors as terminal failures and make launch retries idempotent
  • cover queue recovery, force-kill behavior, and supervised exe.dev completion end to end

Verification

  • npm run check --workspace=factorize
  • 145 unit tests passed
  • 7 Worker E2E tests passed
  • Wrangler deploy dry run passed

@github-actions
github-actions Bot enabled auto-merge September 18, 2026 01:06
@asselstine asselstine changed the title Harden job queue recovery and add run kill Harden job queue recovery and exe VM supervision Sep 18, 2026
@asselstine
asselstine disabled auto-merge September 18, 2026 01:13
@asselstine
asselstine added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit 21d9b27 Sep 18, 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