From 5033cf2b2c6eb17e4c37267ec2cb1f2763646f1e Mon Sep 17 00:00:00 2001 From: notplants <@notplants> Date: Thu, 26 Nov 2026 03:17:58 +0000 Subject: [PATCH] loomio: declare the 5.2.1 db-config upgrade boundary --- tests/loomio/recipe_meta.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/loomio/recipe_meta.py b/tests/loomio/recipe_meta.py index de59e9f..198f43b 100644 --- a/tests/loomio/recipe_meta.py +++ b/tests/loomio/recipe_meta.py @@ -12,6 +12,15 @@ HEALTH_OK = (200, 302) DEPLOY_TIMEOUT = 1800 HTTP_TIMEOUT = 900 +# Structural upgrade boundary: 5.2.1 added a `pg_backup` config + backupbot labels to the `db` +# service. Swarm therefore RECREATES the db task during a 5.2.0 -> 5.2.1 stack update, and the app +# task (which restarts in parallel and runs `db:setup` against host `db`) dies with +# `PG::ConnectionBad: could not translate host name "db"` before the db task is back — swarm then +# pauses/rolls back the app update. In-place 5.2.0 -> 5.2.1 is consequently not supported; bases +# below 5.2.1 are excluded from upgrade-base resolution. From 5.2.1 onward the db service config is +# unchanged between releases, so later upgrades are app-only and do run. +UPGRADE_BASE_FLOOR = "5.2.1+v3.0.20" + # canon §2.B: enroll as a DATA-WARM canonical (all recipes enrolled — operator 2026-06-17). # The weekly sweep promotes this recipe's canonical to its latest green RELEASE TAG. WARM_CANONICAL = True