Skip to content

Commit a72e9dd

Browse files
Update SDK snapshot for Copilot CLI 1.0.97-0
1 parent 6be623b commit a72e9dd

252 files changed

Lines changed: 22444 additions & 3278 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/block-remove-before-merge.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v7
20-
timeout-minutes: 4
2120
with:
2221
fetch-depth: 2
2322
- name: Check for remove-before-merge paths in PR

‎.github/workflows/sdk-dotnet.yml‎

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ env:
77
HUSKY: 0
88
POWERSHELL_UPDATECHECK: Off
99
SDK_HOME: ${{ inputs.sdk-home }}
10-
SETUP_NODE_TIMEOUT_MINUTES: 10
1110

1211
on:
1312
workflow_call:
@@ -27,7 +26,6 @@ jobs:
2726
dotnet-linux-x64:
2827
name: ".NET (ubuntu-latest, CAPI)"
2928
if: inputs.platform == 'all' || inputs.platform == 'linux-x64'
30-
timeout-minutes: 30
3129
runs-on: ubuntu-latest
3230
defaults:
3331
run:
@@ -38,7 +36,6 @@ jobs:
3836
DOTNET_TEST_RESULTS_DIRECTORY: TestResults/subprocess
3937
steps:
4038
- uses: actions/checkout@v7
41-
timeout-minutes: 4
4239
with:
4340
persist-credentials: false
4441
- uses: ./.github/actions/download-sdk-runtime
@@ -102,7 +99,6 @@ jobs:
10299
name: ".NET (macos-26-xlarge-agent-runtime, default, CAPI)"
103100
if: inputs.platform == 'all' || inputs.platform == 'darwin-arm64'
104101
runs-on: macos-26-xlarge-agent-runtime
105-
timeout-minutes: 30
106102
defaults:
107103
run:
108104
shell: bash
@@ -112,7 +108,6 @@ jobs:
112108
DOTNET_TEST_RESULTS_DIRECTORY: TestResults/subprocess
113109
steps:
114110
- uses: actions/checkout@v7
115-
timeout-minutes: 4
116111
with:
117112
persist-credentials: false
118113
- uses: ./.github/actions/download-sdk-runtime
@@ -153,21 +148,31 @@ jobs:
153148
retention-days: 7
154149

155150
dotnet-win32-x64:
156-
name: ".NET (windows-latest, default, CAPI)"
151+
name: ".NET (windows-latest, ${{ matrix.framework }}, ${{ matrix.suite.name }}, CAPI)"
157152
if: inputs.platform == 'all' || inputs.platform == 'win32-x64'
158153
runs-on: windows-latest
159-
timeout-minutes: 30
154+
strategy:
155+
fail-fast: false
156+
matrix:
157+
framework: [net8.0, net472]
158+
# Complementary filters include every test, including newly added classes.
159+
suite:
160+
- name: e2e-s
161+
filter: FullyQualifiedName~GitHub.Copilot.Test.E2E.S
162+
- name: remaining
163+
filter: FullyQualifiedName!~GitHub.Copilot.Test.E2E.S
160164
defaults:
161165
run:
162166
shell: bash
163167
working-directory: ${{ inputs.sdk-home }}/dotnet
164168
env:
165169
COPILOT_SDK_E2E_BACKEND: capi
166170
DOTNET_TEST_RUNTIME: win-x64
171+
DOTNET_TEST_FRAMEWORK: ${{ matrix.framework }}
172+
DOTNET_TEST_FILTER: ${{ matrix.suite.filter }}
167173
DOTNET_TEST_RESULTS_DIRECTORY: TestResults/subprocess
168174
steps:
169175
- uses: actions/checkout@v7
170-
timeout-minutes: 4
171176
with:
172177
persist-credentials: false
173178
- uses: ./.github/actions/download-sdk-runtime
@@ -183,7 +188,7 @@ jobs:
183188
with:
184189
node-version: 22
185190
- run: dotnet restore test/GitHub.Copilot.SDK.Test.csproj --runtime "$DOTNET_TEST_RUNTIME" -p:CopilotCliBinaryPath="$COPILOT_RUNTIME_BINARY_PATH" -p:CopilotSkipCliDownload=true
186-
- run: dotnet build test/GitHub.Copilot.SDK.Test.csproj --no-restore --runtime "$DOTNET_TEST_RUNTIME" -p:CopilotCliBinaryPath="$COPILOT_RUNTIME_BINARY_PATH" -p:CopilotSkipCliDownload=true
191+
- run: dotnet build test/GitHub.Copilot.SDK.Test.csproj --no-restore --framework "$DOTNET_TEST_FRAMEWORK" --runtime "$DOTNET_TEST_RUNTIME" -p:CopilotCliBinaryPath="$COPILOT_RUNTIME_BINARY_PATH" -p:CopilotSkipCliDownload=true
187192
- run: npm ci --ignore-scripts
188193
working-directory: ${{ inputs.sdk-home }}/test/harness
189194
- run: pwsh.exe -Command "Write-Host 'PowerShell ready'"
@@ -203,7 +208,7 @@ jobs:
203208
- if: failure()
204209
uses: actions/upload-artifact@v7
205210
with:
206-
name: dotnet-test-diagnostics-windows-latest-default-capi-${{ github.run_attempt }}
211+
name: dotnet-test-diagnostics-windows-latest-${{ matrix.framework }}-${{ matrix.suite.name }}-capi-${{ github.run_attempt }}
207212
path: ${{ inputs.sdk-home }}/dotnet/TestResults/
208213
if-no-files-found: warn
209214
retention-days: 7
@@ -212,12 +217,10 @@ jobs:
212217
name: ".NET (Alpine x64, CAPI)"
213218
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
214219
runs-on: ubuntu-latest
215-
timeout-minutes: 20
216220
env:
217221
COPILOT_SDK_E2E_BACKEND: capi
218222
steps:
219223
- uses: actions/checkout@v7
220-
timeout-minutes: 4
221224
with:
222225
persist-credentials: false
223226
- uses: ./.github/actions/download-sdk-runtime

