Back to Blog
Arnošt Havelka

Premium: Bash Incident Drill

Run a safe release triage workflow: stage, extract errors, and verify impact volume.

Start Interactive Lesson
Premium: Bash Incident Drill

Premium: Bash Incident Drill

You are the on-call engineer. Build a safe release sandbox, isolate build errors, and quantify damage.

Step 1: Prepare a Safe Workspace

Command Prompt
app
C:\Users\User>ls

This creates a disposable copy so investigation never touches the original folder.

Step 2: Extract Errors from Build Logs

Command Prompt
INFO compile step started ERROR missing env var WARN fallback cache used ERROR migration timeout
C:\Users\User>cat release/app/build.log

Step 3: Verify Incident Size

Command Prompt
ERROR missing env var ERROR migration timeout
C:\Users\User>cat release/errors.log

Checklist You Can Reuse

  1. Stage with mkdir -p + cp -r.
  2. Isolate critical lines with grep.
  3. Quantify impact with wc -l.

Knowledge Check

1 / 2

Why copy app into release/ before triage?

References

These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.

Up Next

Bash Orientation: PWD Anchors

Use pwd as a fast orientation anchor so every follow-up command runs from the correct location.