CI/CD
posts (14)
- Testing Through Layers: From Code to Infrastructure9/9
Infrastructure Tests and Security Tests: Configuration Before Production
An infrastructure test checks environment and configuration, while a security test guards risks that are often invisible in application code.
- Deployment Strategies: Why They Exist6/6
Shadow Traffic: Testing Without Responding to the User
Shadow traffic sends a copy of a request to the new version, but the user receives the old version's response. It tests behavior without taking over traffic.
- Recovery from the Ground Up: Rollback, PITR, and Returning After Failure3/5
Whole-Server PITR: Restore Is Only the Beginning
Whole-server PITR does not end when the database is restored. We still need to freeze writes, validate state, switch traffic, and consciously abandon or move…
- Deployment Strategies: Why They Exist5/6
Feature Flags: Deploy Is Not Release
A feature flag lets you deploy code without enabling behavior. It shortens feature rollback, but creates debt if flags are not removed.
- Testing Through Layers: From Code to Infrastructure6/9
Regression Tests and Smoke Tests: The Gate Before Release
A regression test closes a bug that already passed once, while a smoke test checks whether a version is even worth testing further.
- Deployment Strategies: Why They Exist4/6
Targeted Rollout: A/B Tests, Rings, and Segments
Canary splits traffic by percentage. Targeted rollout chooses specific users, rings, or segments, so it answers a different question.
- Testing Through Layers: From Code to Infrastructure5/9
E2E Tests and Visual Regression Tests: The Full User Path
An E2E test walks through the system the way a user does, while a visual regression test protects appearance. They are powerful but expensive, so they should…
- Deployment Strategies: Why They Exist3/6
Canary Deployment: The New Version Gets Part of the Traffic
Canary limits blast radius by using a small percentage of real traffic. Without metrics, it is only a slower rollout.
- Deployment Strategies: Why They Exist2/6
Blue-Green Deployment: Two Versions, One Traffic Path
Blue-green separates deploying from switching traffic. Rollback can be fast, but data does not move back with routing.
- Recovery from the Ground Up: Rollback, PITR, and Returning After Failure2/5
Rolling Back a Release: Code Is the Easy Part
Release rollback often looks like returning to the previous application image. In practice, the hard parts are data, migrations, and side effects that already…