Spikdi
A20:27
A20:27
Yesterday we deployed to staging.
昨天我们部署到了预发布环境。
Everything looked fine at first.
一开始一切看起来都正常。
But then a bug appeared.
但后来出现了一个 bug。
We had to roll it back fast.
我们不得不快速回滚。
The team worked on a hotfix.
团队开始做一个热修复。
We put the hotfix behind a feature flag.
我们把热修复放在一个功能开关后面。
Then we tested it again on staging.
然后我们在预发布环境重新测试。
This way, we could turn it off quickly.
这样我们就能快速关掉它。
The rollout went smoothly after that.
之后的发布很顺利。
I learned to always have a rollback plan.
我学到了永远要有回滚计划。
Staging catches problems before real users.
预发布环境在真实用户之前发现问题。
When we had to roll back a deploy
by @xue_50