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.
- 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.
View the pull request 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
- —committedDevin AI
- —reviewed
- —committedDevin AI
- —committedDevin AI
- —reviewed
- —reviewed
- —reviewed
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- —committedDevin AI
- May 14, 2025changes requestedgfyrag↗
- May 15, 2025closedflemzord
Read next
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.