Why Your First DevOps Lab Shouldn't End at "Deploy Succeeded"

A green pipeline can still show a cancelled order as "received." A 50-minute lab that has students deploy, reproduce a bad version, roll back to the last good one and have a classmate verify it independently, with a three-sentence write-up as the deliverable.

John Baek
John Baek
Founder, CollabOps
2 min read

A student changes one line of code and presses deploy. A green success badge appears. Now cancel an order, and the class gets interesting. The screen still says "Received," and the server returns a perfectly normal HTTP 200. The pipeline did its job, but what the user sees is wrong. Now the student has a deploy to explain.

The pass bar for a first DevOps lab isn't a green deploy badge. It's whether the student can find the bad version, restore the good one, and leave a record the next person can verify alone.

How do you structure a 50-minute lab?

You don't need a big service to feel this difference. One order, a small app with two states, and an isolated lab environment per student are enough. For a 50-minute class it can run like this (build and order numbers are examples).

TimeWhat the student doesWhat they leave behind
0–15 minChange the app to show "Cancelled" for a cancelled order and commit. Deploy build #41, then look up sample order DEMO-7.Commit, deploy run number, correct screen
15–25 minDeploy the instructor's next version #42 to the same environment. Open the same order and reproduce it wrongly showing "Received."The input and version where the problem appears, expected vs. actual
25–40 minFind the last good version #41 in the run history and restore it. Confirm the version actually running and look up the same order again.Recovery run number, #41 deployed, "Cancelled" screen
40–50 minHand only the recovery record to a neighbor. They follow it to check the current version and order status independently.A handoff record the next person can reproduce

If you reverted the code, are you done?

Reverting the code doesn't finish the recovery. Someone usually asks at this point: "We reverted the code, so we're done, right?" Running git revert creates a new commit that undoes the effect of an earlier change. Which version is actually running in the lab environment is something you only know from the deploy record and a real response. If you teach the GitOps way, also confirm that both the declared target version and the running version correspond to #41. For cases where rolling back in production gets harder, say the database schema has already changed, see what if you rolled back the app but the DB schema already changed?.

What should the final lab deliverable be?

The final deliverable is three sentences. "In the lab environment, build #42 showed cancelled order DEMO-7 as 'Received.' I restored #41, which I had already verified. After recovery I reopened the same order and confirmed 'Cancelled.'"

Corporate training can use those three sentences as its pass bar too. One lab tells you whether a graduate can deploy alone, choose a version to return to when something breaks, and leave a result the next shift can confirm.

  • #devops
  • #rollback
  • #deployment
  • #developer-experience
  • #cicd