Skip to content

Commit 140bd61

Browse files
2 parents c280b03 + dce2b54 commit 140bd61

File tree

2,430 files changed

+137716
-69435
lines changed

Some content is hidden

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

2,430 files changed

+137716
-69435
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,12 @@
6262
# PRLabel: %Storage
6363
/sdk/storage/ @annatisch @jalauzon-msft @vincenttran-msft @weirongw23-msft
6464

65-
# AzureSdkOwners: @xiangyan99
65+
# AzureSdkOwners: @mrm9084
6666
# ServiceLabel: %App Configuration
6767
# ServiceOwners: @albertofori @avanigupta @mrm9084
6868

6969
# PRLabel: %App Configuration
70-
/sdk/appconfiguration/ @xiangyan99
71-
72-
# ServiceOwners: @mrm9084
73-
# ServiceLabel: %App Configuration Provider
74-
75-
# PRLabel: %App Configuration Provider
76-
/sdk/appconfiguration/azure-appconfiguration-provider/ @albertofori @avanigupta @mrm9084 @rossgrambo
70+
/sdk/appconfiguration/ @albertofori @avanigupta @mrm9084 @rossgrambo @xiangyan99
7771

7872
# ServiceLabel: %Attestation
7973
# PRLabel: %Attestation
@@ -84,7 +78,7 @@
8478
/sdk/batch/ @jingjlii @JJJessieWang @wanghoppe @dpwatrous @wiboris @cRui861
8579

8680
# PRLabel: %CognitiveServices
87-
/sdk/cognitiveservices/ @kristapratico
81+
/sdk/cognitiveservices/ @lmazuel
8882

8983
# ServiceLabel: %Communication
9084
# PRLabel: %Communication
@@ -320,7 +314,7 @@
320314
# ServiceOwners: @trrwilson
321315

322316
# PRLabel: %OpenAI
323-
/sdk/openai/ @trrwilson
317+
/sdk/openai/ @trrwilson @kashifkhan
324318

325319
# ServiceLabel: %Operator Nexus - Network Cloud
326320
# PRLabel: %Operator Nexus - Network Cloud
@@ -402,17 +396,17 @@
402396
# AzureSdkOwners: @xiangyan99
403397
# ServiceLabel: %Cognitive - Metrics Advisor
404398
# PRLabel: %Cognitive - Metrics Advisor
405-
/sdk/metricsadvisor/ @xiangyan99 @kristapratico @iscai-msft
399+
/sdk/metricsadvisor/ @xiangyan99 @iscai-msft
406400

407401
# ServiceLabel: %Cognitive - Anomaly Detector
408402
# PRLabel: %Cognitive - Anomaly Detector
409403
/sdk/anomalydetector/ @conhua @mengaims @juaduan @moreOver0
410404

411-
# ServiceOwners: @MikeyMCZ
405+
# ServiceOwners: @MikeyMCZ @Han-msft
412406
# ServiceLabel: %Cognitive - Translator
413407

414408
# PRLabel: %Cognitive - Translator
415-
/sdk/translation/ @kristapratico
409+
/sdk/translation/azure-ai-translation-document/ @Han-msft
416410
/sdk/translation/azure-ai-translation-text/ @MikeyMCZ
417411

418412
# PRLabel: %Cognitive - Language
@@ -841,7 +835,7 @@
841835
/eng/ @scbedd @weshaggard @benbp
842836
/eng/common/ @Azure/azure-sdk-eng
843837
/.github/workflows/ @Azure/azure-sdk-eng
844-
/.github/CODEOWNERS @lmazuel @xiangyan99 @kristapratico @Azure/azure-sdk-eng
838+
/.github/CODEOWNERS @lmazuel @xiangyan99 @kashifkhan @Azure/azure-sdk-eng
845839
/sdk/pullrequest.yml @scbedd @weshaggard @benbp
846840

847841
/.config/1espt/ @benbp @weshaggard
@@ -856,13 +850,13 @@
856850

