Skip to content

Commit 306af47

Browse files
Merge branch 'main' into copilot/fix-memory-leak-in-mutator-engine
2 parents 7e1949f + a4a569e commit 306af47

110 files changed

Lines changed: 1573 additions & 1779 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.
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+
- "@typespec/compiler"
5+
---
6+
7+
Fix diagnostic target node mapping for value entities.
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+
- "@typespec/html-program-viewer"
5+
---
6+
7+
Fix html program viewer crash when rendering search results with missing type kind.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/http-client-python"
5+
---
6+
7+
Add usage examples for the `generation-subdir` emitter option in the docs.
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+
- "@typespec/compiler"
5+
---
6+
7+
Fix `Expected type.` internal compiler error when a string template interpolates a function call that references a template parameter on a template declaration (e.g. `@doc("${myFn(T)}") model Crud<T extends Reflection.Model> {}`). The deferred function call now defers the whole template, which is evaluated at instantiation.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
changeKind: internal
3+
packages:
4+
- "@typespec/asset-emitter"
5+
- "@typespec/bundler"
6+
- "@typespec/compiler"
7+
- "@typespec/emitter-framework"
8+
- "@typespec/events"
9+
- "@typespec/html-program-viewer"
10+
- "@typespec/http-canonicalization"
11+
- "@typespec/http-client-js"
12+
- "@typespec/http-client"
13+
- "@typespec/http-server-csharp"
14+
- "@typespec/http-server-js"
15+
- "@typespec/http"
16+
- "@typespec/internal-build-utils"
17+
- "@typespec/json-schema"
18+
- "@typespec/library-linter"
19+
- "@typespec/mutator-framework"
20+
- "@typespec/openapi"
21+
- "@typespec/openapi3"
22+
- "@typespec/playground"
23+
- "@typespec/protobuf"
24+
- "@typespec/rest"
25+
- "@typespec/sse"
26+
- "@typespec/streams"
27+
- "tmlanguage-generator"
28+
- "@typespec/tspd"
29+
- "@typespec/versioning"
30+
- "@typespec/xml"
31+
---
32+
33+
Migrate linting from ESLint to oxlint.

‎.chronus/config.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ versionPolicies:
5151
- "@typespec/versioning"
5252
- "@typespec/rest"
5353
- "@typespec/protobuf"
54-
- "@typespec/eslint-plugin"
5554
- "@typespec/html-program-viewer"
5655
- "@typespec/internal-build-utils"
5756
- "typespec-vs"

‎.github/matchers/oxlint.json‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "oxlint",
5+
"severity": "error",
6+
"pattern": [
7+
{
8+
"regexp": "^(.+?):(\\d+):(\\d+):\\s+(.+?)\\s+\\[(Error|Warning)/(.+)\\]$",
9+
"file": 1,
10+
"line": 2,
11+
"column": 3,
12+
"message": 4,
13+
"severity": 5,
14+
"code": 6
15+
}
16+
]
17+
}
18+
]
19+
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ jobs:
369369

370370
- name: Restore activity report logs cache
371371
id: activity_report_logs_cache
372-
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
372+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
373373
with:
374374
path: ./.cache/gh-aw/activity-report-logs
375375
key: ${{ runner.os }}-activity-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
@@ -393,7 +393,7 @@ jobs:
393393
394394
- name: Save activity report logs cache
395395
if: ${{ always() }}
396-
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
396+
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
397397
with:
398398
path: ./.cache/gh-aw/activity-report-logs
399399
key: ${{ steps.activity_report_logs_cache.outputs.cache-primary-key }}
@@ -474,7 +474,7 @@ jobs:
474474

475475
- name: Restore forecast report logs cache
476476
id: forecast_report_logs_cache
477-
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
477+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
478478
with:
479479
path: ./.github/aw/logs
480480
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}
@@ -520,7 +520,7 @@ jobs:
520520
521521
- name: Save forecast report logs cache
522522
if: ${{ always() }}
523-
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
523+
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
524524
with:
525525
path: ./.github/aw/logs
526526
key: ${{ runner.os }}-forecast-report-logs-${{ github.repository }}-${{ github.ref_name }}-${{ github.run_id }}

‎.github/workflows/consistency.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,14 @@ jobs:
101101
- run: pnpm install
102102
name: Install dependencies
103103

104-
- run: pnpm --filter="@typespec/eslint-plugin..." run build
105-
name: Build prettier plugin
106-
107-
- run: pnpm run lint
104+
# Force the `unix` reporter (instead of oxlint's default GitHub Actions
105+
# reporter) so the full `file:line:col` location stays visible in the job
106+
# logs, and register a problem matcher so violations still surface as
107+
# inline annotations on the PR.
108+
- run: echo "::add-matcher::.github/matchers/oxlint.json"
109+
name: Add oxlint problem matcher
110+
111+
- run: pnpm run lint:ci
108112
name: Lint
109113

110114
# cspell:ignore rhysd

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v7
2323
- name: Install gh-aw extension
24-
uses: github/gh-aw/actions/setup-cli@v0.80.9
24+
uses: github/gh-aw/actions/setup-cli@v0.81.6
2525
with:
2626
version: v0.50.1

0 commit comments

Comments
 (0)