Home
Notes
Writing
Occasional notes on iOS engineering, release tooling and the unglamorous parts of shipping software.
-
JSON:API is not JSON: resolving relationships you cannot see
A JSON:API document is a flat list of resources plus type/id pointers. Expanding one level of included looks correct and often isn't — what recursive resolution has to survive, which well-known APIs actually speak the format, and what it found in a real production response.
-
Reviewing a 237k-character PR diff without truncation
A 200k cut-off made an automated review look complete while skipping the last 37,000 characters. Here is the chunking strategy that fixed it — and the failure modes it had to survive.