Flight Log / microsoft/typescript-go #1382

Fix conditional types with infer clause in TypeScript declaration generation — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/typescript-go on Jul 10, 2025; a burn — closed unmerged after human review: +1,095 −936, 81 files, 0 reviews.

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

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+1,095 −936
Files
81
Commits
11
Reviews
0
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 attempted a fix in tsgo, which was dropping infer clauses from conditional types in generated .d.ts files. The pull request spanned 81 files and 11 commits, adding 1095 lines and deleting 936. The reviewer wrote, "This fix is definitely wrong. You didn't run the full test suite." It closed unmerged: a burn.

“This fix is definitely wrong. You didn't run the full test suite. Start over, ensure you look the original code for clues, and run the”

— from the review (source)

From the pull request description

This PR fixes an issue where tsgo incorrectly generates `.d.ts` files for conditional types containing `infer` clauses, causing TypeScript compilation errors. ## Problem When generating TypeScript declaration files, tsgo was dropping `infer` clauses from conditional types, leading to "Cannot find …

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. —committedcopilot-swe-agent[bot]
  5. —committedcopilot-swe-agent[bot]
  6. —committedcopilot-swe-agent[bot]
  7. —committedcopilot-swe-agent[bot]
  8. —committedcopilot-swe-agent[bot]
  9. —committedcopilot-swe-agent[bot]
  10. —committedcopilot-swe-agent[bot]
  11. —committedcopilot-swe-agent[bot]

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

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