Code Review
Reviewing a Promise Chain for the Rejection It Swallows
A catch that returns a fallback converts a failure into a value, and the caller downstream treats the fallback as data.
What to look for in a diff, especially diffs you did not write and diffs that read a little too cleanly.
Code Review
A catch that returns a fallback converts a failure into a value, and the caller downstream treats the fallback as data.
Code Review
The listener, the timer and the subscription all outlive the component that created them, and the leak is invisible on the first mount and obvious on the tenth.
Code Review
The shared list default is the famous one, and reviewers catch it on sight. The module level cache, the captured dict and the class attribute list are its…
Code Review
The loader fell back to a built-in value when the key was absent, so the service ran with the wrong setting for a week, and the startup log said the…
Code Review
Two models from the same family reviewed each other's code and agreed it was fine, because they share the same priors about what plausible code looks like.
Code Review
The pull request author accepted the diff from a tool and could not narrate its failure modes, so the review had no one to interrogate.
Code Review
Three validators in three layers, and the internal job that bypasses all of them. Scattered validation misses the one entry point nobody covered, and the…
Code Review
Offset pagination that scans, an unbounded page size, and a cursor that drifts when rows insert. The pagination diff looks like plumbing and contains the…
Code Review
Debug logging the full request body is one flag flip from production, and the request body is where the email, the token and the card reference live.
Code Review
A cache is reviewed for correctness on the happy path and fails on the edges: the cold start, the hot key, the poison entry and the deploy.
Code Review
A request chain is a ladder of deadlines, and when a lower rung is longer than the one above, the upper layer pays for work nobody will ever read.
Code Review
Locks and shared state look correct in the single threaded reading of a review and fail only under contention, which is exactly the condition review never…