{
 "flight": {
  "id": 38055,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Add duplicate identifier error for using declarations shadowed in for-of loops",
  "number": 61925,
  "source": "aidev",
  "commits": 3,
  "debrief": "GitHub Copilot opened a fix for microsoft/TypeScript that adds a compile-time error when a using declaration in a for-of loop head shares a name with a declaration in the loop body. It spans 45 files, 2086 additions and 427 deletions across three commits. One review requested one change, and the pull request was closed unmerged.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 2086,
  "closed_at": "2025-06-24T16:42:07+00:00",
  "deletions": 427,
  "merged_at": null,
  "opened_at": "2025-06-23T22:25:51+00:00",
  "task_type": "fix",
  "body_chars": 1759,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:54:09.862649+00:00",
  "enriched_at": null,
  "body_excerpt": "When a `using` declaration in a for-of loop head has the same name as a declaration in the loop body, the transformed output generates conflicting variable declarations that can cause runtime errors. This PR adds a compile-time error to catch this issue early.\n\n**Problem:**\n```ts\nclass Foo {}\nfor (u",
  "review_count": 1,
  "files_changed": 45,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 1,
  "og_generated_at": "2026-11-03T21:54:09.862649+00:00",
  "reviewer_excerpt": "You should not leave TODOs in your code. You didn't need two testcases here since one already tests both configurations. There was no need to",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/microsoft/TypeScript/pull/61925#pullrequestreview-2951737609"
 },
 "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-06-23T22:25:55+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "typescript-bot"
  },
  {
   "at": "2025-06-23T23:05:24+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61925#pullrequestreview-2951737609",
   "kind": "changes_requested",
   "actor_login": "RyanCavanaugh"
  },
  {
   "at": "2025-06-24T16:42:07+00:00",
   "url": null,
   "kind": "closed",
   "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/61925",
 "page": "https://agentriders.com/logs/microsoft/TypeScript/61925/"
}