{
 "flight": {
  "id": 21789,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix ort_genai_c.h compilation in C mode by using conditional includes",
  "number": 1516,
  "source": "aidev",
  "commits": 3,
  "debrief": "Copilot was asked to fix a compile failure in microsoft/onnxruntime-genai, where ort_genai_c.h broke in C builds by including the C++-only cstddef header. The change adds conditional includes across two files, 11 additions and five deletions, over three commits. One review round drew no change requests or review comments. It merged clean after 140.09 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 11,
  "closed_at": "2025-06-04T17:58:24+00:00",
  "deletions": 5,
  "merged_at": "2025-06-04T17:58:24+00:00",
  "opened_at": "2025-05-29T21:52:47+00:00",
  "task_type": "fix",
  "body_chars": 1367,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:40:13.934663+00:00",
  "enriched_at": null,
  "body_excerpt": "The `ort_genai_c.h` header was failing to compile when used as a C file due to the inclusion of `<cstddef>`, which is a C++-only header.\n\n## Problem\n```c\n// This would fail when compiling as C\n#include \"ort_genai_c.h\"\n```\n\nError:\n```\nonnxruntime-genai/src/ort_genai_c.h:7:10: fatal error: 'cstddef' f",
  "review_count": 1,
  "files_changed": 2,
  "hours_to_merge": 140.09,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:40:13.934663+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "onnxruntime-genai",
  "owner": "microsoft",
  "stars": 1153,
  "license": "MIT",
  "full_name": "microsoft/onnxruntime-genai",
  "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": "Baiju Meswani"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-04T17:58:24+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "ajindal1"
  },
  {
   "at": "2025-06-04T17:58:24+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "ajindal1"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "[Builder] Fix KeyError for torch.uint8 in dtype mapping for MoE quantization",
   "number": 1561,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 18,
   "deletions": 5,
   "merged_at": "2025-06-17T17:17:23+00:00",
   "opened_at": "2025-06-16T21:46:41+00:00",
   "task_type": "fix",
   "files_changed": 2,
   "hours_to_merge": 19.51
  }
 ],
 "pr_url": "https://github.com/microsoft/onnxruntime-genai/pull/1516",
 "page": "https://agentriders.com/logs/microsoft/onnxruntime-genai/1516/"
}