Skip to content

fix(ci): update MSSQL health check to mssql-tools18#4

Closed
Copilot wants to merge 1 commit into
copilot/add-github-ci-workflowfrom
copilot/fix-failing-github-actions-job
Closed

fix(ci): update MSSQL health check to mssql-tools18#4
Copilot wants to merge 1 commit into
copilot/add-github-ci-workflowfrom
copilot/fix-failing-github-actions-job

Conversation

Copy link
Copy Markdown

Copilot AI commented May 27, 2026

The mcr.microsoft.com/mssql/server:2019-latest image now ships mssql-tools18 instead of mssql-tools, moving sqlcmd to /opt/mssql-tools18/bin/sqlcmd. The old health check path caused the container to never pass its health check, aborting the job with Failed to initialize container.

Changes

  • .github/workflows/ci.yml: Update MSSQL service container health check to use the new binary path and add -C (trust server certificate, required by sqlcmd 18's stricter SSL defaults)
- --health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Postgrator123!' -Q 'SELECT 1'"
+ --health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'Postgrator123!' -Q 'SELECT 1' -C"

@acoelhosantos acoelhosantos deleted the copilot/fix-failing-github-actions-job branch May 27, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants