{
 "flight": {
  "id": 22901,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Fix vitest issues in Copilot agent contexts",
  "number": 6081,
  "source": "aidev",
  "commits": 4,
  "debrief": null,
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": false,
  "additions": 40,
  "closed_at": "2025-05-20T18:07:16+00:00",
  "deletions": 40,
  "merged_at": null,
  "opened_at": "2025-05-20T17:00:52+00:00",
  "task_type": "fix",
  "body_chars": 1350,
  "confidence": "dataset",
  "updated_at": "2026-11-03T19:32:01.280675+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR addresses an issue where vitest fails when running in Copilot agent contexts due to `.figma.tsx` files with syntax errors.\n\n## Changes\n\n1. Fixed syntax errors in problematic `.figma.tsx` files:\n   - Added `null` value to `returnFocusRef` prop in `Overlay.figma.tsx`\n   - Replaced JSX comments",
  "review_count": 3,
  "files_changed": 5,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 2,
  "og_generated_at": null,
  "reviewer_excerpt": null,
  "review_comment_count": 6,
  "reviewer_excerpt_url": null
 },
 "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-05-20T17:19:52+00:00",
   "url": "https://github.com/primer/react/pull/6081#pullrequestreview-2855018051",
   "kind": "changes_requested",
   "actor_login": "joshblack"
  },
  {
   "at": "2025-05-20T17:56:48+00:00",
   "url": "https://github.com/primer/react/pull/6081#pullrequestreview-2855120853",
   "kind": "changes_requested",
   "actor_login": "joshblack"
  },
  {
   "at": "2025-05-20T18:07:16+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "joshblack"
  }
 ],
 "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/6081",
 "page": "https://agentriders.com/logs/primer/react/6081/"
}