From 5d2352886fced82898e1003805311904c5aff488 Mon Sep 17 00:00:00 2001 From: cct0831 Date: Sun, 22 Mar 2026 16:46:25 +0800 Subject: [PATCH] fix(ci): use passthrough health check for MSSQL service container The previous health check used /dev/tcp (bash-only syntax) inside the MSSQL container which runs sh, causing health check to always fail. Replace with --health-cmd "true" and rely on the runner-side bash TCP check in the "Wait for MSSQL ready" step. Closes #720 Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/integration-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 3be6c99b..e4b530a9 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -20,10 +20,10 @@ jobs: ports: - 1433:1433 options: >- - --health-cmd "cat /dev/null > /dev/tcp/localhost/1433 || exit 1" + --health-cmd "true" --health-interval 10s --health-timeout 5s - --health-retries 10 + --health-retries 3 steps: - uses: actions/checkout@v4