From d29cba046bc32506875ed2fe84783d5edada425c Mon Sep 17 00:00:00 2001 From: mikecarper Date: Sat, 3 Oct 2026 20:51:14 -0700 Subject: [PATCH] Align OTA profile prefix regression with frozen source identity --- test/test_nrf52_ota_profiles.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_nrf52_ota_profiles.sh b/test/test_nrf52_ota_profiles.sh index c339d1989..d309121fc 100644 --- a/test/test_nrf52_ota_profiles.sh +++ b/test/test_nrf52_ota_profiles.sh @@ -74,9 +74,9 @@ BUILD_PROFILE_EXPLICIT=0 # Use the same explicit source prefix as canonical release packaging, not # Git's repository-dependent/adaptive abbreviated hash length. worker_source=$(declare -f build_firmware_one_profile) -[[ "$worker_source" == *'commit_hash=$(git rev-parse HEAD)'* ]] \ +[[ "$worker_source" == *'full_source_commit=$(git rev-parse HEAD)'* ]] \ || fail "builder does not derive publication prefix from full source identity" -[[ "$worker_source" == *'commit_hash=${commit_hash:0:8}'* ]] \ +[[ "$worker_source" == *'commit_hash=${full_source_commit:0:8}'* ]] \ || fail "builder publication hash disagrees with canonical release prefix" calls=()