Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[7.0.2 Cherry-pick] Fix macOS CI: trust microsoft/mssql-release tap for Homebrew 5.2+ - #4365

#4365
Merged
paulmedynski merged 1 commit into
release/7.0dotnet/SqlClient:release/7.0from
dev/automation/pr-4363-to-7.0.2dotnet/SqlClient:dev/automation/pr-4363-to-7.0.2Copy head branch name to clipboard
Jun 16, 2026
Merged

[7.0.2 Cherry-pick] Fix macOS CI: trust microsoft/mssql-release tap for Homebrew 5.2+#4365
paulmedynski merged 1 commit into
release/7.0dotnet/SqlClient:release/7.0from
dev/automation/pr-4363-to-7.0.2dotnet/SqlClient:dev/automation/pr-4363-to-7.0.2Copy head branch name to clipboard

Conversation

@github-actions

Copy link
Copy Markdown

Cherry-pick of #4363 (0764a5c) into release/7.0.

)

* Fix macOS CI: trust microsoft/mssql-release tap for Homebrew 5.2+

Homebrew 5.2.0 made untrusted-tap enforcement the default. After
'brew update' pulls in the new version, 'brew install mssql-tools18'
is refused because the microsoft/mssql-release tap is untrusted.

This caused sqlcmd to never be installed (exit code 127), so the
SQL Server connectivity check looped for 72 attempts and failed.

Add 'brew trust microsoft/mssql-release' after tapping and before
'brew update' to explicitly trust the Microsoft tap.

* Address PR #4363 review feedback

- Move 'brew trust' after 'brew update' so it works even when the
  runner image starts with a Homebrew version older than 5.2.
- Add a fail-fast check after 'brew install mssql-tools18' to
  immediately abort with a clear error if sqlcmd is not on PATH,
  avoiding the 6-minute timeout loop.
@github-actions
github-actions Bot requested a review from a team as a code owner June 15, 2026 19:12
@github-actions github-actions Bot added this to the 7.0.2 milestone Jun 15, 2026
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Jun 15, 2026
@paulmedynski

Copy link
Copy Markdown
Contributor

/azp run

@paulmedynski paulmedynski added the Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems. label Jun 15, 2026
@paulmedynski paulmedynski moved this from To triage to In progress in SqlClient Board Jun 15, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@paulmedynski
paulmedynski enabled auto-merge (squash) June 15, 2026 19:46
@paulmedynski paulmedynski moved this from In progress to In review in SqlClient Board Jun 15, 2026
@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.97%. Comparing base (4a37600) to head (7af88fc).

❗ There is a different number of reports uploaded between BASE (4a37600) and HEAD (7af88fc). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (4a37600) HEAD (7af88fc)
CI-SqlClient 1 0
Additional details and impacted files
@@               Coverage Diff               @@
##           release/7.0    #4365      +/-   ##
===============================================
- Coverage        75.05%   67.97%   -7.09%     
===============================================
  Files              280      275       -5     
  Lines            43856    66952   +23096     
===============================================
+ Hits             32918    45510   +12592     
- Misses           10938    21442   +10504     
Flag Coverage Δ
CI-SqlClient ?
PR-SqlClient-Project 67.97% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paulmedynski
paulmedynski merged commit 778614a into release/7.0 Jun 16, 2026
302 checks passed
@paulmedynski
paulmedynski deleted the dev/automation/pr-4363-to-7.0.2 branch June 16, 2026 10:28
@github-project-automation github-project-automation Bot moved this from In review to Done in SqlClient Board Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area\Engineering Use this for issues that are targeted for changes in the 'eng' folder or build systems.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.