fix: guard stable containers during compat observation deploy
CI / test (push) Failing after 35s

This commit is contained in:
m
2026-08-30 13:01:32 +03:00
parent ebdfaa0769
commit d0210e5aed
5 changed files with 83 additions and 5 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
root="$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd)"
canary="$root/deploy/run-production-canary.sh"
supervisor="$root/deploy/update-supervisor.sh"
grep -Fq 'up -d --no-build --no-deps "${services[@]}"' "$canary"
grep -Fq 'compose up -d --no-build --no-deps supervisor' "$supervisor"
grep -Fq 'stable_ids_before=$(stable_ids)' "$canary"
grep -Fq 'assert_stable_ids_unchanged' "$canary"
grep -Fq 'before=$(stable_ids)' "$supervisor"
grep -Fq 'after=$(stable_ids)' "$supervisor"
grep -Fq 'stable container IDs changed' "$supervisor"
echo 'stable release-set guard: PASS'