-
Notifications
You must be signed in to change notification settings - Fork 314
[5.1] Stabilize CI Pipelines #3599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release/5.1
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR backports fixes from newer versions to address macOS test failures and improve pipeline reliability. The main purpose is to reduce database name lengths and configure test timeouts to prevent test failures on macOS systems.
Key changes:
- Reduced maximum generated database name length from 128 to 96 characters to address macOS naming limitations
- Added configurable test job timeout parameter with a default of 90 minutes to prevent timeouts on slower systems
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs | Modified database name generation to enforce 96-character limit with proper bracket handling |
eng/pipelines/dotnet-sqlclient-signing-pipeline.yml | Added testsTimeout parameter with 90-minute default and passed it to test jobs |
eng/pipelines/common/templates/jobs/run-tests-package-reference-job.yml | Added timeout parameter and applied it to job configuration |
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
Outdated
Show resolved
Hide resolved
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/5.1 #3599 +/- ##
===============================================
- Coverage 71.83% 64.92% -6.91%
===============================================
Files 293 293
Lines 61647 61659 +12
===============================================
- Hits 44283 40031 -4252
- Misses 17364 21628 +4264
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Fixed the unique name generators to: - Keep max lengths to 30 and 96 characters respectively. - Ensure uniqueness at the start of the names. - Added link to database identifier syntax.
- Removed DateOnly tests that aren't supported on 5.1.
…3542) - Adjusted CodeQL suppression to meet the strict requirements of where it may appear relative to the flagged code. - Adding catch for macOS socket error to log and ignore.
- Added console diagnostics to see when Enclave tables are dropped.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Description