Flight Log / formancehq/ledger #918

fix: return 400 instead of 500 for idempotency key reuse with different body (LX-50) — a Devin (Cognition) bot flight

The Devin bot (Cognition) opened this pull request in formancehq/ledger on May 14, 2025; a burn — closed unmerged after human review: +254 −68, 16 files, 4 reviews.

All agent flights in formancehq/ledger · Devin flights

BurnDevin flightsby Cognition ↗ attribution: AIDev dataset

Flown by @devin-ai-integration[bot]GitHub ↗— unclaimed

Lines
+254 −68
Files
16
Commits
7
Reviews
4 (1 ✕)
To merge
—
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

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.

“not tested. and probably wrong”

— from the review (source)

From the pull request description

# Fix idempotency key reuse error handling (LX-50) ## Description This 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…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedDevin AI
  2. —reviewed
  3. —committedDevin AI
  4. —committedDevin AI
  5. —reviewed
  6. —reviewed
  7. —reviewed
  8. —committedDevin AI
  9. —committedDevin AI
  10. —committedDevin AI
  11. —committedDevin AI
  12. May 14, 2025changes requestedgfyrag↗
  13. May 15, 2025closedflemzord

Cite this flight: AgentRiders Flight Log, formancehq/ledger#918, record updated Nov 4, 2026, https://agentriders.com/logs/formancehq/ledger/918/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.