Skip to content

feat: per-target deployment queues with configurable concurrency#5

Closed
BSalaeddin wants to merge 7 commits into
canaryfrom
feat/concurrent-deployments
Closed

feat: per-target deployment queues with configurable concurrency#5
BSalaeddin wants to merge 7 commits into
canaryfrom
feat/concurrent-deployments

Conversation

@BSalaeddin

@BSalaeddin BSalaeddin commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Adds per-server deployment queues with configurable concurrency and self-hosted deployment cancellation.

What changed

  • Each server gets its own BullMQ queue instead of a shared global one
  • Concurrency is configurable per server (1–10) from the UI
  • Deployment cancellation now works on self-hosted (previously cloud-only)
  • Existing queue name preserved so upgrades don't strand pending jobs

Migration

Two new deploymentConcurrency columns (server + webServerSettings), default 1 — no behavior change on upgrade.


Migration note

This PR adds migrations at index 0172 and 0173. If another PR merging before this one also adds migrations starting at 0172 (e.g. the network management PR), renumber this PR's migrations to follow the last merged index and regenerate the journal/snapshot (drizzle-kit generate after updating the schema). The SQL statements are independent and order does not matter.

@autofix-troubleshooter

Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

@BSalaeddin BSalaeddin force-pushed the feat/concurrent-deployments branch from 69ce0df to 844ebe8 Compare May 18, 2026 22:00
@BSalaeddin BSalaeddin force-pushed the feat/concurrent-deployments branch 2 times, most recently from 66a4613 to 36136f0 Compare June 13, 2026 06:48
@BSalaeddin BSalaeddin force-pushed the feat/concurrent-deployments branch from 36136f0 to 8d1ad63 Compare June 13, 2026 07:19
@BSalaeddin BSalaeddin force-pushed the feat/concurrent-deployments branch from 17b6146 to 7bd757b Compare June 16, 2026 20:10
@BSalaeddin

Copy link
Copy Markdown
Collaborator Author

@BSalaeddin

Copy link
Copy Markdown
Collaborator Author

@BSalaeddin

Copy link
Copy Markdown
Collaborator Author

Merged into canary as part of v0.29.8-devino.1. Upstream PR to follow.

@BSalaeddin BSalaeddin closed this Jun 17, 2026
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.

2 participants