Shipping code
How changes get from a branch to production safely.
Words
All learned. See them in History.
-
Change freeze
A set window, such as the days around a big launch or a holiday, when no changes go to production: no deploys, no config or infrastructure changes, and often no feature flag flips (a deploy freeze blocks only the deploys).
-
Cherry-pick
A git command that copies the change from one commit onto another branch as a new commit, such as a fix from main onto release/1.4, without the commits around it.
-
Feature flag
A switch the running app reads to turn one feature on or off, for everyone or for a share of users, without a new deploy: both code paths ship in the same version and the flag picks one per user.
-
Flaky test
A test that sometimes passes and sometimes fails on the same code, because it depends on something it does not control, such as timing, the order tests run in, or the network.
-
Hotfix
A small, urgent fix shipped to the version already in production, without waiting for the next release: you start from that release's branch or tag (not from main, which holds unfinished work), make one fix, test it and deploy it as a patch such as v1.4.1.
-
Release branch
A branch cut from main for one release, such as release/1.4: it only takes fixes, the release is tagged and deployed from it, and new features keep landing on main for the next release.
-
Revert
Undoing a commit by adding a new commit that is its exact opposite, so the bad change goes away and the history keeps both commits.
-
Smoke test
A short set of checks that runs right after a deploy and tries the few paths that matter most, such as the health endpoint, logging in and placing an order.