How We Ship
How a merged change reaches customers, how we test and monitor it, and how we handle hotfixes and feature flags.
A change reaches customers when its pull request merges: we deploy on merge, there are no weekly releases and no version tags. The rules for getting a branch to that point (pull requests, review, checks) are in How Code Moves. The way work is planned in two-week cycles is in How Product Work Moves.
This page covers what happens around the merge: testing, hotfixes, feature flags and monitoring.
Testing
We test the things that matter. That means:
- Critical paths (event ingestion, destination delivery, consent pass-through) have automated tests
- New features should have at least a smoke test before they ship
- We don't block shipping on achieving perfect test coverage
Production is also a test environment. Ship, monitor, fix fast. This only works if we have alerts configured and someone is watching them.
Hotfixes
If something breaks in production, the process is:
- Identify the issue and confirm the blast radius
- Set the priority to Urgent or High in Linear (see Bug Prioritization)
- Fix it on a
bug/dev-1234branch, test it, and ship it through a pull request. Don't wait for the next cycle - Notify affected customers if the issue was visible to them
- Write a brief post-mortem for Urgent issues within a week
A hotfix follows the same rules as any other change: every pull request needs an approval and green checks before it merges. When time matters, ask a reviewer directly instead of waiting in the queue.
Feature flags
We use feature flags to decouple deployment from release. This lets us:
- Ship code to production before it's publicly available
- Test with a subset of customers before a full rollout
- Roll back a feature without a new deployment
Not every feature needs a flag. Small, low-risk changes can go straight to production. Bigger changes, API integrations, or anything with customer-visible impact should go behind a flag.
What gets monitored
Every new integration or service should have monitoring before it ships:
- Error rate alerts
- Latency alerts for latency-sensitive paths
- Volume alerts for unexpectedly low activity (event ingestion drops, for example)
If something is in production but not monitored, we don't know when it breaks. That's not acceptable for infrastructure that customers depend on.