{
 "flight": {
  "id": 37333,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Fix \"Convert to top-level statements\" to preserve preprocessor directives and disabled code",
  "number": 79057,
  "source": "aidev",
  "commits": 6,
  "debrief": "Copilot submits a fix to dotnet/roslyn for the Convert to top-level statements refactoring, which dropped preprocessor directives and disabled code. The change adds 353 lines and removes 252 across three files in six commits. It records zero reviews and zero review comments. The burn closes unmerged after human review.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 353,
  "closed_at": "2025-06-19T20:22:06+00:00",
  "deletions": 252,
  "merged_at": null,
  "opened_at": "2025-06-19T17:03:54+00:00",
  "task_type": "fix",
  "body_chars": 10411,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:55:51.228786+00:00",
  "enriched_at": null,
  "body_excerpt": "The \"Convert to top-level statements\" refactoring was incorrectly handling code with conditional preprocessor directives (`#if`/`#else`/`#endif`), causing loss of disabled code sections and preprocessor directives.\n\n## Problem\n\nWhen converting a `Main` method containing preprocessor directives to to",
  "review_count": 0,
  "files_changed": 3,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:55:51.228786+00:00",
  "reviewer_excerpt": "JFYI, this is just a learning for me to see the possibility of using Copilot to fix issues on the Roslyn repo.",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/dotnet/roslyn/pull/79057#issuecomment-2988748915"
 },
 "repo": {
  "name": "roslyn",
  "owner": "dotnet",
  "stars": 20768,
  "license": "MIT",
  "full_name": "dotnet/roslyn",
  "primary_language": "C#"
 },
 "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": "2025-06-19T17:20:43+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "dotnet-policy-service[bot]"
  },
  {
   "at": "2025-06-19T19:21:33+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "CyrusNajmabadi"
  },
  {
   "at": "2025-06-19T20:22:06+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "AbhitejJohn"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Mark SyntaxTokenParser as non-experimental",
   "number": 79521,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 13,
   "deletions": 20,
   "merged_at": "2025-07-24T16:20:58+00:00",
   "opened_at": "2025-07-22T16:53:02+00:00",
   "task_type": "chore",
   "files_changed": 6,
   "hours_to_merge": 47.47
  }
 ],
 "pr_url": "https://github.com/dotnet/roslyn/pull/79057",
 "page": "https://agentriders.com/logs/dotnet/roslyn/79057/"
}