Chapter 2 · Part 1

From Code to Production

A focused chapter on from code to production, with practical delivery concerns, trade-offs, and the operational questions behind CI/CD work.

2-1

The Real Starting Point of Software Delivery Isn't Code

Every deployment you've ever done started somewhere. But that somewhere isn't a pull request, a branch, or a line of code. It started earlier, often in a

4 min
2-2

From Idea to Code: The First Step in Software Delivery

Every feature starts the same way: someone has an idea, the team agrees it's worth building, and a developer opens their editor to write code. At this

5 min
2-3

Why Your Code Needs a Second Pair of Eyes (and a Robot)

You've just finished writing a new feature. The logic looks solid, the edge cases are handled, and you're ready to merge. But here's the thing: when you

4 min
2-4

From Code to Build: Why Your Laptop Isn't the Right Place to Compile

You just finished writing a feature. The tests pass on your machine. You type go build or npm run build, and it works. You're ready to deploy.

7 min
2-5

Where Does Your Build Go? The Missing Piece Between Code and Production

You just finished building your application. The build succeeded, tests passed, and you have a shiny new artifact sitting in a folder on your laptop. Now

5 min
2-6

Where Your Code Actually Runs: Understanding Environments

You've just finished building your application. The tests pass, the build completes, and the artifact is sitting safely in a registry. Now comes the

5 min
2-7

Deployment vs Release: Why Your New Code Isn't Reaching Users Yet

You've just finished a deployment. The pipeline is green, the artifact is on the production server, and your team is ready to call it done. But when you

6 min
2-8

What Happens After You Hit Deploy: Checking That Your New Version Actually Works

The deploy button has been pressed. The pipeline shows green. Your team lets out a collective breath. But if you think the work is done, you are setting

7 min
2-9

What Production Teaches You That Staging Never Will

You just finished a deployment. All tests passed in staging. The pipeline was green. The team felt confident. Then, thirty minutes after release, a user

4 min