fix(supervisor): preserve stable rollback target
CI / test (push) Failing after 32s

This commit is contained in:
m
2026-08-29 12:44:25 +03:00
parent af9d5809e9
commit 671ecb4968
4 changed files with 41 additions and 3 deletions
+1
View File
@@ -29,6 +29,7 @@ for attempt in $(seq 1 30); do
sleep 2
done
control /v1/releases/baseline -H 'Content-Type: application/json' --data "{\"id\":\"stable-$REVISION\",\"version\":\"$REVISION\"}" || fail_rollback
control /v1/releases/start -H 'Content-Type: application/json' --data "{\"id\":\"candidate-$REVISION\",\"version\":\"$REVISION\"}" || fail_rollback
control /v1/releases/observe -H 'Content-Type: application/json' --data "{\"release_id\":\"candidate-$REVISION\",\"ready\":true,\"reason\":\"candidate healthcheck passed\",\"observed_at_unix_millis\":$(date +%s%3N)}" || fail_rollback
control /v1/traffic/canary || fail_rollback