Skip to content

Commit 9efe45a

Browse files
Merge branch 'main' into ayushhgarg/artifactpath
2 parents 7030ca8 + 89c1029 commit 9efe45a

27,166 files changed

Lines changed: 3173369 additions & 3680779 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/CODEOWNERS

Lines changed: 40 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,21 @@
1010

1111
# Core
1212
# PRLabel: %Core.Http
13-
/sdk/core/corehttp/ @pvaneck @lmazuel @annatisch @johanste @xiangyan99 @iscai-msft @kashifkhan
13+
/sdk/core/corehttp/ @lmazuel @johanste @iscai-msft @kashifkhan
1414

15-
# AzureSdkOwners: @xiangyan99 @kashifkhan @pvaneck
15+
# AzureSdkOwners: @kashifkhan
1616
# ServiceLabel: %Core.Http
1717

18-
# AzureSdkOwners: @xiangyan99 @kashifkhan
18+
# AzureSdkOwners: @kashifkhan
1919
# ServiceLabel: %Azure.Core
2020

2121
# PRLabel: %Azure.Core
22-
/sdk/core/ @lmazuel @annatisch @johanste
23-
/sdk/core/azure-core/ @lmazuel @annatisch @johanste @xiangyan99 @iscai-msft @kashifkhan @pvaneck
22+
/sdk/core/ @lmazuel @johanste
23+
/sdk/core/azure-core/ @lmazuel @johanste @iscai-msft @kashifkhan
2424
/sdk/core/azure-mgmt-core/ @msyyc
25-
/sdk/core/azure-core-tracing-opencensus/ @pvaneck
26-
/sdk/core/azure-core-tracing-opentelemetry/ @pvaneck
2725

2826
# Smoke Tests
29-
/common/smoketest/ @lmazuel @chlowell @annatisch @mccoyp @shurd @southpolesteve
27+
/common/smoketest/ @lmazuel @chlowell @mccoyp @shurd @southpolesteve
3028

3129
####################
3230
# Client Libraries
@@ -55,31 +53,24 @@
5553
/sdk/ai/azure-ai-projects/ @dargilco @glharper @howieleung @kingernupur @nick863 @trangevi @trrwilson @bobogogo1990
5654

5755
# PRLabel: %App Configuration
58-
/sdk/appconfiguration/ @albertofori @avanigupta @jimmyca15 @mrm9084 @rossgrambo @xiangyan99
56+
/sdk/appconfiguration/ @avanigupta @jimmyca15 @mrm9084
5957

6058
# AzureSdkOwners: @mrm9084
6159
# ServiceLabel: %App Configuration
62-
# ServiceOwners: @albertofori @avanigupta @mrm9084
60+
# ServiceOwners: @avanigupta @mrm9084
6361

6462
# ServiceLabel: %Attestation
6563
# PRLabel: %Attestation
6664
/sdk/attestation/azure-security-attestation/ @anilba06 @Azure/azure-sdk-write-attestation @gkostal
6765

68-
# PRLabel: %Azure Projects
69-
/sdk/projects/ @annatisch
70-
71-
# AzureSdkOwners: @annatisch
72-
# ServiceLabel: %Azure Projects
73-
# ServiceOwners: @annatisch
74-
75-
# AzureSdkOwners: @xiangyan99
66+
# AzureSdkOwners: @kashifkhan
7667
# ServiceLabel: %Azure.Identity
7768
# PRLabel: %Azure.Identity
78-
/sdk/identity/ @Azure/azure-sdk-write-identity @pvaneck @xiangyan99
69+
/sdk/identity/ @Azure/azure-sdk-write-identity
7970

8071
# ServiceLabel: %Batch
8172
# PRLabel: %Batch
82-
/sdk/batch/ @cRui861 @dpwatrous @jingjlii @JJJessieWang @wanghoppe @wiboris
73+
/sdk/batch/ @cRui861 @dpwatrous @jingjlii @JJJessieWang @wanghoppe @wiboris @lilinvictorms @iwang2 @xingwu1
8374

8475
# ServiceLabel: %Cognitive - Anomaly Detector
8576
# PRLabel: %Cognitive - Anomaly Detector
@@ -110,11 +101,6 @@
110101
# PRLabel: %Cognitive - Language
111102
/sdk/cognitivelanguage/ @ahmedaashour @bidisha-c @mikaelsitruk @quentinRobinson @sarkar-rajarshi
112103

