From f5be0bea0947b64b7073f30a661bd54b5f34eac8 Mon Sep 17 00:00:00 2001 From: AztecBot Date: Mon, 30 Mar 2026 14:50:03 +0000 Subject: [PATCH] fix: run compatibility tests on all v4-related branches The regex for triggering testnet_compatibility and mainnet_compatibility tests only matched branches like 'v4' (^v[0-9]+$). This missed PRs targeting backport-to-v4-staging, v4-next, and backport-to-v4-next. Expanded the regex to match all four branch patterns. --- yarn-project/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index 2509a7628e4e..7aff7576aa3b 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -224,7 +224,7 @@ function test_cmds { # Aztec CLI tests aztec/bootstrap.sh test_cmds - if [[ "${TARGET_BRANCH:-}" =~ ^v[0-9]+$ ]]; then + if [[ "${TARGET_BRANCH:-}" =~ ^(v[0-9]+(-next)?|backport-to-v[0-9]+-(staging|next))$ ]]; then echo "$hash yarn-project/scripts/run_test.sh aztec/src/testnet_compatibility.test.ts" echo "$hash yarn-project/scripts/run_test.sh aztec/src/mainnet_compatibility.test.ts" fi