From b6f518faec5dfcd785f6cb7756affce80054206c Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 28 Aug 2026 02:56:55 +0800 Subject: [PATCH] fix: allow bounded IBKR readiness recovery to complete Co-Authored-By: Codex --- .github/workflows/main.yml | 5 ++++- tests/test_workflow_shared_config.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 270e865..909f3a9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -187,7 +187,10 @@ jobs: needs: select-targets name: deploy (${{ matrix.target.name }}) runs-on: ubuntu-latest - timeout-minutes: 60 + # A progressing IB Gateway login may legitimately consume the bounded + # readiness budget (up to 61 minutes). Keep enough runner time for its + # cleanup trap to restore health watchers instead of cancelling mid-flow. + timeout-minutes: 75 strategy: fail-fast: false max-parallel: 1 diff --git a/tests/test_workflow_shared_config.sh b/tests/test_workflow_shared_config.sh index 0836ac4..d910f92 100644 --- a/tests/test_workflow_shared_config.sh +++ b/tests/test_workflow_shared_config.sh @@ -14,7 +14,7 @@ grep -Fq '"gcp_project_id": env("LEGACY_GCP_PROJECT_ID", "interactivebrokersquan grep -Fq 'providers/github-ibkr-gateway-main' "$workflow_file" grep -Fq 'ibkr-gateway-deploy@interactivebrokersquant.iam.gserviceaccount.com' "$workflow_file" grep -Fq 'id-token: write' "$workflow_file" -grep -Fq 'timeout-minutes: 60' "$workflow_file" +grep -Fq 'timeout-minutes: 75' "$workflow_file" grep -Fq 'sync_github_secrets_to_secret_manager:' "$workflow_file" grep -Fq 'deploy_mode:' "$workflow_file" grep -Fq 'workload_identity_provider: ${{ env.GCP_WORKLOAD_IDENTITY_PROVIDER }}' "$workflow_file"