113-
# AzureSdkOwners: @xiangyan99
114-
# ServiceLabel: %Cognitive - Metrics Advisor
115-
# PRLabel: %Cognitive - Metrics Advisor
116-
/sdk/metricsadvisor/ @iscai-msft @xiangyan99
117-
118104
# PRLabel: %Cognitive - Mgmt
119105
/sdk/cognitiveservices/ @lmazuel
120106

@@ -126,10 +112,10 @@
126112
/sdk/textanalytics/ @quentinRobinson @wangyuantao
127113

128114
# PRLabel: %Cognitive - Translator
129-
/sdk/translation/ @jrjrguo @SG-MS
115+
/sdk/translation/ @jrjrguo @zhangeugenia
130116

131117
# ServiceLabel: %Cognitive - Translator
132-
# ServiceOwners: @jrjrguo @SG-MS
118+
# ServiceOwners: @jrjrguo @zhangeugenia
133119

134120
# ServiceLabel: %Communication
135121
# PRLabel: %Communication
@@ -189,7 +175,7 @@
189175
# PRLabel: %Container Instances
190176
/sdk/containerinstance/ @samkreter @xizhamsft
191177

192-
# AzureSdkOwners: @kashifkhan
178+
# AzureSdkOwners: @kashifkhan
193179
# ServiceLabel: %Container Registry
194180
# PRLabel: %Container Registry
195181
/sdk/containerregistry/ @kashifkhan
@@ -249,7 +235,7 @@
249235
/sdk/durabletask/ @berndverst @cgillum @kaibocai @philliphoff @RyanLettieri @torosent
250236

251237
# PRLabel: %EngSys
252-
/sdk/template/ @benbp @scbedd @weshaggard
238+
/sdk/template/ @benbp @mikeharder @danieljurek
253239

254240
# PRLabel: %Evaluation
255241
/sdk/evaluation/ @Azure/azure-sdk-write-evaluation
@@ -263,10 +249,10 @@
263249
/sdk/eventgrid/ @rajeshka @shankarsama
264250

265251
# PRLabel: %Event Hubs
266-
/sdk/eventhub/ @axisc @hmlam @sjkwak
252+
/sdk/eventhub/ @axisc @hmlam @j7nw4r @SwayGom @sagar0207 @sjkwak
267253

268254
# ServiceLabel: %Event Hubs
269-
# ServiceOwners: @axisc @hmlam @sjkwak
255+
# ServiceOwners: @axisc @hmlam @j7nw4r @SwayGom @sagar0207 @sjkwak
270256

271257
# PRLabel: %Graph
272258
/sdk/graphrbac/ @lmazuel
@@ -281,7 +267,7 @@
281267
# PRLabel: %Hosted Agents
282268
/sdk/agentserver/ @ankitbko @vangarp @RaviPidaparthi
283269
# PRLabel: %Hosted Agents
284-
/sdk/agentserver/azure-ai-agentserver-githubcopilot/ @jodeklotzms @pradeepkintali @tendau @ganeshyb @code-vicar
270+
/sdk/agentserver/azure-ai-agentserver-ghcopilot/ @jodeklotzms @pradeepkintali @tendau @ganeshyb @code-vicar
285271

286272
# ServiceLabel: %Hosted Agents
287273
# ServiceOwners: @ankitbko @vangarp @RaviPidaparthi
@@ -319,14 +305,6 @@
319305
# PRLabel: %Maps
320306
/sdk/maps/ @andykao1213 @dubiety
321307

322-
# ServiceLabel: %Mixed Reality
323-
# PRLabel: %Mixed Reality
324-
/sdk/mixedreality/azure-mixedreality-authentication/ @RamonArguelles
325-
326-
# ServiceLabel: %Mixed Reality
327-
# PRLabel: %Mixed Reality
328-
/sdk/remoterendering/ @FlorianBorn71
329-
330308
# PRLabel: %Monitor
331309
/sdk/loganalytics/ @lirenhe @msyyc
332310

@@ -336,13 +314,12 @@
336314
# PRLabel: %Monitor
337315
/sdk/monitor/azure-mgmt-monitor @lirenhe @msyyc
338316

