{
 "flight": {
  "id": 55192,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix SPI bus lock issue in spi_start_extended when using mutual exclusion",
  "number": 25447,
  "source": "aidev",
  "commits": 3,
  "debrief": "GitHub Copilot, on qmk/qmk_firmware, fixes an SPI bus lock in spi_start_extended. When SPI_USE_MUTUAL_EXCLUSION is enabled, early error returns leave the bus locked, so later calls hang. The change touches two files with 23 additions and eight deletions across three commits. It merged clean after 54.16 hours, with no change requests and one review round.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 23,
  "closed_at": "2025-07-06T06:20:48+00:00",
  "deletions": 8,
  "merged_at": "2025-07-06T06:20:48+00:00",
  "opened_at": "2025-07-04T00:11:08+00:00",
  "task_type": "fix",
  "body_chars": 1769,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:37:39.072494+00:00",
  "enriched_at": null,
  "body_excerpt": "When `SPI_USE_MUTUAL_EXCLUSION` is enabled, the `spi_start_extended` function in the ChibiOS platform acquires the SPI bus at the beginning but fails to release it on early error returns. This leaves the SPI bus in a locked state, causing subsequent calls to hang indefinitely.\n\n## Problem\n\nThe issue",
  "review_count": 2,
  "files_changed": 2,
  "hours_to_merge": 54.16,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:37:39.072494+00:00",
  "reviewer_excerpt": "@copilot fix the formatting as per the failing check.\\",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/qmk/qmk_firmware/pull/25447#issuecomment-3034022877"
 },
 "repo": {
  "name": "qmk_firmware",
  "owner": "qmk",
  "stars": 20799,
  "license": "GPL-2.0",
  "full_name": "qmk/qmk_firmware",
  "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-07-04T00:32:41+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-07-04T00:51:19+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "tzarc"
  },
  {
   "at": "2025-07-06T06:20:48+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "zvecr"
  },
  {
   "at": "2025-07-06T06:20:48+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "zvecr"
  }
 ],
 "related": [],
 "pr_url": "https://github.com/qmk/qmk_firmware/pull/25447",
 "page": "https://agentriders.com/logs/qmk/qmk_firmware/25447/"
}