Skip to content

Commit 358301c

Browse files
committed
Merge branch 'main' into tests/flaky-tests
2 parents edcc079 + 8afb242 commit 358301c

65 files changed

Lines changed: 1361 additions & 614 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/issue-triage.lock.yml

Lines changed: 17 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/issue-triage.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ safe-outputs:
1919
add-comment:
2020
max: 1
2121
hide-older-comments: true
22-
add-labels:
23-
max: 5
2422
---
2523

2624
# SqlClient Issue Auto-Triage
@@ -29,10 +27,10 @@ You are a triage specialist for **Microsoft.Data.SqlClient**.
2927
A new issue has just been opened. Your job is to:
3028

3129
1. Read the issue silently using GitHub read tools
32-
2. Apply labels silently using `add_labels`
33-
3. Post **one** triage summary comment using `add_comment`
30+
2. Post **one** triage summary comment using `add_comment`
3431

3532
That is the entire workflow. Do NOT call `add_comment` more than once.
33+
Do NOT call `add_labels`. Do NOT apply any labels.
3634
Do NOT post intermediate findings. Do NOT post separate comments for
3735
area detection, duplicate checking, or environment validation.
3836
Everything goes into the single triage summary at the end.
@@ -90,19 +88,9 @@ Proceed with all remaining triage steps regardless of missing environment detail
9088

9189
---
9290

93-
## Actions (execute in this order)
91+
## Actions
9492

95-
**First**: Call `add_labels` with at most 5 labels total (safe-outputs limit):
96-
- `Triage Needed :new:` (always)
97-
- Exactly **one** `Area\*` label from the table above (pick the single best match)
98-
- `Needs More Info :information_source:` if critical environment details are missing (bugs only)
99-
- `Repro Available :heavy_check_mark:` if repro steps are provided
100-
- `Regression :boom:` if this appears to be a regression
101-
102-
If the issue spans multiple areas, pick the primary area as the label and mention
103-
other relevant areas in the triage summary comment instead.
104-
105-
**Then**: Call `add_comment` exactly **once** with this markdown:
93+
Call `add_comment` exactly **once** with this markdown:
10694

10795
```
10896
## 🔍 Triage Summary
@@ -111,7 +99,7 @@ other relevant areas in the triage summary comment instead.
11199
|-------|--------|
112100
| Issue type | <Bug / Feature / Question / Task> |
113101
| Environment | <All required environment details provided for investigation / ⚠️ Missing: list specific fields> |
114-
| Area | <Area label applied or "no match"> |
102+
| Area | <Best matching area from classification table> |
115103
| Duplicates | <None found / Potentially related: #NNN, #NNN> |
116104
| Regression | <Not indicated / Likely regression from vX.Y.Z / Inconclusive> |
117105

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,3 +376,6 @@ MigrationBackup/
376376

377377
# MDS "Not Supported" GenAPI code
378378
**/notsupported/*.cs
379+
380+
# C# language server cache
381+
*.lscache

Directory.Packages.props

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
11
<Project>
2+
3+
<!-- ===================================================================== -->
4+
<!--
5+
Versions.props import strategy:
6+
7+
Each product has a Versions.props that computes its version properties (e.g.
8+
SqlClientPackageVersion). These files can be imported from two places:
9+
10+
1. Here, in Directory.Packages.props (Package mode only) — imports ALL
11+
Versions.props early so that centrally-managed PackageVersion items can
12+
reference the computed version values for sibling package pinning.
13+
14+
2. In each product's own csproj (conditional) — imports the product's own
15+
Versions.props so standalone / Project-mode builds still get versions.
16+
17+
To prevent double-evaluation when both paths fire, every Versions.props sets
18+
an import-guard property (e.g. SqlClientVersionsImported=true) on first load.
19+
The csproj-level import checks that guard and becomes a no-op if the file was
20+
already imported here.
21+
-->
22+
<ImportGroup Condition="'$(ReferenceType)' == 'Package'">
23+
<Import Project="src/Microsoft.Data.SqlClient/Versions.props" />
24+
<Import Project="src/Microsoft.SqlServer.Server/Versions.props" />
25+
<Import Project="src/Microsoft.Data.SqlClient.Internal/Logging/src/Versions.props" />
26+
<Import Project="src/Microsoft.Data.SqlClient.Extensions/Abstractions/src/Versions.props" />
27+
<Import Project="src/Microsoft.Data.SqlClient.Extensions/Azure/src/Versions.props" />
28+
<Import Project="src/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider/src/Versions.props" />
29+
</ImportGroup>
30+
231
<PropertyGroup>
332
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
433
<!--
@@ -14,33 +43,23 @@
1443
<!-- ===================================================================== -->
1544
<!-- Driver Packages -->
1645

17-
<!-- Ordered from least dependent to most dependent, and then alphabetically. -->
18-
19-
<ItemGroup>
20-
<!--
21-
We never reference this package via its project, so we always need a
22-
version specified.
23-
-->
24-
<PackageVersion Include="Microsoft.SqlServer.Server" Version="1.0.0" />
25-
</ItemGroup>
26-
27-
<!--
28-
We only need other driver package versions specified when building via
29-
package references.
30-
-->
46+
<!-- The driver packages need version numbers when we build via Package references. -->
3147
<ItemGroup Condition="'$(ReferenceType)' == 'Package'">
48+
<PackageVersion
49+
Include="Microsoft.SqlServer.Server"
50+
Version="$(SqlServerPackageVersion)" />
3251
<PackageVersion
3352
Include="Microsoft.Data.SqlClient.Internal.Logging"
3453
Version="$(LoggingPackageVersion)" />
3554
<PackageVersion
3655
Include="Microsoft.Data.SqlClient.Extensions.Abstractions"
3756
Version="$(AbstractionsPackageVersion)" />
38-
<PackageVersion
39-
Include="Microsoft.Data.SqlClient.Extensions.Azure"
40-
Version="$(AzurePackageVersion)" />
4157
<PackageVersion
4258
Include="Microsoft.Data.SqlClient"
4359
Version="$(SqlClientPackageVersion)" />
60+
<PackageVersion
61+
Include="Microsoft.Data.SqlClient.Extensions.Azure"
62+
Version="$(AzurePackageVersion)" />
4463
<PackageVersion
4564
Include="Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider"
4665
Version="$(AkvProviderPackageVersion)" />

0 commit comments

Comments
 (0)