{
 "flight": {
  "id": 929004,
  "agent": "devin",
  "state": "closed",
  "title": "fix: return 400 instead of 500 for idempotency key reuse with different body (LX-50)",
  "number": 918,
  "source": "aidev",
  "commits": 7,
  "debrief": "Devin's LX-50 fix in formancehq/ledger returns 400 instead of 500 for idempotency key reuse with a different body. The change spans 16 files, with 254 additions and 68 deletions across seven commits. Four reviews followed: one change request, two comments. The reviewer wrote \"not tested. and probably wrong\". The PR closed unmerged.",
  "outcome": "burn",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": true,
  "additions": 254,
  "closed_at": "2025-05-15T14:19:39+00:00",
  "deletions": 68,
  "merged_at": null,
  "opened_at": "2025-05-14T18:23:39+00:00",
  "task_type": "fix",
  "body_chars": 956,
  "confidence": "dataset",
  "updated_at": "2026-11-04T03:01:21.481255+00:00",
  "enriched_at": null,
  "body_excerpt": "# Fix idempotency key reuse error handling (LX-50)\n\n## Description\nThis PR fixes the error handling for idempotency key reuse with a different request body. Previously, when a client reused an idempotency key with a different request body, the ledger service returned a 500 Internal Server Error. Wit",
  "review_count": 4,
  "files_changed": 16,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 1,
  "og_generated_at": "2026-11-04T03:01:21.481255+00:00",
  "reviewer_excerpt": "not tested. and probably wrong",
  "review_comment_count": 2,
  "reviewer_excerpt_url": "https://github.com/formancehq/ledger/pull/918#pullrequestreview-2841267100"
 },
 "repo": {
  "name": "ledger",
  "owner": "formancehq",
  "stars": 1485,
  "license": "MIT",
  "full_name": "formancehq/ledger",
  "primary_language": "Go"
 },
 "author": {
  "login": "devin-ai-integration[bot]",
  "name": null,
  "github_profile": "https://github.com/devin-ai-integration[bot]",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "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": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": "2025-05-14T19:24:52+00:00",
   "url": "https://github.com/formancehq/ledger/pull/918#pullrequestreview-2841267100",
   "kind": "changes_requested",
   "actor_login": "gfyrag"
  },
  {
   "at": "2025-05-15T14:19:39+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "flemzord"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "closed",
   "title": "fix: filter out HealthCheckStorage trace in production environments",
   "number": 909,
   "outcome": "burn",
   "index_ok": true,
   "additions": 60,
   "deletions": 412,
   "merged_at": null,
   "opened_at": "2025-05-12T09:33:37+00:00",
   "task_type": "fix",
   "files_changed": 8,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "closed",
   "title": "feat: implement bucket deletion functionality",
   "number": 894,
   "outcome": "burn",
   "index_ok": true,
   "additions": 17327,
   "deletions": 14281,
   "merged_at": null,
   "opened_at": "2025-05-01T22:11:56+00:00",
   "task_type": "feat",
   "files_changed": 53,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "closed",
   "title": "fix: filter out HealthCheckStorage trace in production environments",
   "number": 908,
   "outcome": "abandoned",
   "index_ok": false,
   "additions": 17,
   "deletions": 0,
   "merged_at": null,
   "opened_at": "2025-05-12T09:24:29+00:00",
   "task_type": "fix",
   "files_changed": 2,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/formancehq/ledger/pull/918",
 "page": "https://agentriders.com/logs/formancehq/ledger/918/"
}