Skip to content

Commit b329dea

Browse files
Merge branch 'Azure:main' into majorUpdateChecker
2 parents fc15670 + c048b77 commit b329dea

File tree

722 files changed

+70115
-36956
lines changed

Some content is hidden

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

722 files changed

+70115
-36956
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255

256256
# PRLabel: %AI Projects
257257
# ServiceLabel: %AI Projects %Service Attention
258-
/sdk/ai/azure-ai-projects/ @dargilco @jhakulin
258+
/sdk/ai/azure-ai-projects/ @dargilco @jhakulin @trangevi @glharper @nick863 @howieleung
259259

260260

261261
# PRLabel: %HDInsight
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
mode: 'agent'
3+
tools: ['CheckPackageReleaseReadiness']
4+
description: 'This prompt is designed to check the release readiness of a SDK package.'
5+
---
6+
## Goal
7+
Check the release readiness of an SDK package by collecting the required information from the user and executing the readiness check.
8+
9+
## Instructions
10+
1. **Collect Required Information**:
11+
- Prompt the user for the exact package name
12+
- Prompt the user to select the programming language from the following options (case sensitive):
13+
- Python
14+
- Java
15+
- JavaScript
16+
- .NET
17+
- Go
18+
19+
2. **Execute Readiness Check**:
20+
- Use the `CheckPackageReleaseReadiness` tool with the provided package name and selected language
21+
- Do not check for existing pull requests to run this step.
22+
- Do not ask the user to create a release plan to run this step.
23+
24+
3. **Present Results**:
25+
- If the package is ready for release, highlight and provide the link to the release pipeline
26+
- If the package is not ready, display the specific issues that need to be resolved
27+
28+
4. **Follow-up Actions**:
29+
- Provide clear next steps based on the readiness status
30+
- If issues are found, offer guidance on how to resolve them
31+
32+
## Expected User Interaction Flow
33+
1. Ask: "What is the exact name of the package you want to check for release readiness?"
34+
2. Ask: "Please select the programming language for this package: Python, Java, JavaScript, .NET, or Go"
35+
3. Execute the readiness check using the provided information
36+
4. Display results and next steps

.vscode/mcp.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"azure-sdk-python-mcp",
1111
"azure-sdk-python-mcp"
1212
],
13+
},
14+
"azure-sdk-mcp": {
15+
"type": "stdio",
16+
"command": "pwsh",
17+
"args": ["${workspaceFolder}/eng/common/mcp/azure-sdk-mcp.ps1", "-Run"]
1318
}
1419
}
1520
}

doc/dev/ai/typespec_generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Copilot will automatically:
2424

2525
1. **Verify environment** - Check dependencies and virtual environment
2626
2. **Generate SDK** - Run TypeSpec generation (~5-6 minutes)
27-
3. **Validate code** - Run Pylint, MyPy, Pyright, Verifytypes (~3-5 minutes each)
27+
3. **Validate code** - Run Pylint, MyPy, Pyright, Verifytypes, Sphinx, Mindependency, Bandit, Black, Samples, Breaking changes (~3-5 minutes each)
2828
4. **Update docs** - Create/update CHANGELOG.md and version files
2929
5. **Commit changes** - Add, commit, and push to your branch
3030
6. **Create PR** - Generate pull request in draft mode

eng/common/TestResources/deploy-test-resources.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
parameters:
22
ServiceDirectory: ''
3+
TestResourcesDirectory: ''
34
ArmTemplateParameters: '@{}'
45
DeleteAfterHours: 8
56
Location: ''
@@ -98,6 +99,7 @@ steps:
9899
eng/common/TestResources/New-TestResources.ps1 `
99100
-ResourceType '${{ parameters.ResourceType }}' `
100101
-ServiceDirectory '${{ parameters.ServiceDirectory }}' `
102+
-TestResourcesDirectory '${{ parameters.TestResourcesDirectory }}' `
101103
-Location '${{ parameters.Location }}' `
102104
-DeleteAfterHours '${{ parameters.DeleteAfterHours }}' `
103105
@subscriptionConfiguration `
@@ -142,6 +144,7 @@ steps:
142144
eng/common/TestResources/New-TestResources.ps1 `
143145
-ResourceType '${{ parameters.ResourceType }}' `
144146
-ServiceDirectory '${{ parameters.ServiceDirectory }}' `
147+
-TestResourcesDirectory '${{ parameters.TestResourcesDirectory }}' `
145148
-Location '${{ parameters.Location }}' `
146149
-DeleteAfterHours '${{ parameters.DeleteAfterHours }}' `
147150
@subscriptionConfiguration `

eng/common/mcp/azure-sdk-mcp.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ if ($Clean) {
2626
}
2727

2828
if ($UpdateVsCodeConfig) {
29-
$vscodeConfigPath = $PSScriptRoot + "../../../.vscode/mcp.json"
29+
$vscodeConfigPath = Join-Path $PSScriptRoot ".." ".." ".." ".vscode" "mcp.json"
3030
if (Test-Path $vscodeConfigPath) {
31-
$vscodeConfig = Get-Content -Raw $vscodeConfig | ConvertFrom-Json -AsHashtable
31+
$vscodeConfig = Get-Content -Raw $vscodeConfigPath | ConvertFrom-Json -AsHashtable
3232
}
3333
else {
3434
$vscodeConfig = @{}
3535
}
3636
$serverKey = "azure-sdk-mcp"
3737
$serverConfig = @{
3838
"type" = "stdio"
39-
"command" = "/home/ben/azs/azure-sdk-tools/eng/common/mcp/azure-sdk-mcp.ps1"
39+
"command" = "$PSCommandPath"
4040
}
4141
$orderedServers = [ordered]@{
4242
$serverKey = $serverConfig
@@ -51,7 +51,7 @@ if ($UpdateVsCodeConfig) {
5151
}
5252
$vscodeConfig.servers = $orderedServers
5353
Write-Host "Updating vscode mcp config at $vscodeConfigPath"
54-
$vscodeConfig | ConvertTo-Json -Depth 10 | Set-Content -Path $vscodeConfig -Force
54+
$vscodeConfig | ConvertTo-Json -Depth 10 | Set-Content -Path $vscodeConfigPath -Force
5555
}
5656

5757
$exe = Install-Standalone-Tool `

eng/common/pipelines/codeowners-linter.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@ stages:
3838
UserOrgUri: "https://azuresdkartifacts.blob.core.windows.net/azure-sdk-write-teams/user-org-visibility-blob"
3939

4040
steps:
41-
- task: DotNetCoreCLI@2
42-
displayName: 'Install CodeownersLinter'
43-
inputs:
44-
command: custom
45-
custom: 'tool'
46-
arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"'
47-
workingDirectory: '$(Build.SourcesDirectory)/eng/common'
41+
- pwsh: |
42+
dotnet tool install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"
43+
displayName: Install CodeownersLinter
44+
workingDirectory: '$(Agent.WorkFolder)' # Some directory outside of the source clone to avoid hitting global.json files when any version of dotnet will work for this install
4845
4946
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
5047
- pwsh: |

0 commit comments

Comments
 (0)