‎.github/workflows/sdk-go.yml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ env:
77
HUSKY: 0
88
POWERSHELL_UPDATECHECK: Off
99
SDK_HOME: ${{ inputs.sdk-home }}
10-
SETUP_NODE_TIMEOUT_MINUTES: 10
1110

1211
on:
1312
workflow_call:
@@ -38,7 +37,6 @@ jobs:
3837
working-directory: ${{ inputs.sdk-home }}/go
3938
steps:
4039
- uses: actions/checkout@v7
41-
timeout-minutes: 4
4240
with:
4341
persist-credentials: false
4442
- uses: ./.github/actions/download-sdk-runtime
@@ -68,7 +66,9 @@ jobs:
6866
- if: runner.os == 'Linux'
6967
run: go test ./...
7068
working-directory: ${{ inputs.sdk-home }}/go/samples
71-
- run: npm ci --ignore-scripts
69+
- run: |
70+
npm ci --ignore-scripts
71+
npm rebuild esbuild
7272
working-directory: ${{ inputs.sdk-home }}/test/harness
7373
- if: runner.os == 'Windows'
7474
run: pwsh.exe -Command "Write-Host 'PowerShell ready'"
@@ -102,10 +102,8 @@ jobs:
102102
name: "Go (Alpine x64)"
103103
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
104104
runs-on: ubuntu-latest
105-
timeout-minutes: 20
106105
steps:
107106
- uses: actions/checkout@v7
108-
timeout-minutes: 4
109107
with:
110108
persist-credentials: false
111109
- uses: ./.github/actions/download-sdk-runtime
@@ -125,6 +123,7 @@ jobs:
125123
apk add --no-cache build-base nodejs npm
126124
npm --prefix "$COPILOT_SDK_ROOT/nodejs" ci --ignore-scripts
127125
npm --prefix "$COPILOT_SDK_ROOT/test/harness" ci --ignore-scripts
126+
npm --prefix "$COPILOT_SDK_ROOT/test/harness" rebuild esbuild
128127
129128
export GITHUB_ENV=/tmp/copilot-sdk-runtime.env
130129
export COPILOT_RUNTIME_TARGET=linuxmusl-x64

‎.github/workflows/sdk-java.yml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ env:
66
HUSKY: 0
77
POWERSHELL_UPDATECHECK: Off
88
SDK_HOME: ${{ inputs.sdk-home }}
9-
SETUP_NODE_TIMEOUT_MINUTES: 10
109

