Skip to content

Move inline script from diagnostics-export.yml to a .ts file - #4248

Open
mbg wants to merge 1 commit into
mainfrom
mbg/move-diag-export-script
Open

mbg wants to merge 1 commit into
mainfrom
mbg/move-diag-export-script

Conversation

@mbg

@mbg mbg commented Oct 16, 2026

Copy link
Copy Markdown
Member

A simple dev-only change in prep for #4223 which moves the inline script out of the diagnostics-export.yml workflow and into a TS file, along with some minor changes to make TS happy.

@mbg
mbg requested a review from henrymercer October 16, 2026 15:54
@mbg
mbg requested a review from a team as a code owner October 16, 2026 15:54
Copilot AI max review requested due to automatic review settings October 16, 2026 15:54
@github-actions github-actions Bot added the size/M Should be of average difficulty to review label Oct 16, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

🟢 Approval recommended

The development-only extraction preserves existing checks and has no blocking issues.

0 open findings

What changed in this PR

Extracts the diagnostics-export workflow’s inline checks into TypeScript, preparing the development-only test for #4223.

Changes:

  • Moves existing SARIF assertions into a standalone script with explicit missing-field checks.
  • Enables Node setup and runs the script with tsx.
File Description
pr-checks/​checks/​diagnostics-export.yml Replaces the inline script with TypeScript execution.
pr-checks/​check-diagnostics.ts Contains the extracted diagnostic assertions.
Files excluded by content exclusion policy (1)
  • .github/workflows/__diagnostics-export.yml

🧠 Review effort: Max


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mbg
mbg added this pull request to stack #4250 October 16, 2026 16:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Should be of average difficulty to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants