Skip to content

Commit 5985744

Browse files
authored
Merge branch 'main' into promote-lintdiff-repeated-path-info
2 parents 1405422 + a0bbfbf commit 5985744

57 files changed

Lines changed: 1201 additions & 214 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@azure-tools/typespec-benchmark"
5+
---
6+
7+
Expand HTTP client emitter coverage on built-in specs and Azure services, including Go and npm-installed Azure C#. Include OpenAPI3 on every built-in spec; exclude it from Azure services because of incompatible Azure-specific routes. Temporarily exclude Azure TypeScript on Network because of a client-group naming collision. Require complete configured-emitter timings and record the published C# versions.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@azure-tools/azure-http-specs"
5+
---
6+
7+
Update the ARM multi-service and multi-service shared-model scenarios to use modern ARM common types so resource IDs project as `armResourceIdentifier`.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: fix
3+
packages:
4+
- "@azure-tools/typespec-go"
5+
---
6+
7+
Fix naming for internal LRO methods and supporting types.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: feature
3+
packages:
4+
- "@azure-tools/typespec-client-generator-core"
5+
---
6+
7+
Expose service-level HTTP authentication requirements on SDK clients while preserving the existing credential parameter projection.

‎.github/workflows/agentics-maintenance.yml‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
discussions: write
9595
steps:
9696
- name: Setup Scripts
97-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
97+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
9898
with:
9999
destination: ${{ runner.temp }}/gh-aw/actions
100100

@@ -113,7 +113,7 @@ jobs:
113113
issues: write
114114
steps:
115115
- name: Setup Scripts
116-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
116+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
117117
with:
118118
destination: ${{ runner.temp }}/gh-aw/actions
119119

@@ -132,7 +132,7 @@ jobs:
132132
pull-requests: write
133133
steps:
134134
- name: Setup Scripts
135-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
135+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
136136
with:
137137
destination: ${{ runner.temp }}/gh-aw/actions
138138

@@ -152,7 +152,7 @@ jobs:
152152
actions: write
153153
steps:
154154
- name: Setup Scripts
155-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
155+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
156156
with:
157157
destination: ${{ runner.temp }}/gh-aw/actions
158158

@@ -181,7 +181,7 @@ jobs:
181181
persist-credentials: false
182182

183183
- name: Setup Scripts
184-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
184+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
185185
with:
186186
destination: ${{ runner.temp }}/gh-aw/actions
187187

@@ -196,7 +196,7 @@ jobs:
196196
await main();
197197
198198
- name: Install gh-aw
199-
uses: github/gh-aw-actions/setup-cli@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
199+
uses: github/gh-aw-actions/setup-cli@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
200200
with:
201201
version: v0.86.2
202202

@@ -228,7 +228,7 @@ jobs:
228228
pull-requests: write
229229
steps:
230230
- name: Setup Scripts
231-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
231+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
232232
with:
233233
destination: ${{ runner.temp }}/gh-aw/actions
234234

@@ -275,7 +275,7 @@ jobs:
275275
persist-credentials: false
276276

277277
- name: Setup Scripts
278-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
278+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
279279
with:
280280
destination: ${{ runner.temp }}/gh-aw/actions
281281

@@ -321,7 +321,7 @@ jobs:
321321
persist-credentials: false
322322

323323
- name: Setup Scripts
324-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
324+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
325325
with:
326326
destination: ${{ runner.temp }}/gh-aw/actions
327327

@@ -336,7 +336,7 @@ jobs:
336336
await main();
337337
338338
- name: Install gh-aw
339-
uses: github/gh-aw-actions/setup-cli@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
339+
uses: github/gh-aw-actions/setup-cli@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
340340
with:
341341
version: v0.86.2
342342

@@ -367,7 +367,7 @@ jobs:
367367
persist-credentials: false
368368

369369
- name: Setup Scripts
370-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
370+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
371371
with:
372372
destination: ${{ runner.temp }}/gh-aw/actions
373373

@@ -382,7 +382,7 @@ jobs:
382382
await main();
383383
384384
- name: Install gh-aw
385-
uses: github/gh-aw-actions/setup-cli@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
385+
uses: github/gh-aw-actions/setup-cli@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
386386
with:
387387
version: v0.86.2
388388

@@ -472,7 +472,7 @@ jobs:
472472
persist-credentials: false
473473

474474
- name: Setup Scripts
475-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
475+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
476476
with:
477477
destination: ${{ runner.temp }}/gh-aw/actions
478478

