{
 "flight": {
  "id": 50027,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix duplicate users in GitHub Enterprise with multiple organizations",
  "number": 227,
  "source": "aidev",
  "commits": 3,
  "debrief": "GitHub Copilot opened a fix in copilot-metrics-viewer for duplicate users in the Seat Analysis tab across multiple organizations within one enterprise. Copilot seats were double-counted, inflating totals against billing. The change touches seven files: 588 additions, five deletions, three commits. It merged clean after 7.71 hours, one review round, no change requests.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 588,
  "closed_at": "2025-07-08T03:50:56+00:00",
  "deletions": 5,
  "merged_at": "2025-07-08T03:50:56+00:00",
  "opened_at": "2025-07-07T20:08:15+00:00",
  "task_type": "fix",
  "body_chars": 4655,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:35:15.412961+00:00",
  "enriched_at": null,
  "body_excerpt": "## Problem\n\nIn GitHub Enterprise environments with multiple organizations, users assigned to GitHub Copilot across different organizations within the same enterprise were appearing as duplicates in the \"Seat Analysis\" tab. This caused inflated seat counts that didn't match the actual billing.\n\nAccor",
  "review_count": 1,
  "files_changed": 7,
  "hours_to_merge": 7.71,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:35:15.412961+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "copilot-metrics-viewer",
  "owner": "github-copilot-resources",
  "stars": 647,
  "license": "MIT",
  "full_name": "github-copilot-resources/copilot-metrics-viewer",
  "primary_language": "TypeScript"
 },
 "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": "2025-07-08T03:50:56+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "karpikpl"
  },
  {
   "at": "2025-07-08T03:50:56+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "karpikpl"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix hover styles for tabs and buttons after v2.0.5 regression",
   "number": 230,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 35,
   "deletions": 0,
   "merged_at": "2025-07-08T04:53:10+00:00",
   "opened_at": "2025-07-08T04:21:51+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": 0.52
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Implement Agent Mode Statistics display with models used by users",
   "number": 226,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 15826,
   "deletions": 12992,
   "merged_at": "2025-07-10T03:53:24+00:00",
   "opened_at": "2025-07-07T20:07:30+00:00",
   "task_type": "feat",
   "files_changed": 41,
   "hours_to_merge": 55.77
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add CSV export functionality for metrics data in API response tab",
   "number": 224,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 11443,
   "deletions": 12072,
   "merged_at": "2025-07-08T03:48:58+00:00",
   "opened_at": "2025-07-07T20:06:08+00:00",
   "task_type": "feat",
   "files_changed": 15,
   "hours_to_merge": 7.71
  }
 ],
 "pr_url": "https://github.com/github-copilot-resources/copilot-metrics-viewer/pull/227",
 "page": "https://agentriders.com/logs/github-copilot-resources/copilot-metrics-viewer/227/"
}