From d316911355f0ba69b3163b9e19e53bcca8605f72 Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 11 Oct 2026 21:51:20 -0400 Subject: [PATCH] Run server image for migration contract changes --- tools/ci/ci-paths-check.sh | 4 ++++ tools/ci/ci-paths.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/ci/ci-paths-check.sh b/tools/ci/ci-paths-check.sh index ea7ac42..6f77e28 100644 --- a/tools/ci/ci-paths-check.sh +++ b/tools/ci/ci-paths-check.sh @@ -59,6 +59,10 @@ life_contract_base="$(git rev-parse HEAD)" echo contract > tests/cellular_lives_tests.cpp git add .; git commit -qm cellular-lives-contract expect "push: cellular lives contract runs server image" 0 CI_EVENT=push "CI_BEFORE=$life_contract_base" -- server-image +migration_contract_base="$(git rev-parse HEAD)" +echo contract > tests/region_migration_tests.cpp +git add .; git commit -qm region-migration-contract +expect "push: region migration contract runs server image" 0 CI_EVENT=push "CI_BEFORE=$migration_contract_base" -- server-image # Client dependency updates must select the isolated client gate. mkdir -p tools client_base="$(git rev-parse HEAD)" diff --git a/tools/ci/ci-paths.sh b/tools/ci/ci-paths.sh index da312b0..2727fe8 100755 --- a/tools/ci/ci-paths.sh +++ b/tools/ci/ci-paths.sh @@ -50,8 +50,8 @@ case "$suite" in ;; server-image) # These session-control and cellular contract tests exercise the server image's - # runtime boundary; keep its smoke image in the same validation slice. - pattern="$common|$native|tests/network_control\.cpp|tests/cellular_(session_batch|lives)_tests\.cpp|migrations/|tools/prepare-postgres\.sh|tools/ci/server-image-smoke\.sh|deploy/docker/Dockerfile" + # runtime boundary; migration integration tests cover its schema bootstrap path. + pattern="$common|$native|tests/network_control\.cpp|tests/cellular_(session_batch|lives)_tests\.cpp|tests/region_migration_tests\.cpp|migrations/|tools/prepare-postgres\.sh|tools/ci/server-image-smoke\.sh|deploy/docker/Dockerfile" ;; image) pattern="$common|$native|tests/|deploy/docker/Dockerfile"