Cedarlift Logistics · Freight and logistics
Caught a settlement regression with eleven thousand replays
Before every release, Cedarlift replays a slice of real production traffic against the candidate build and diffs the responses.
- 11,400Production requests replayed per release
- 3Customer-visible regressions caught pre-release
- 0Settlement incidents since adopting replay
The problem
Cedarlift's settlement endpoints touch money, and its integration test suite was built on fixtures written in 2023. The fixtures passed; production traffic did not always agree with them.
A rounding change shipped in March produced settlement totals that were correct to the cent for every fixture and wrong for any shipment split across more than four legs — a shape that existed only in real data.
What they did
A replay slice per release
Cedarlift selects 11,400 production wakes across the settlement endpoints and replays them against the release candidate in staging.
Response diffing
Any structural or numeric difference outside a tolerance is raised in the release checklist with both payloads attached.
Redaction first
Field rules strip consignee details at the edge, so the replay slice is safe to run in a lower environment.
What changed
- Three customer-visible regressions were caught before release in the first two quarters.
- There have been no settlement incidents since replay entered the release checklist.
- The fixture suite is now generated from replay slices rather than written by hand.
“Replay paid for the whole contract. We caught a settlement regression by replaying eleven thousand production requests against the release candidate.”
Their stack
- Java origin services
- GCP Cloud Run
- Flintwake collector
- BigQuery export
- GitHub Actions
Cedarlift Logistics is a fictional company created for this template. Every figure on this page is demonstration data.
More stories
Two others worth reading.
- Payments infrastructure
Four days to under an hour on API support
A payments API with 340 integrators replaced screenshot-driven support with wake IDs, and cut median ticket resolution from four days to fifty-one minutes.
Read - Commerce platform
Found the p95 regression that six dashboards missed
Slicing latency by consumer rather than by service revealed that one SDK version was responsible for 71% of the platform's slow requests.
Read
Run the same experiment on one endpoint.
Four minutes to the first captured request, and no change to your application code.