@@ -487,7 +487,7 @@ jobs:
487487
await main();
488488
489489
- name: Install gh-aw
490-
uses: github/gh-aw-actions/setup-cli@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
490+
uses: github/gh-aw-actions/setup-cli@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
491491
with:
492492
version: v0.86.2
493493

@@ -564,7 +564,7 @@ jobs:
564564
issues: write
565565
steps:
566566
- name: Setup Scripts
567-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
567+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
568568
with:
569569
destination: ${{ runner.temp }}/gh-aw/actions
570570

@@ -601,7 +601,7 @@ jobs:
601601
persist-credentials: false
602602

603603
- name: Setup Scripts
604-
uses: github/gh-aw-actions/setup@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
604+
uses: github/gh-aw-actions/setup@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
605605
with:
606606
destination: ${{ runner.temp }}/gh-aw/actions
607607

@@ -616,7 +616,7 @@ jobs:
616616
await main();
617617
618618
- name: Install gh-aw
619-
uses: github/gh-aw-actions/setup-cli@d462c12b8f1f616b55fed699787b0280c594e592 # v0.88.6
619+
uses: github/gh-aw-actions/setup-cli@045beb2d14bda8d0c1f2e83b41527f63770d2855 # v0.89.15
620620
with:
621621
version: v0.86.2
622622

‎.github/workflows/benchmark-run.yml‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
env:
5555
TYPESPEC_VS_CI_BUILD: true
5656
TYPESPEC_SKIP_WEBSITE_BUILD: true
57+
NODE_OPTIONS: --max-old-space-size=12288
5758
steps:
5859
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5960
with:
@@ -64,16 +65,31 @@ jobs:
6465
with:
6566
node-version: 24.15.0
6667

68+
- uses: ./.github/actions/setup-python
69+
70+
- uses: ./.github/actions/setup-java
71+
72+
- uses: ./.github/actions/setup-go
73+
74+
- name: Setup .NET
75+
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
76+
with:
77+
dotnet-version: 10.0.x
78+
6779
- name: Install dependencies
6880
run: pnpm install
6981

7082
- name: Build
7183
run: pnpm -r --filter "@azure-tools/typespec-benchmark..." build
7284

85+
- name: Install C# emitter from npm
86+
if: ${{ inputs.backfill_from == '' }}
87+
run: node packages/benchmark/scripts/setup-csharp.ts
88+
7389
- name: Run backfill
7490
if: ${{ inputs.backfill_from != '' }}
7591
run: |
76-
node --max-old-space-size=6144 packages/benchmark/dist/src/cli.js backfill \
92+
node packages/benchmark/dist/src/cli.js backfill \
7793
--from ${{ inputs.backfill_from }} \
7894
--specs-dir ${{ inputs.specs-dir }} \
7995
--iterations ${{ inputs.iterations }} \
@@ -84,7 +100,7 @@ jobs:
84100
- name: Run benchmarks
85101
if: ${{ inputs.backfill_from == '' }}
86102
run: |
87-
node --max-old-space-size=6144 packages/benchmark/dist/src/cli.js run \
103+
node packages/benchmark/dist/src/cli.js run \
88104
--specs-dir ${{ inputs.specs-dir }} \
89105
--iterations ${{ inputs.iterations }} \
90106
--warmup ${{ inputs.warmup }} \

‎.github/workflows/codeql.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
44+
uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
4545
with:
4646
languages: ${{ matrix.language }}
4747
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
57+
uses: github/codeql-action/autobuild@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -67,6 +67,6 @@ jobs:
6767
# ./location_of_script_within_repo/buildscript.sh
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
70+
uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
7171
with:
7272
category: "/language:${{matrix.language}}"

‎.github/workflows/copilot-setup-steps.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1515
- name: Install gh-aw extension
16-
uses: github/gh-aw/actions/setup-cli@8e30bcd8897f5047051fa3971188e1dd4cdb23cf # v0.88.2
16+
uses: github/gh-aw/actions/setup-cli@97b9a7c376bb60bd7cbcf348a5a6349b52e266ff # v0.89.14
1717
with:
1818
version: v0.50.1

‎.prettierignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
# Coverage report directory
2020
**/coverage/
2121

22+
# Benchmark inputs downloaded from other repos and generated SDK output.
23+
packages/benchmark/.external/
24+
packages/benchmark/.emitters/
25+
packages/benchmark/**/tsp-output/
26+
2227
packages/samples/specs/resource-manager/common-types/**/*
2328

2429
# These are standard and should not be edited

‎core‎

Submodule core updated 132 files

0 commit comments

Comments
 (0)