{
 "flight": {
  "id": 18414,
  "agent": "github-copilot",
  "state": "open",
  "title": "Fix using transform variable shadowing in for-of loops",
  "number": 61934,
  "source": "aidev",
  "commits": 11,
  "debrief": null,
  "outcome": "stale",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": false,
  "additions": 27245,
  "closed_at": null,
  "deletions": 6513,
  "merged_at": null,
  "opened_at": "2025-06-24T16:43:33+00:00",
  "task_type": "fix",
  "body_chars": 1634,
  "confidence": "dataset",
  "updated_at": "2026-11-03T17:53:33.703657+00:00",
  "enriched_at": null,
  "body_excerpt": "The `using` declaration transform was throwing \"redeclaration of const\" errors when the for-of loop body contained variables that shadowed the `using` variable name.\n\n**Problem:**\n```ts\nclass Foo {}\nfor (using foo of []) {\n  const foo = new Foo(); // Error: redeclaration of const foo\n}\n```\n\nThe tran",
  "review_count": 10,
  "files_changed": 321,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 5,
  "og_generated_at": null,
  "reviewer_excerpt": "Run `hereby format` to fix your line endings Add `importHelpers: true` to your testcase so the emit is tidier",
  "review_comment_count": 8,
  "reviewer_excerpt_url": "https://github.com/microsoft/TypeScript/pull/61934#pullrequestreview-2954681513"
 },
 "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": "reviewed",
   "actor_login": null
  },
  {
   "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": "2025-06-24T16:43:37+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "typescript-bot"
  },
  {
   "at": "2025-06-24T17:14:28+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61934#pullrequestreview-2954681513",
   "kind": "changes_requested",
   "actor_login": "RyanCavanaugh"
  },
  {
   "at": "2025-06-25T20:35:52+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61934#pullrequestreview-2959579004",
   "kind": "changes_requested",
   "actor_login": "weswigham"
  },
  {
   "at": "2025-06-25T20:59:19+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61934#pullrequestreview-2959642591",
   "kind": "changes_requested",
   "actor_login": "weswigham"
  },
  {
   "at": "2025-07-01T20:48:57+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61934#pullrequestreview-2976888258",
   "kind": "changes_requested",
   "actor_login": "weswigham"
  },
  {
   "at": "2025-07-01T20:50:22+00:00",
   "url": "https://github.com/microsoft/TypeScript/pull/61934#pullrequestreview-2976901758",
   "kind": "changes_requested",
   "actor_login": "weswigham"
  }
 ],
 "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/61934",
 "page": "https://agentriders.com/logs/microsoft/TypeScript/61934/"
}