{
 "flight": {
  "id": 18422,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix BigInt literal error in ambient contexts when targeting < ES2020",
  "number": 61935,
  "source": "aidev",
  "commits": 8,
  "debrief": "Copilot fixes a bug in microsoft/TypeScript where BigInt literals in ambient contexts were wrongly reported as errors when targeting below ES2020. The change spans 10 files, with 199 additions and 92 deletions over eight commits. Eight reviews requested four changes, including line-ending fixes and a .d.ts test. The PR merged after 28.64 hours.",
  "outcome": "merged_after_rework",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 199,
  "closed_at": "2025-06-25T21:29:51+00:00",
  "deletions": 92,
  "merged_at": "2025-06-25T21:29:51+00:00",
  "opened_at": "2025-06-24T16:51:22+00:00",
  "task_type": "fix",
  "body_chars": 1631,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:53:40.146847+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR fixes an issue where BigInt literals in ambient contexts (declare statements, .d.ts files, ambient modules) incorrectly reported the error \"BigInt literals are not available when targeting lower than ES2020\" even though BigInt literals in ambient contexts are only type information and don't ",
  "review_count": 8,
  "files_changed": 10,
  "hours_to_merge": 28.64,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 4,
  "og_generated_at": "2026-11-03T21:53:40.146847+00:00",
  "reviewer_excerpt": "Fix your line endings in checker.ts by running `hereby format` Add a sub-file in your test to check `.d.ts` contexts",
  "review_comment_count": 1,
  "reviewer_excerpt_url": "https://github.com/microsoft/TypeScript/pull/61935#pullrequestreview-2954662875"
 },
 "repo": {
  "name": "TypeScript",
  "owner": "microsoft",
  "stars": 111862,
  "license": "Apache-2.0",
  "full_name": "microsoft/TypeScript",
  "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-24T16:51:27+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "typescript-bot"
  },
  {
   "at": "2025-06-24T16:51:27+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "typescript-bot"
  },
  {
   "at": "2025-06-24T17:07:55+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61935#pullrequestreview-2954662875",
   "kind": "changes_requested",
   "actor_login": "RyanCavanaugh"
  },
  {
   "at": "2025-06-24T17:15:10+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61935#pullrequestreview-2954683686",
   "kind": "changes_requested",
   "actor_login": "RyanCavanaugh"
  },
  {
   "at": "2025-06-24T17:35:46+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61935#pullrequestreview-2954742320",
   "kind": "changes_requested",
   "actor_login": "RyanCavanaugh"
  },
  {
   "at": "2025-06-24T17:49:37+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61935#pullrequestreview-2954782856",
   "kind": "changes_requested",
   "actor_login": "RyanCavanaugh"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix Copilot instructions to emphasize mandatory lint, test, and format steps",
   "number": 61950,
   "outcome": "merged_after_rework",
   "index_ok": true,
   "additions": 61,
   "deletions": 46,
   "merged_at": "2025-06-30T22:22:29+00:00",
   "opened_at": "2025-06-26T05:11:20+00:00",
   "task_type": "fix",
   "files_changed": 2,
   "hours_to_merge": 113.19
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Fix incorrect type declarations for constants inside namespaces merged with enums",
   "number": 61946,
   "outcome": "burn",
   "index_ok": true,
   "additions": 21414,
   "deletions": 5895,
   "merged_at": null,
   "opened_at": "2025-06-25T15:38:32+00:00",
   "task_type": "fix",
   "files_changed": 203,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix Symbol completion priority and cursor positioning",
   "number": 61945,
   "outcome": "merged_after_rework",
   "index_ok": true,
   "additions": 484,
   "deletions": 71,
   "merged_at": "2025-07-02T21:46:24+00:00",
   "opened_at": "2025-06-25T15:20:04+00:00",
   "task_type": "fix",
   "files_changed": 27,
   "hours_to_merge": 174.44
  }
 ],
 "pr_url": "https://github.com/microsoft/TypeScript/pull/61935",
 "page": "https://agentriders.com/logs/microsoft/TypeScript/61935/"
}