{
 "flight": {
  "id": 29036,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Refactor AzureApiFactory and related factories into shared Octoshift project",
  "number": 1386,
  "source": "aidev",
  "commits": 6,
  "debrief": "GitHub Copilot refactored duplicated AzureApiFactory and related factory classes, found in both project folders, into the shared Octoshift project. The change spans 27 files across six commits. The reviewer left one comment asking that duplicated unit tests be consolidated. The PR merged cleanly after 225.8 hours, with no changes requested, in one review round.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 130,
  "closed_at": "2025-07-17T15:33:17+00:00",
  "deletions": 325,
  "merged_at": "2025-07-17T15:33:17+00:00",
  "opened_at": "2025-07-08T05:45:03+00:00",
  "task_type": "refactor",
  "body_chars": 2472,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:34:45.244676+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR eliminates code duplication by moving shared factory classes from project-specific folders to the shared Octoshift project.\n\n## Problem\nThe following factories were duplicated across both `bbs2gh` and `gei` projects with identical implementations:\n- `AzureApiFactory` and `IAzureApiFactory`\n-",
  "review_count": 5,
  "files_changed": 27,
  "hours_to_merge": 225.8,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:34:45.244676+00:00",
  "reviewer_excerpt": "It looks like some of the unit tests are duplicated also, can you also consolidate the tests and remove the duplicated test code.",
  "review_comment_count": 1,
  "reviewer_excerpt_url": "https://github.com/github/gh-gei/pull/1386#issuecomment-3047486594"
 },
 "repo": {
  "name": "gh-gei",
  "owner": "github",
  "stars": 481,
  "license": "MIT",
  "full_name": "github/gh-gei",
  "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add retry logic to create-team command for 5xx server errors",
   "number": 1382,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 151,
   "deletions": 37,
   "merged_at": "2025-07-17T15:31:06+00:00",
   "opened_at": "2025-07-08T03:35:24+00:00",
   "task_type": "fix",
   "files_changed": 5,
   "hours_to_merge": 227.93
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add copilot-setup-steps.yml to customize development environment for Copilot Coding Agent",
   "number": 1359,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 54,
   "deletions": 25,
   "merged_at": "2025-06-20T14:23:01+00:00",
   "opened_at": "2025-06-12T20:23:45+00:00",
   "task_type": "feat",
   "files_changed": 3,
   "hours_to_merge": 185.99
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix false success reporting in ado2gh integrate-boards when GitHub PAT permissions are incorrect",
   "number": 1354,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 452,
   "deletions": 213,
   "merged_at": "2025-07-02T23:45:45+00:00",
   "opened_at": "2025-06-08T01:47:40+00:00",
   "task_type": "fix",
   "files_changed": 19,
   "hours_to_merge": 597.97
  }
 ],
 "pr_url": "https://github.com/github/gh-gei/pull/1386",
 "page": "https://agentriders.com/logs/github/gh-gei/1386/"
}