Skip to content

Reduce live test flakiness update actions with v5#2699

Open
robgruen wants to merge 34 commits into
mainfrom
dev/robgruen/flakey
Open

Reduce live test flakiness update actions with v5#2699
robgruen wants to merge 34 commits into
mainfrom
dev/robgruen/flakey

Conversation

@robgruen

Copy link
Copy Markdown
Collaborator

This pull request updates the GitHub Actions workflows and related test code to use the latest versions of key actions and improves test reliability. The main changes include upgrading all actions/checkout, actions/setup-node, actions/upload-artifact, and actions/download-artifact steps to their latest major versions, updating documentation and comments for clarity, and improving the reliability of test assertions in translateTestCommon.ts.

CI Workflow Upgrades

  • Upgraded all uses of actions/checkout from v4 to v5 across workflow files for improved performance and new features. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
  • Upgraded all uses of actions/setup-node from v4 to v5 for Node.js setup steps. [1] [2] [3] [4] [5] [6] [7] [8]
  • Upgraded all uses of actions/upload-artifact and actions/download-artifact from v4 to v5 for artifact handling. [1] [2] [3] [4]

CodeQL and Workflow Documentation Updates

  • Updated CodeQL workflow comments and configuration to reflect GitHub's latest recommendations, removing unsupported options and clarifying ruleset requirements. [1] [2]

Test Reliability Improvement

  • Improved the checkPossibleMatch test helper in translateTestCommon.ts to ignore non-deterministic entities fields unless explicitly specified in the expected result, reducing spurious test failures.

robgruen and others added 30 commits July 15, 2026 14:17
# Conflicts:
#	ts/packages/dispatcher/dispatcher/README.AUTOGEN.md
…actions

The playerSchema.agr renamed two actions in a prior commit but the variant
fixture grammars and benchmark JSONL were left with the old names:
- `resume` → `resumePlayback`
- `playTrack` (flat params) → `playMusic` (target: { kind, ... } params)

This caused `generateAllDeltas()` to produce 466 spurious deltas (vs the 25
committed rows) because every resume and play-by-artist corpus entry created
a delta between HEAD and each variant.

Changes:
- v1-v9 variant .agr files: Resume rules updated to `resumePlayback`;
  PlaySpecificTrack rules updated to `playMusic` with target-nested params
- player.regression-benchmark.jsonl: 3 v1-lost-transport rows updated
  (actionA.actionName `resume` → `resumePlayback`)
- player.utterances.jsonl: corpus expectedAction fields updated to new names
  (resume → resumePlayback, playTrack → playMusic with new parameter structure)
- Revert test back to \"play despacito\" (no artist required)
- Add \"isOptional\": true to the artist sub-phrase in basic.json
- Add \"optional\": true to M:artist name_7 in constructions.json
  so track-only utterances (no artist) match the play construction
@robgruen
robgruen marked this pull request as ready for review July 18, 2026 04:59
@robgruen
robgruen enabled auto-merge July 18, 2026 04:59
@robgruen
robgruen added this pull request to the merge queue Jul 18, 2026
@robgruen
robgruen removed this pull request from the merge queue due to a manual request Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants