Interview Prep/Real-World Interview/Walking through your project

What happens when a developer merges a PR in your project? Step by step.

IntermediateBehavioralWalking through your project
Answer

Good answer looks like → "The merge to main triggers a GitHub Actions workflow: unit tests, Docker build with BuildKit cache, Trivy scan, push to ECR tagged with the commit SHA. A second job updates the image tag in the GitOps repo's staging values and opens an automerged PR. Argo CD syncs staging, smoke tests run, then a manual approval in a GitHub environment promotes the same tag to production."

Follow-ups to expect → How long does each stage take? What if the smoke test fails? Who can approve production?

Red flags → Steps out of order, or not knowing how production gets the new version.

All Real-World Interview questions Roadmap: Interview readiness

More on Walking through your project