1110
on:
1211
workflow_call:
@@ -43,7 +42,6 @@ jobs:
4342
working-directory: ${{ inputs.sdk-home }}/java
4443
steps:
4544
- uses: actions/checkout@v7
46-
timeout-minutes: 4
4745
with:
4846
persist-credentials: false
4947
- uses: ./.github/actions/download-sdk-runtime
@@ -126,10 +124,8 @@ jobs:
126124
name: "Java (JDK 25, linuxmusl-x64)"
127125
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
128126
runs-on: ubuntu-latest
129-
timeout-minutes: 30
130127
steps:
131128
- uses: actions/checkout@v7
132-
timeout-minutes: 4
133129
with:
134130
persist-credentials: false
135131
- uses: ./.github/actions/download-sdk-runtime
@@ -187,10 +183,8 @@ jobs:
187183
name: "Java (JDK 25, linuxmusl-arm64)"
188184
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-arm64'
189185
runs-on: ubuntu-24.04-arm
190-
timeout-minutes: 30
191186
steps:
192187
- uses: actions/checkout@v7
193-
timeout-minutes: 4
194188
with:
195189
persist-credentials: false
196190
- uses: ./.github/actions/download-sdk-runtime

‎.github/workflows/sdk-nodejs.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ env:
77
HUSKY: 0
88
POWERSHELL_UPDATECHECK: Off
99
SDK_HOME: ${{ inputs.sdk-home }}
10-
SETUP_NODE_TIMEOUT_MINUTES: 10
1110

1211
on:
1312
workflow_call:
@@ -43,7 +42,6 @@ jobs:
4342
working-directory: ${{ inputs.sdk-home }}/nodejs
4443
steps:
4544
- uses: actions/checkout@v7
46-
timeout-minutes: 4
4745
with:
4846
persist-credentials: false
4947
- uses: ./.github/actions/download-sdk-runtime
@@ -128,7 +126,6 @@ jobs:
128126
name: "Node.js (ubuntu-latest, ${{ matrix.backend }})"
129127
if: github.event_name != 'merge_group' && (inputs.platform == 'all' || inputs.platform == 'linux-x64')
130128
runs-on: ubuntu-latest
131-
timeout-minutes: 30
132129
strategy:
133130
fail-fast: false
134131
matrix:
@@ -141,7 +138,6 @@ jobs:
141138
COPILOT_SDK_E2E_BACKEND: ${{ matrix.backend }}
142139
steps:
143140
- uses: actions/checkout@v7
144-
timeout-minutes: 4
145141
with:
146142
persist-credentials: false
147143
- uses: ./.github/actions/download-sdk-runtime
@@ -170,7 +166,6 @@ jobs:
170166
runs-on: ubuntu-latest
171167
steps:
172168
- uses: actions/checkout@v7
173-
timeout-minutes: 4
174169
with:
175170
persist-credentials: false
176171
- uses: ./.github/actions/download-sdk-runtime

‎.github/workflows/sdk-python.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ env:
77
HUSKY: 0
88
POWERSHELL_UPDATECHECK: Off
99
SDK_HOME: ${{ inputs.sdk-home }}
10-
SETUP_NODE_TIMEOUT_MINUTES: 10
1110

1211
on:
1312
workflow_call:
@@ -32,7 +31,6 @@ jobs:
3231
matrix:
3332
os: ${{ fromJSON(inputs.platform == 'linux-x64' && '["ubuntu-latest"]' || inputs.platform == 'darwin-arm64' && '["macos-26-agent-runtime"]' || inputs.platform == 'win32-x64' && '["windows-latest"]' || '["ubuntu-latest","macos-26-agent-runtime","windows-latest"]') }}
3433
runs-on: ${{ matrix.os }}
35-
timeout-minutes: 20
3634
defaults:
3735
run:
3836
shell: bash
@@ -41,7 +39,6 @@ jobs:
4139
PYTHONUTF8: 1
4240
steps:
4341
- uses: actions/checkout@v7
44-
timeout-minutes: 4
4542
with:
4643
persist-credentials: false
4744
- uses: ./.github/actions/download-sdk-runtime
@@ -105,10 +102,8 @@ jobs:
105102
name: "Python (Alpine x64)"
106103
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
107104
runs-on: ubuntu-latest
108-
timeout-minutes: 20
109105
steps:
110106
- uses: actions/checkout@v7
111-
timeout-minutes: 4
112107
with:
113108
persist-credentials: false
114109
- uses: ./.github/actions/download-sdk-runtime

