From 101a45a04fd262e318ceb6bf14a0b8f2440b2bf0 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Tue, 12 Aug 2025 00:13:18 +0000 Subject: [PATCH] fix: FORCE debug mode on - no more conditions Just always enable debug mode on this branch. We need tmate to work for investigation! --- .github/workflows/build-reusable.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml index 700b51e..112f3b1 100644 --- a/.github/workflows/build-reusable.yml +++ b/.github/workflows/build-reusable.yml @@ -274,18 +274,9 @@ jobs: echo "🔍 GITHUB HEAD_REF: '${{ github.head_ref }}'" # Start tmate session INSIDE the test step if debug enabled - # Force debug mode for this investigation branch - DEBUG_MODE=false - if [[ "${{ inputs.debug_enabled }}" == "true" ]]; then - DEBUG_MODE=true - echo "✅ Debug enabled via manual trigger" - elif [[ "${{ contains(github.event.head_commit.message, '[debug]') }}" == "true" ]]; then - DEBUG_MODE=true - echo "✅ Debug enabled via [debug] in commit message" - elif [[ "${{ github.head_ref }}" == "debug/clean-state-investigation" ]] || [[ "${{ github.ref }}" == "refs/heads/debug/clean-state-investigation" ]]; then - DEBUG_MODE=true - echo "✅ Debug enabled for debug investigation branch" - fi + # FORCE DEBUG MODE - Always enable on this debug branch + DEBUG_MODE=true + echo "✅ DEBUG MODE FORCED ON - Investigation branch" if [[ "$DEBUG_MODE" == "true" ]]; then echo "🔧 DEBUG MODE: Starting tmate session before tests..."