diff --git a/deploy-queue/Cargo.lock b/deploy-queue/Cargo.lock index 3af1fef..69bcf48 100644 --- a/deploy-queue/Cargo.lock +++ b/deploy-queue/Cargo.lock @@ -342,7 +342,7 @@ dependencies = [ [[package]] name = "deploy-queue" -version = "0.8.1" +version = "0.8.2" dependencies = [ "anyhow", "backon", diff --git a/deploy-queue/Cargo.toml b/deploy-queue/Cargo.toml index b4ab16f..9eb54a6 100644 --- a/deploy-queue/Cargo.toml +++ b/deploy-queue/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "deploy-queue" -version = "0.8.1" +version = "0.8.2" edition = "2024" [dependencies] diff --git a/deploy-queue/README.md b/deploy-queue/README.md index 9c766dc..21e0ec7 100644 --- a/deploy-queue/README.md +++ b/deploy-queue/README.md @@ -264,7 +264,7 @@ These values are set in the initial migration and can be adjusted in the `enviro The system supports heartbeats to detect stuck deployments: - **Background heartbeats during `start`**: While waiting for blocking deployments, a background task updates the deployment's `heartbeat_timestamp`. If it fails to send heartbeats repeatedly, it cancels the deployment with a note. It also cancels other deployments with stale heartbeats that are blocking your deployment. -- **Manual heartbeats**: `deploy-queue heartbeat deployment --deployment-id ` (or `heartbeat url --url `) runs a foreground loop that sends heartbeats until stopped. +- **Manual heartbeats**: `deploy-queue heartbeat deployment ` (or `heartbeat url `) runs a foreground loop that sends heartbeats until stopped. - **Stale heartbeat detection**: deployments with a heartbeat older than the configured timeout (currently set to 15 minutes) are cancelled automatically when the heartbeat loop runs. ## Database Schema diff --git a/deploy-queue/bin/deploy-queue-heartbeat b/deploy-queue/bin/deploy-queue-heartbeat index 645f4bb..3f3d946 100755 --- a/deploy-queue/bin/deploy-queue-heartbeat +++ b/deploy-queue/bin/deploy-queue-heartbeat @@ -6,4 +6,4 @@ if [ -z "${DEPLOY_QUEUE_HEARTBEAT_URL:-}" ]; then exit 1 fi -exec deploy-queue heartbeat url --url "${DEPLOY_QUEUE_HEARTBEAT_URL}" +exec deploy-queue heartbeat url "${DEPLOY_QUEUE_HEARTBEAT_URL}"