Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
7904494
added skip-grammar flag for online translation tests
robgruen Jul 15, 2026
1a1e65b
added display name
robgruen Jul 15, 2026
585e108
Improved flakiness, restructured playerSchema a bit to accommodate ch…
robgruen Jul 16, 2026
6dd9ff1
regenerated keywords
robgruen Jul 16, 2026
9672f6d
Merge remote-tracking branch 'origin/main' into dev/robgruen/flakey
Copilot Jul 16, 2026
2a8c6e6
style: apply prettier formatting and policy fixes
typeagent-bot[bot] Jul 16, 2026
25742ee
docs: regenerate README.AUTOGEN.md for changed packages
typeagent-bot[bot] Jul 16, 2026
e6cfd5c
updated actions
robgruen Jul 16, 2026
b512d0e
Merge branch 'dev/robgruen/flakey' of https://github.com/microsoft/Ty…
robgruen Jul 16, 2026
bbefa21
Merge remote-tracking branch 'origin/main' into dev/robgruen/flakey
Copilot Jul 16, 2026
857253e
Updated with new action name.
robgruen Jul 16, 2026
a91c407
style: apply prettier formatting and policy fixes
typeagent-bot[bot] Jul 16, 2026
14e67e2
fix: sync variant grammar fixtures and benchmark with renamed player …
Copilot Jul 16, 2026
77dab63
Merge remote-tracking branch 'origin' into dev/robgruen/flakey
robgruen Jul 17, 2026
6263919
Merge branch 'dev/robgruen/flakey' of https://github.com/microsoft/Ty…
robgruen Jul 17, 2026
26827cd
replaced play* references with playMusic
robgruen Jul 17, 2026
c5d5f10
re-generated explantions for playMusic
robgruen Jul 17, 2026
8395d63
fix: change \"play despacito\" to \"play nocturne by chopin\" in cons…
Copilot Jul 17, 2026
6faf6e3
reduced list test flakiness
robgruen Jul 17, 2026
34649bf
Merge branch 'dev/robgruen/flakey' of https://github.com/microsoft/Ty…
robgruen Jul 17, 2026
2aad007
style: apply prettier formatting and policy fixes
typeagent-bot[bot] Jul 17, 2026
5cbf258
fix: make artist optional in player construction cache and training data
Copilot Jul 17, 2026
556e19a
style: apply prettier formatting and policy fixes
typeagent-bot[bot] Jul 17, 2026
4cfa900
style: apply prettier formatting and policy fixes
typeagent-bot[bot] Jul 17, 2026
18fb07d
fix: parse construction cache namespace hashes correctly
Copilot Jul 17, 2026
5529241
fix: tighten replay cache namespace parsing
Copilot Jul 17, 2026
3a3c1da
test: cover replay cache activity suffix parsing
Copilot Jul 17, 2026
047419d
style: clarify replay cache namespace parsing intent
Copilot Jul 17, 2026
ee4eba4
docs: clarify replay cache activity suffix handling
Copilot Jul 17, 2026
cb5f17e
docs: regenerate README.AUTOGEN.md for changed packages
typeagent-bot[bot] Jul 17, 2026
993af8c
Merge remote-tracking branch 'origin' into dev/robgruen/flakey
robgruen Jul 18, 2026
096d557
entity comparison update
robgruen Jul 18, 2026
18006d1
Merge branch 'dev/robgruen/flakey' of https://github.com/microsoft/Ty…
robgruen Jul 18, 2026
5678f90
updated to checkout V5 action (because of node20 in v4 is soon to be …
robgruen Jul 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Git LF
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: dorny/paths-filter@v3
id: filter
continue-on-error: true
Expand All @@ -56,7 +56,7 @@ jobs:
package_json_file: ts/package.json
- name: Setup Node.js
if: ${{ github.event_name != 'pull_request' || steps.filter.outputs.dotnet != 'false' }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 22
cache: "pnpm"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-package-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Setup Git LF
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: dorny/paths-filter@v3
id: filter
continue-on-error: true
Expand All @@ -55,7 +55,7 @@ jobs:
name: Install pnpm
with:
package_json_file: ts/package.json
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
if: ${{ github.event_name != 'pull_request' || steps.filter.outputs.ts != 'false' }}
with:
node-version: ${{ matrix.version }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
shell: bash
run: pnpm run shell:package

# - uses: actions/upload-artifact@v4
# - uses: actions/upload-artifact@v5
# if: ${{ github.event_name != 'pull_request' || steps.filter.outputs.ts != 'false' }}
# name: Upload build artifact
# with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Setup Git LF
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
# Full history so the changed-files lint can diff against the base.
fetch-depth: 0
Expand All @@ -59,7 +59,7 @@ jobs:
name: Install pnpm
with:
package_json_file: ts/package.json
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
if: ${{ github.event_name != 'pull_request' || steps.filter.outputs.ts != 'false' }}
with:
node-version: ${{ matrix.version }}
Expand Down
28 changes: 16 additions & 12 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# CodeQL advanced setup.
#
# Why this is not the stock single-file setup:
# Merging is gated by rulesets ("Require code scanning results" + "Require code
# quality results"). GitHub's CodeQL *default setup* and any plain
# `on: pull_request` CodeQL workflow — cannot produce results for pull requests
# from FORKS, because fork-triggered runs get a read-only GITHUB_TOKEN and no
# secrets, so `analyze` cannot upload. Those PRs would then be blocked forever.
# Merging is gated by a ruleset ("Require code scanning results"). GitHub's
# CodeQL *default setup* - and any plain `on: pull_request` CodeQL workflow -
# cannot produce results for pull requests from FORKS, because fork-triggered
# runs get a read-only GITHUB_TOKEN and no secrets, so `analyze` cannot upload.
# Those PRs would then be blocked forever.
#
# To fix that safely, this workflow ANALYZES the code (including untrusted fork
# code) in the unprivileged `pull_request` context and, for fork PRs, saves the
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
# For fork PRs, analyze the PR head commit so results map to the PR.
# Otherwise use the default ref (merge ref for internal PRs, branch tip
Expand All @@ -78,11 +78,15 @@ jobs:
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# Enable both the security ("code-scanning") and "code-quality" analyses
# so both ruleset rules can be satisfied. code-quality is currently a
# preview capability; if the analyze step rejects this input, remove the
# line and drop the "Require code quality results" rule from the ruleset.
analysis-kinds: code-scanning,code-quality
# This runs a code-scanning (security) analysis only. The experimental,
# GitHub-internal `analysis-kinds` input that previously also requested a
# "code-quality" analysis is no longer supported in custom workflows:
# passing multiple values, or any kind other than `code-scanning`, now
# warns and will become a fatal error. To also run the code-quality
# queries as part of code scanning, add `queries: code-quality` here --
# that surfaces them as code-scanning alerts rather than a separate
# code-quality result, so also drop any "Require code quality results"
# rule from the branch ruleset.

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
Expand All @@ -96,7 +100,7 @@ jobs:

- name: Stage SARIF for fork PR upload
if: ${{ env.IS_FORK_PR == 'true' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: codeql-sarif-${{ matrix.language }}
path: sarif-results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:

steps:
- name: Checkout Repository 🛎️
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Node.js ⚙️
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 22

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr-amend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
private-key: ${{ secrets.DEPENDABOT_APP_PRIVATE_KEY }}

- name: Checkout PR branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}
# Full history so the merge-base with the base branch resolves.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
# Full history so the --since baseline (last README.AUTOGEN.md
# commit) resolves and the diff against it is complete.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fix-dependabot-alerts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand All @@ -53,7 +53,7 @@ jobs:
with:
package_json_file: ts/package.json

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: 22
cache: "pnpm"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/format-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
private-key: ${{ secrets.DEPENDABOT_APP_PRIVATE_KEY }}

- name: Checkout PR branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand All @@ -66,7 +66,7 @@ jobs:
with:
package_json_file: ts/package.json

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: 22
cache: "pnpm"
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Setup Git LF
run: git config --global core.autocrlf false

- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0

Expand All @@ -115,7 +115,7 @@ jobs:
with:
package_json_file: ts/package.json

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
node-version: 22
cache: "pnpm"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
shell: bash
working-directory: python/ta # your project subdir
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -38,7 +38,7 @@ jobs:
run: make build # runs `uv build`, outputs to dist/

- name: Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: dist
path: python/ta/dist/
Expand All @@ -53,7 +53,7 @@ jobs:
id-token: write # REQUIRED for Trusted Publishing (no tokens!)
contents: read
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: dist
path: dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo-policy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
submodules: "false"
# token: ${{ secrets.PAT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
git config --global core.autocrlf false

- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand All @@ -91,7 +91,7 @@ jobs:
with:
package_json_file: ts/package.json

- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
if: ${{ steps.filter.outputs.ts != 'false' }}
with:
node-version: ${{ matrix.version }}
Expand Down
16 changes: 14 additions & 2 deletions ts/packages/defaultAgentProvider/test/translateTestCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,22 @@ function checkPossibleMatch(
action: TypeAgentAction,
possibleMatch: PossibleMatch,
) {
// action.entities is resolved-reference metadata the translator may or may
// not attach run-to-run (e.g. a "grocery" list entity whose items facet
// reflects the current, history-dependent list contents). It is not part of
// the translated action shape most cases care about, so only assert it when
// the expected action explicitly specifies entities (e.g.
// translate-image-history-e2e.json). Otherwise drop it so its
// non-determinism can't cause spurious toEqual mismatches.
let actual = action;
if (possibleMatch.action.entities === undefined && action.entities) {
actual = { ...action };
delete actual.entities;
}
if (possibleMatch.partial) {
expect(action).toMatchObject(possibleMatch.action);
expect(actual).toMatchObject(possibleMatch.action);
} else {
expect(action).toEqual(possibleMatch.action);
expect(actual).toEqual(possibleMatch.action);
}
}

Expand Down
Loading