From 0b01032b5b73b090c5da0393fb24e1c09730deea Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 23 Dec 2025 07:08:00 +0000 Subject: [PATCH] fix(ci): Add || true to run_check calls to prevent early exit With set -euo pipefail, run_check returning 1 causes script to exit immediately. Added || true to all run_check calls in main() to allow script to continue and collect all failures before exiting at the end with proper summary. Note: Script may still have other issues causing early exit - needs further investigation. Build and TypeScript checks pass independently. --- scripts/verify.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/verify.sh b/scripts/verify.sh index f6e9e39..3dc0002 100755 --- a/scripts/verify.sh +++ b/scripts/verify.sh @@ -542,18 +542,20 @@ main() { print_environment install_dependencies - run_check "Native code not in src/" check_native_code_in_src + # Run checks - use || true to prevent set -e from exiting on failure + # We track failures in FAILED counter and exit at the end if any critical checks failed + run_check "Native code not in src/" check_native_code_in_src || true # Core source checks must be before build - run_check "Core module source checks" check_core_source + run_check "Core module source checks" check_core_source || true - run_check "TypeScript typecheck" check_typescript - run_check "Build" check_build + run_check "TypeScript typecheck" check_typescript || true + run_check "Build" check_build || true # Core artifacts checks must be after build - run_check "Core module artifact checks" check_core_artifacts + run_check "Core module artifact checks" check_core_artifacts || true - run_check "Package checks" check_package + run_check "Package checks" check_package || true check_android check_ios