‎.github/workflows/sdk-runtime-artifact.yml‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ env:
1111
GIT_HTTP_LOW_SPEED_LIMIT: 1000
1212
GIT_HTTP_LOW_SPEED_TIME: 60
1313
HUSKY: 0
14-
SETUP_NODE_TIMEOUT_MINUTES: 10
1514

1615
on:
1716
workflow_call:
@@ -47,10 +46,6 @@ on:
4746
required: false
4847
default: ""
4948
type: string
50-
timeout-minutes:
51-
required: false
52-
default: 90
53-
type: number
5449

5550
permissions:
5651
contents: read
@@ -63,15 +58,14 @@ jobs:
6358
cache-relay:
6459
if: inputs.runtime-source == 'checkout'
6560
runs-on: ubuntu-slim
66-
timeout-minutes: 15
6761
permissions:
6862
actions: read
6963
contents: read
7064
outputs:
7165
cache-hit: ${{ steps.cache.outputs.cache-hit }}
7266
steps:
7367
- uses: actions/checkout@v7
74-
timeout-minutes: 4
68+
timeout-minutes: 60
7569
with:
7670
persist-credentials: false
7771

@@ -144,15 +138,14 @@ jobs:
144138
(inputs.runtime-source == 'published' ||
145139
(needs.cache-relay.result == 'success' && needs.cache-relay.outputs.cache-hit != 'true'))
146140
runs-on: ${{ inputs.runtime-source == 'checkout' && inputs.os || 'ubuntu-latest' }}
147-
timeout-minutes: ${{ inputs.timeout-minutes }}
148141
permissions:
149142
actions: read
150143
contents: read
151144
id-token: write
152145
packages: read
153146
steps:
154147
- uses: actions/checkout@v7
155-
timeout-minutes: 4
148+
timeout-minutes: 60
156149
with:
157150
persist-credentials: false
158151

@@ -197,7 +190,7 @@ jobs:
197190

198191
- if: inputs.runtime-source == 'checkout' && steps.cache.outputs.cache-hit != 'true'
199192
uses: ./.github/actions/setup-node
200-
timeout-minutes: ${{ fromJSON(env.SETUP_NODE_TIMEOUT_MINUTES) }}
193+
timeout-minutes: 60
201194

202195
- name: Capture verified addon source identity
203196
if: inputs.runtime-source == 'checkout' && steps.cache.outputs.cache-hit != 'true'

‎.github/workflows/sdk-rust.yml‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ env:
77
HUSKY: 0
88
POWERSHELL_UPDATECHECK: Off
99
SDK_HOME: ${{ inputs.sdk-home }}
10-
SETUP_NODE_TIMEOUT_MINUTES: 10
1110

1211
on:
1312
workflow_call:
@@ -27,7 +26,6 @@ jobs:
2726
rust:
2827
name: "Rust (${{ matrix.os }})"
2928
if: contains(fromJSON('["all","linux-x64","darwin-arm64","win32-x64"]'), inputs.platform)
30-
timeout-minutes: 60
3129
strategy:
3230
fail-fast: false
3331
matrix:
@@ -40,9 +38,11 @@ jobs:
4038
env:
4139
CARGO_TERM_COLOR: always
4240
RUST_BACKTRACE: 1
41+
# Preserve source-line backtraces without full variable/type debug information.
42+
CARGO_PROFILE_DEV_DEBUG: line-tables-only
43+
CARGO_PROFILE_TEST_DEBUG: line-tables-only
4344
steps:
4445
- uses: actions/checkout@v7
45-
timeout-minutes: 4
4646
with:
4747
persist-credentials: false
4848
- uses: ./.github/actions/download-sdk-runtime
@@ -128,10 +128,8 @@ jobs:
128128
name: "Rust (Alpine x64)"
129129
if: inputs.platform == 'all' || inputs.platform == 'linuxmusl-x64'
130130
runs-on: ubuntu-latest
131-
timeout-minutes: 60
132131
steps:
133132
- uses: actions/checkout@v7
134-
timeout-minutes: 4
135133
with:
136134
persist-credentials: false
137135
- uses: ./.github/actions/download-sdk-runtime

0 commit comments

Comments
 (0)