{
 "flight": {
  "id": 32183,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Cleanup styled-components in *.stories.tsx files and convert to CSS modules",
  "number": 6197,
  "source": "aidev",
  "commits": 11,
  "debrief": "GitHub Copilot works in primer/react on a performance task to remove styled-components imports from story files and convert them to CSS modules. The change spans 233 files, with 1163 additions and 642 deletions across 11 commits. 14 reviews were filed, including two change requests. The pull request merged after rework, 138.77 hours after opening.",
  "outcome": "merged_after_rework",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 1163,
  "closed_at": "2025-06-17T14:15:24+00:00",
  "deletions": 642,
  "merged_at": "2025-06-17T14:15:24+00:00",
  "opened_at": "2025-06-11T19:28:59+00:00",
  "task_type": "perf",
  "body_chars": 2009,
  "confidence": "dataset",
  "updated_at": "2026-11-03T22:01:23.541701+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR removes all `styled-components` imports from story files and converts them to use CSS modules, following the established pattern in the codebase as outlined in [ADR-016](../contributor-docs/adrs/adr-016-css.md).\n\n## Changes Made\n\n### Files Updated\n- **8 story files** migrated from styled-com",
  "review_count": 14,
  "files_changed": 233,
  "hours_to_merge": 138.77,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 2,
  "og_generated_at": "2026-11-03T22:01:23.541701+00:00",
  "reviewer_excerpt": "@copilot can you revert the commit f05f7d9ace3b2bc8fbd184d732c5d64f9cea3ad4",
  "review_comment_count": 14,
  "reviewer_excerpt_url": "https://github.com/primer/react/pull/6197#issuecomment-2977607822"
 },
 "repo": {
  "name": "react",
  "owner": "primer",
  "stars": 3933,
  "license": "MIT",
  "full_name": "primer/react",
  "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": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Jon Rohan"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-11T20:14:42+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-06-11T22:11:11+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "jonrohan"
  },
  {
   "at": "2025-06-13T23:36:48+00:00",
   "url": "https://github.com/primer/react/pull/6197#pullrequestreview-2926758172",
   "kind": "changes_requested",
   "actor_login": "francinelucca"
  },
  {
   "at": "2025-06-16T17:50:46+00:00",
   "url": "https://github.com/primer/react/pull/6197#pullrequestreview-2932983572",
   "kind": "changes_requested",
   "actor_login": "francinelucca"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Migrate Details, Token, and CounterLabel tests from Jest to Vitest",
   "number": 6369,
   "outcome": "burn",
   "index_ok": true,
   "additions": 47,
   "deletions": 98,
   "merged_at": null,
   "opened_at": "2025-07-23T01:06:01+00:00",
   "task_type": "test",
   "files_changed": 8,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Migrate batch of components from Jest to Vitest",
   "number": 6367,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 2350,
   "deletions": 3310,
   "merged_at": "2025-07-25T19:06:36+00:00",
   "opened_at": "2025-07-23T00:52:31+00:00",
   "task_type": "test",
   "files_changed": 127,
   "hours_to_merge": 66.23
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Migrate 5 component tests from Jest to Vitest",
   "number": 6358,
   "outcome": "burn",
   "index_ok": true,
   "additions": 117,
   "deletions": 100,
   "merged_at": null,
   "opened_at": "2025-07-22T18:21:26+00:00",
   "task_type": "test",
   "files_changed": 9,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/primer/react/pull/6197",
 "page": "https://agentriders.com/logs/primer/react/6197/"
}