{
 "flight": {
  "id": 37941,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Fix conditional types with infer clause in TypeScript declaration generation",
  "number": 1382,
  "source": "aidev",
  "commits": 11,
  "debrief": "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.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 1095,
  "closed_at": "2025-07-11T11:28:05+00:00",
  "deletions": 936,
  "merged_at": null,
  "opened_at": "2025-07-10T07:13:28+00:00",
  "task_type": "fix",
  "body_chars": 2916,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:33:42.805101+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR fixes an issue where tsgo incorrectly generates `.d.ts` files for conditional types containing `infer` clauses, causing TypeScript compilation errors.\n\n## Problem\n\nWhen generating TypeScript declaration files, tsgo was dropping `infer` clauses from conditional types, leading to \"Cannot find ",
  "review_count": 0,
  "files_changed": 81,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:33:42.805101+00:00",
  "reviewer_excerpt": "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",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/microsoft/typescript-go/pull/1382#issuecomment-3056163051"
 },
 "repo": {
  "name": "typescript-go",
  "owner": "microsoft",
  "stars": 26089,
  "license": "Apache-2.0",
  "full_name": "microsoft/typescript-go",
  "primary_language": "Go"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add guidance to use @strict: true by default in new compiler tests",
   "number": 1480,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 4,
   "deletions": 2,
   "merged_at": "2025-07-30T17:26:31+00:00",
   "opened_at": "2025-07-30T12:38:45+00:00",
   "task_type": "docs",
   "files_changed": 2,
   "hours_to_merge": 4.8
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix parameter-property with default value emitting `T | undefined` instead of `T`",
   "number": 1479,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 306,
   "deletions": 51,
   "merged_at": "2025-07-30T15:12:45+00:00",
   "opened_at": "2025-07-30T12:02:53+00:00",
   "task_type": "fix",
   "files_changed": 22,
   "hours_to_merge": 3.16
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix comment formatting bug that mangled `*/` tokens",
   "number": 1401,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 202,
   "deletions": 131,
   "merged_at": "2025-07-22T16:46:34+00:00",
   "opened_at": "2025-07-14T03:03:29+00:00",
   "task_type": "fix",
   "files_changed": 5,
   "hours_to_merge": 205.72
  }
 ],
 "pr_url": "https://github.com/microsoft/typescript-go/pull/1382",
 "page": "https://agentriders.com/logs/microsoft/typescript-go/1382/"
}