857851
# Add owners for notifications for specific pipelines
858852
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
859-
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312 @kristapratico
853+
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @pvaneck
860854
/eng/common/pipelines/codeowners-linter.yml @lmazuel @mccoyp
861855
/eng/pipelines/docindex.yml @danieljurek @scbedd @weshaggard @benbp
862856

863857
# Add approvers for typespec-python emitter version updates
864-
/eng/emitter-package.json @mccoyp @catalinaperalta @kristapratico @iscai-msft
865-
/eng/emitter-package-lock.json @mccoyp @catalinaperalta @kristapratico @iscai-msft
858+
/eng/emitter-package.json @mccoyp @catalinaperalta @iscai-msft
859+
/eng/emitter-package-lock.json @mccoyp @catalinaperalta @iscai-msft
866860

867861
/pylintrc @l0lawrence @scbedd @mccoyp
868862
/sdk/**/ci.yml @msyyc @lmazuel

.github/copilot-instructions.md

Lines changed: 1 addition & 191 deletions
Original file line numberDiff line numberDiff line change
@@ -16,180 +16,6 @@
1616
**REQUIRED CONDITIONS:**
1717
- To use Azure MCP tool calls, users must have PowerShell installed. Provide [PowerShell installation instructions](https://learn.microsoft.com/powershell/scripting/install/installing-powershell) if not installed, and recommend restarting the IDE to start the MCP server.
1818

19-
**BEFORE any commands:**
20-
1. Get path to azure-sdk-for-python repo root, and path to tox.ini file
21-
2. Use `verify_setup` tool from azure-sdk-python-mcp server
22-
3. Ensure Python virtual environment is active
23-
24-
**Virtual Environment Setup:**
25-
```bash
26-
# Create new environment
27-
python -m venv <env_name>
28-
29-
# Activate environment
30-
# Linux/macOS:
31-
source <env_name>/bin/activate
32-
# Windows:
33-
<env_name>\Scripts\activate
34-
```
35-
36-
---
37-
38-
## TYPESPEC SDK GENERATION - COMPLETE WORKFLOW
39-
40-
### PHASE 1: CONTEXT ASSESSMENT
41-
42-
**ACTION:** Determine TypeSpec project location
43-
```
44-
IF TypeSpec project paths exist in context:
45-
USE local paths to generate SDK from tspconfig.yaml
46-
ELSE:
47-
ASK user for tspconfig.yaml file path
48-
```
49-
50-
### PHASE 2: PREREQUISITES CHECK
51-
52-
**REQUIRED CONDITIONS:**
53-
1. GitHub CLI authenticated: `gh auth login`
54-
2. User on feature branch (NOT main)
55-
```bash
56-
git checkout -b <branch_name>
57-
```
58-
59-
### PHASE 3: TSP-CLIENT RULES
60-
61-
**CRITICAL RULES:**
62-
- **LOCAL REPO:** Do NOT grab commit hash
63-
- **DIRECTORIES:** Let commands auto-create directories
64-
- **PACKAGE GENERATION:** Find tsp-location.yaml in azure-sdk-for-python repo
65-
- **URL REFERENCES:** Use commit hash (NOT branch name) for tspconfig.yaml URLs
66-
67-
**Get latest commit hash:**
68-
```bash
69-
curl -s "https://api.github.com/repos/Azure/azure-rest-api-specs/commits?path=<path_to_tspconfig.yaml>&per_page=1"
70-
```
71-
72-
**DEPENDENCIES:** Verify installation of: node, python, tox
73-
74-
---
75-
76-
## EXECUTION SEQUENCE - 7 MANDATORY STEPS
77-
78-
**ESTIMATED TOTAL TIME: 10-15 minutes**
79-
- SDK Generation: ~2 minutes
80-
- Static Validation: ~3-5 minutes
81-
- Documentation & Commit: ~2-4 minutes
82-
83-
**ALWAYS inform users of time expectations before starting any long-running operations.**
84-
85-
### STEP 1: ENVIRONMENT VERIFICATION
86-
```
87-
ACTION: Run verify_setup mcp tool
88-
IF missing dependencies:
89-
STOP and install missing dependencies
90-
THEN proceed to Step 2
91-
```
92-
93-
### STEP 2: SDK GENERATION
94-
```
95-
ACTION: Use azure-sdk-python-mcp sdk generation server tools (init for new packages, update for existing packages)
96-
IF commands fail:
97-
ANALYZE error messages
98-
DIRECT user to fix TypeSpec errors in source repo
99-
```
100-
101-
### STEP 3: STATIC VALIDATION (SEQUENTIAL)
102-
```
103-
FOR EACH validation step:
104-
RUN validation (tox mcp tool)
105-
IF errors/warnings found:
106-
FIX issues
107-
RERUN same step
108-
ONLY proceed to next step when current step passes
109-
```
110-
111-
**Validation Commands:**
112-
```bash
113-
# Step 3a: Pylint
114-
tox -e pylint -c [path to tox.ini] --root .
115-
116-
# Step 3b: MyPy
117-
tox -e mypy -c [path to tox.ini] --root .
118-
119-
# Step 3c: Pyright
120-
tox -e pyright -c [path to tox.ini] --root .
121-
122-
# Step 3d: Verifytypes
123-
tox -e verifytypes -c [path to tox.ini] --root .
124-
125-
# Step 3e: Sphinx
126-
tox -e sphinx -c [path to tox.ini] --root .
127-
128-
# Step 3f: Mindependency
129-
tox -e mindependency -c [path to tox.ini] --root .
130-
131-
# Step 3g: Bandit
132-
tox -e bandit -c [path to tox.ini] --root .
133-
134-
# Step 3h: Black
135-
tox -e black -c [path to tox.ini] --root .
136-
137-
# Step 3i: Samples
138-
tox -e samples -c [path to tox.ini] --root .
139-
140-
# Step 3j: Breaking
141-
tox -e breaking -c [path to tox.ini] --root .
142-
```
143-
144-
**REQUIREMENTS:**
145-
- Provide summary after each validation step
146-
- Edit ONLY files with validation errors/warnings
147-
- Fix each issue before proceeding
148-
149-
### STEP 4: DOCUMENTATION UPDATE
150-
```
151-
REQUIRED ACTIONS:
152-
1. CREATE/UPDATE CHANGELOG.md with changes
153-
2. VERIFY package version matches API spec version
154-
3. IF version incorrect: UPDATE _version.py AND CHANGELOG
155-
4. SET CHANGELOG entry date to TODAY
156-
```
157-
158-
### STEP 5: COMMIT AND PUSH
159-
```
160-
ACTION: Show changed files (ignore .github, .vscode)
161-
IF user confirms:
162-
git add <changed_files>
163-
git commit -m "<commit_message>"
164-
git push -u origin <branch_name>
165-
IF authentication fails:
166-
PROMPT: gh auth login
167-
IF user rejects:
168-
GUIDE to fix issues and revalidate
169-
```
170-
171-
### STEP 6: PULL REQUEST MANAGEMENT
172-
```
173-
CHECK: Does PR exist for current branch?
174-
IF PR exists:
175-
SHOW PR details
176-
IF NO PR exists:
177-
VERIFY branch != "main"
178-
PUSH changes to remote
179-
GENERATE PR title and description
180-
CREATE PR in DRAFT mode
181-
RETURN PR link
182-
ALWAYS: Display PR summary with status, checks, action items
183-
```
184-
185-
### STEP 7: HANDOFF
186-
```
187-
FINAL ACTIONS:
188-
1. RETURN PR URL for review
189-
2. PROMPT user with exact text:
190-
"Use the azure-rest-api-specs agent to handle the rest of the process and provide it the pull request."
191-
```
192-
19319
---
19420

19521
## PYLINT OPERATIONS
@@ -284,20 +110,4 @@ This library is failing two release blocking checks - Mypy and Tests - CI. The l
284110

285111
## SDK release
286112

287-
There are two tools to help with SDK releases:
288-
- Check SDK release readiness
289-
- Release SDK
290-
291-
### Check SDK Release Readiness
292-
Run `CheckPackageReleaseReadiness` to verify if the package is ready for release. This tool checks:
293-
- API review status
294-
- Change log status
295-
- Package name approval(If package is new and releasing a preview version)
296-
- Release date is set in release tracker
297-
298-
### Release SDK
299-
Run `ReleasePackage` to release the package. This tool requires package name and language as inputs. It will:
300-
- Check if the package is ready for release
301-
- Identify the release pipeline
302-
- Trigger the release pipeline.
303-
User needs to approve the release stage in the pipeline after it is triggered.
113+
For detailed workflow instructions, see [SDK Release](../eng/common/instructions/copilot/sdk-release.instructions.md).

.vscode/cspell.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,8 @@
12091209
"ikey",
12101210
"msecs",
12111211
"mycontainer",
1212+
"pclp",
1213+
"pcsp",
12121214
"semconv",
12131215
"updown",
12141216
"uvicorn"
@@ -1674,7 +1676,26 @@
16741676
"getopenidmetadata",
16751677
"getopenidmetadataasync",
16761678
"aikcert",
1677-
"shareduks"
1679+
"shareduks",
1680+
"PKIX",
1681+
"tcbbaselines",
1682+
"Iiwg",
1683+
"Ijog",
1684+
"Ghvc",
1685+
"MCIs",
1686+
"Mdxl",
1687+
"Dxxf",
1688+
"PYSN",
1689+
"Aiandr",
1690+
"Ijoic",
1691+
"Jjcn",
1692+
"QLTI",
1693+
"Hhnc",
1694+
"Mkxzellr",
1695+
"Sjhual",
1696+
"Inki",
1697+
"NGZZN",
1698+
"Igog",
16781699
]
16791700
},
16801701
{
@@ -1871,6 +1892,14 @@
18711892
"Onvif"
18721893
]
18731894
},
1895+
{
1896+
"filename": "sdk/confidentialledger/azure-confidentialledger/**",
1897+
"words": [
1898+
"mrenclave",
1899+
"MRENCLAVE",
1900+
"oeverify"
1901+
]
1902+
},
18741903
{
18751904
"filename": "sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/_operations/*.py",
18761905
"words": [

.vscode/mcp.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
{
22
"servers": {
3-
"azure-sdk-python-mcp": {
4-
"command": "uv",
5-
"args": [
6-
"run",
7-
"--index-url",
8-
"https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/",
9-
"--with",
10-
"azure-sdk-python-mcp",
11-
"azure-sdk-python-mcp"
12-
],
13-
},
143
"azure-sdk-mcp": {
154
"type": "stdio",
165
"command": "pwsh",

doc/analyze_check_versions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ This table is to clarify the currently pinned version of tools we run in CI and
55

66
| Tool | Current Version | Next Version | Next Version Merge Date |
77
|------|-----------------|--------------|-------------------------|
8-
Pylint | 3.2.7 | 3.2.7 | 2025-10-13 |
9-
Pylint Guidelines Checker | 0.5.6 | 0.5.7 | 2025-10-13 |
10-
MyPy | 1.14.1 | 1.14.1 | 2025-10-13 |
11-
Pyright | 1.1.391 | 1.1.391 | 2025-10-13 |
8+
Pylint | 3.2.7 | 3.2.7 | 2026-01-12 |
9+
Pylint Guidelines Checker | 0.5.6 | 0.5.7 | 2026-01-12 |
10+
MyPy | 1.14.1 | 1.18.1 | 2026-01-12 |
11+
Pyright | 1.1.391 | 1.1.405 | 2026-01-12 |
1212
Sphinx | 8.2.0 | N/A | N/A |
1313
Black | 24.4.0 | N/A | N/A |

doc/dev/how_to_request_a_feature_in_sdk.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)