Home / Incidents / STUPID-2026-0011
STUPID-2026-00113.4lowDevinVerified

Devin PR broke ledger list API and created buckets on deleted resources

3.4/10
Severity
Logic Error
Failure Mode
Reproducible
Yes
Date
March 21, 2026

Expected Behavior

Implement soft-delete and hard-delete for buckets while maintaining existing API contracts and following project conventions

What Actually Happened

Broke the ledger list endpoint, allowed creating ledgers on deleted buckets, used inconsistent test/handler naming conventions. 65% code coverage with 142 lines missing coverage.

Damage Assessment

PR closed without merge. Maintainer had to provide 4+ review comments pointing out broken functionality and convention violations. Wasted reviewer time.

Full Report

Devin submitted a PR to implement bucket deletion in Formance Ledger. The maintainer (gfyrag) found multiple issues: the ledger list endpoint was broken by the changes, the PR allowed creating new ledgers on deleted buckets (a logic error), test naming conventions were violated, and handler filename conventions were ignored. Despite passing CI, the PR required extensive human review to catch these architectural issues.

Incident Metadata

Agent
Devin
Failure Mode
Logic Error
Root Cause
Scope Misunderstanding
Task Type
feature
Domain
backend
Source
github_pr
View Source