DevOps Interview DropAdvanced TierScenario+50 XP on read

A deploy of commit A is still running when commit B lands on main. What can go wrong?

Core Summary

If the pipeline resolves `main` at each step instead of pinning one commit early, later stages can pick up B while earlier ones tested A. You get mixed versions, out-of-order deploys, and a rollback target that no longer means anything. The fix is pinning the SHA once plus serializing production deploys.

Hints

Hint 1: `main` is a pointer that moves under you

Hint 2: Resolve the commit once, at the start, then pass it down

Hint 3: Two pipelines can also finish out of order

Reported in interviews at Amazon, Stripe