339-
# AzureSdkOwners: @pvaneck
340317
# ServiceLabel: %Monitor
341318
# PRLabel: %Monitor
342319
/sdk/monitor/azure-monitor-ingestion/ @Azure/azure-sdk-write-monitor-data-plane
343320

344321
# PRLabel: %Cognitive - Content Understanding
345-
/sdk/contentunderstanding/ @bojunehsu @changjian-wang @chienyuanchang @yungshinlintw
322+
/sdk/contentunderstanding/ @bojunehsu @changjian-wang @chienyuanchang @yungshinlintw
346323
# PRLabel: %Monitor
347324
/sdk/monitor/azure-monitor-query/ @Azure/azure-sdk-write-monitor-query-logs
348325

@@ -401,7 +378,7 @@
401378
# PRLabel: %Search
402379
/sdk/search/ @Azure/azsdk-search @Azure/azure-sdk-write-search
403380

404-
# AzureSdkOwners: @xiangyan99
381+
# AzureSdkOwners: @hizixin
405382
# ServiceLabel: %Search
406383
# ServiceOwners: @kuanlu95 @mattgotteiner
407384

@@ -776,7 +753,7 @@
776753
# ServiceOwners: @amber-yujueWang @rhurey @xitzhang @pankopon @emilyjiji
777754

778755
# PRLabel: %Storage
779-
/sdk/storage/ @annatisch @jalauzon-msft @vincenttran-msft @weirongw23-msft
756+
/sdk/storage/ @jalauzon-msft @vincenttran-msft @weirongw23-msft
780757

781758
# ServiceLabel: %Storage
782759
# ServiceOwners: @jalauzon-msft @vincenttran-msft
@@ -833,30 +810,33 @@
833810
###########
834811
# Eng Sys and other
835812
###########
836-
/eng/ @scbedd @weshaggard @benbp
813+
/eng/ @danieljurek @mikeharder @benbp
837814
/eng/common/ @Azure/azure-sdk-eng
838-
/eng/tools/ @scbedd @mccoyp
815+
/eng/tools/ @danieljurek @mccoyp
839816
/.github/workflows/ @Azure/azure-sdk-eng
840-
/.github/CODEOWNERS @lmazuel @xiangyan99 @kashifkhan @Azure/azure-sdk-eng
817+
/.github/workflows/typespec-python-regenerate.yml @Azure/azure-sdk-eng @tadelesh @msyyc @iscai-msft @ChenxiJiang333
818+
/.github/CODEOWNERS @lmazuel @kashifkhan @Azure/azure-sdk-eng
841819
/.github/copilot-instructions.md @l0lawrence @praveenkuttappan @maririos
842820
/.github/prompts/ @mccoyp @l0lawrence @benbp
843821
/.github/skills/ @mccoyp @l0lawrence @benbp
844-
/sdk/pullrequest.yml @scbedd @weshaggard @benbp
822+
/sdk/pullrequest.yml @danieljurek @mikeharder @benbp
845823

846-
/.config/1espt/ @benbp @weshaggard
847-
/.devcontainer/ @scbedd @mccoyp @benbp @weshaggard
848-
/.vscode/ @scbedd @mccoyp @benbp @weshaggard
824+
/.config/1espt/ @benbp @mikeharder
825+
/.devcontainer/ @danieljurek @mccoyp @benbp @mikeharder
826+
/.vscode/ @danieljurek @mccoyp @benbp @mikeharder
849827

850-
/scripts/ @scbedd @mccoyp
828+
/scripts/ @danieljurek @mccoyp
851829
/scripts/breaking_changes_checker/ @catalinaperalta
852-
/doc/ @scbedd @Azure/azure-python-sdk
853-
/conda/ @scbedd @xiangyan99 @lmazuel
830+
/doc/ @danieljurek @Azure/azure-python-sdk
831+
/conda/ @danieljurek @xiangyan99 @lmazuel
832+
833+
/shared_requirements.txt @azure/azure-sdk-eng @kashifkhan @xirzec
854834

855835
# Add owners for notifications for specific pipelines
856836
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
857-
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @pvaneck
837+
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp
858838
/eng/common/pipelines/codeowners-linter.yml @lmazuel @mccoyp
859-
/eng/pipelines/docindex.yml @danieljurek @scbedd @weshaggard @benbp
839+
/eng/pipelines/docindex.yml @danieljurek @benbp
860840

861841
# Add approvers for typespec-python emitter version updates
862842
/eng/emitter-package.json @mccoyp @catalinaperalta @iscai-msft @msyyc @ChenxiJiang333
@@ -865,11 +845,11 @@
865845
# TypeSpec Python generated tests and regeneration workflow
866846
/eng/tools/emitter/ @tadelesh @msyyc @iscai-msft @lmazuel @lirenhe @ChenxiJiang333
867847

868-
/pylintrc @l0lawrence @scbedd @mccoyp
869-
/sdk/**/ci.yml @msyyc @lmazuel @scbedd
848+
/pylintrc @l0lawrence @danieljurek @mccoyp
849+
/sdk/**/ci.yml @msyyc @lmazuel @danieljurek
870850

871851
# Add Johnathan Walker as code owner for Event Hubs SDK
872-
/sdk/eventhub/azure-eventhub/* @j7nw4r
852+
/sdk/eventhub/azure-eventhub/* @j7nw4r @SwayGom @sagar0207
873853

874854
# Add Johnathan Walker as code owner for Service Bus SDK
875-
/sdk/servicebus/azure-servicebus/* @j7nw4r
855+
/sdk/servicebus/azure-servicebus/* @j7nw4r @SwayGom @sagar0207

.github/actionlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
self-hosted-runner:
2+
labels:
3+
- 1ES.Pool=azsdk-pool-github-runners

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# AZURE SDK FOR PYTHON - COPILOT INSTRUCTIONS
22

3+
> **Note**: For general AI agent guidelines and repository overview, see [AGENTS.md](https://github.com/Azure/azure-sdk-for-python/blob/main/AGENTS.md) at the repository root.
4+
35
---
46

57
## CORE PRINCIPLES

.github/matchers/actionlint.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "actionlint",
5+
"pattern": [
6+
{
7+
"regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$",
8+
"file": 1,
9+
"line": 2,
10+
"column": 3,
11+
"message": 4,
12+
"code": 5
13+
}
14+
]
15+
}
16+
]
17+
}

.github/shared/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `.github/shared`
2+
3+
Copied from https://github.com/Azure/azure-rest-api-specs/tree/main/.github/shared

.github/shared/src/cache.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Caches values in memory with a single key of any type.
3+
*
4+
* @template K, V
5+
*/
6+
export class KeyedCache {
7+
/** @type {Map<K, V>} */
8+
#map = new Map();
9+
10+
/**
11+
* Returns cached value, initializing if necessary
12+
*
13+
* @param {K} key
14+
* @param {() => V} factory
15+
* @returns {V} cached value
16+
*
17+
* @example
18+
* const result = cache.getOrCreate(42, async () => await doWork(42));
19+
*/
20+
getOrCreate(key, factory) {
21+
let value = this.#map.get(key);
22+
23+
if (value === undefined) {
24+
value = factory();
25+
this.#map.set(key, value);
26+
}
27+
28+
return value;
29+
}
30+
}
31+
32+
/**
33+
* Caches values in memory with an ordered pair of keys of any types.
34+
*
35+
* @template K1, K2, V
36+
*/
37+
export class KeyedPairCache {
38+
// Two-layer nested cache
39+
/** @type {KeyedCache<K1, KeyedCache<K2, V>>} */
40+
#cache1 = new KeyedCache();
41+
42+
/**
43+
* Returns cached value, initializing if necessary.
44+
* Keys are ordered, so (key1, key2) != (key2, key1).
45+
*
46+
* @param {K1} key1
47+
* @param {K2} key2
48+
* @param {() => V} factory
49+
* @returns {V} cached value
50+
*
51+
* @example
52+
* const result = cache.getOrCreate(42, 7, async () => await doWork(42, 7));
53+
*/
54+
getOrCreate(key1, key2, factory) {
55+
// key1 => cache for the next layer
56+
const cache2 = this.#cache1.getOrCreate(key1, () => new KeyedCache());
57+
58+
// key2 => final value
59+
return cache2.getOrCreate(key2, factory);
60+
}
61+
}

0 commit comments

Comments
 (0)