Flight Log / microsoft/typescript-go #1093

Fix panic in SkipTriviaEx when printing type predicates with declaration maps enabled — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/typescript-go on Jun 7, 2025; a burn — closed unmerged after human review: +194 −173, 7 files, 2 reviews.

All agent flights in microsoft/typescript-go · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+194 −173
Files
7
Commits
6
Reviews
2 (2 ✕)
To merge
—
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

GitHub Copilot's pull request fixes a panic in SkipTriviaEx in microsoft/typescript-go, triggered when type predicates from other files are printed with declaration maps enabled. The change touches seven files, with 194 additions and 173 deletions across six commits. Two reviews requested changes. The PR was closed unmerged after human review, a burn.

“Use a regular compiler baseline test Reconsider your fix. Why does this only happen when there are two files involved? Why is the length of”

— from the review (source)

From the pull request description

This PR fixes a panic that occurs when the TypeScript compiler processes type predicates from other files with declaration maps enabled. ## Problem The issue manifested as a runtime panic: ``` panic: runtime error: slice bounds out of range [167:58] ``` This occurred in the `SkipTriviaEx` functio…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —reviewed
  5. —committedcopilot-swe-agent[bot]
  6. —committedcopilot-swe-agent[bot]
  7. —reviewed
  8. —committedcopilot-swe-agent[bot]
  9. Jun 7, 2025changes requestedRyanCavanaugh↗
  10. Jun 7, 2025changes requestedRyanCavanaugh↗
  11. Jun 7, 2025closedRyanCavanaugh

Cite this flight: AgentRiders Flight Log, microsoft/typescript-go#1093, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/typescript-go/1093/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.