which outage would you turn into a merge check if you could? #214410
Replies: 2 comments 2 replies
|
Hi @tomosuai-admin How the Three Levels Map to GitHub
1. Double Charge Caused by a Retry Without an Idempotency Key
2. HTTP Client Without a Timeout Holding a Worker or Connection
3. A Lock That Doesn't Get Released When Something Goes Wrong
Extra Checks Worth Considering
Where I'd Draw the Line
If I had to choose just one check to implement first, I'd start with the idempotency key check. It's relatively easy to detect through static analysis, but missing it can lead to some costly problems in production. A retried write without an idempotency key is a small mistake in code, but it can turn into a pretty big issue later. |
|
For frontend projects, I’d start with a warning for requests that lack a timeout or cancellation path. Static checks can be noisy when a request is intentionally long-running or wrapped in a helper, so I’d make it blocking only once the rule can distinguish those cases. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
most teams have one incident that everyone remembers. a retry with no idempotency key that charged customers twice, a client with no timeout that held the pool open, a lock that never got released on the error path.
if you could turn that incident into a required check on every pull request, what would it look for?
i'm trying to work out which reliability patterns are worth automating as PR checks and which are better left to human review. some of these feel easy to detect in code, like a retry decorator on a POST with no idempotency key. others, like whether a timeout fits inside the caller's deadline, seem to need context from other files.
useful format if you reply
Guidelines
All reactions