Skip to content

Make DT run results navigable on GitHub - #1345

Merged
Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:dt-result-links
Oct 3, 2026
Merged

Jake Bailey (jakebailey) merged 2 commits into
microsoft:mainfrom
jakebailey:dt-result-links

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

DT diagnostics need direct links to the tested sources and project
configs so compiler regressions are easier to investigate. Large runs
also need readable results across comments, with complete linked output
available in the build logs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The implementation is well-scoped, safely handles output formatting and limits, and has comprehensive automated coverage.

Review effort: Balanced
Findings: None

What changed in this PR

Adds commit-pinned GitHub navigation to DT test results while preserving complete diagnostics in Azure logs.

Changes:

  • Enriches failures with package, project, and diagnostic links.
  • Safely formats, escapes, truncates, and paginates GitHub comments.
  • Adds comprehensive result-linking and publishing tests.
File Description
.azure-pipelines/​scripts/​run-typescript-pr-dt.sh Enriches failure artifacts with links.
.changeset/​friendly-dt-links.md Documents the patch release.
packages/​dtslint-runner/​package.json Adds the GitHub-link dependency.
packages/​dtslint-runner/​src/​add-github-links.ts Generates pinned navigation metadata.
packages/​dtslint-runner/​src/​post-results.ts Formats, paginates, logs, and posts results.
packages/​dtslint-runner/​test/​results.test.ts Tests linking and result publication.
pnpm-lock.yaml Locks the new dependency.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

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

Errors resolved by the branch should remain visible without marking the
run as needing attention. Reserve that status for new or changed branch
errors.

@weswigham Wesley Wigham (weswigham) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fancy, nice.

@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Oct 3, 2026
Merged via the queue into microsoft:main with commit 382d86c Oct 3, 2026
9 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the dt-result-links branch October 3, 2026 03:50
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.

4 participants