Skip to the page

Running a frontend incident · core

The first steps of a frontend incident

A frontend incident starts with scope and timing: which pages, browsers, users and since when. You compare with the release time, reduce the damage first, and look at the error tracker grouped by release.

The notes

What you must know

  • Clarify the scope: which pages, which browsers and versions, new or returning users, which regions, and since when. Compare the start time with the deploy time.
  • Size it with business numbers (orders per minute, checkout success) compared with a normal hour, not only with error counts.
  • Reduce the damage first and fix later: roll back, turn the flag off, disable a tag. A "clear site data" note for support is only a stopgap.
  • Open the error tracker grouped by release: one new top error after a release is the first clue. Then reproduce with the state of a real user (not an incognito window).
  • Think about changes that are not your deploy: flags and remote config, third-party scripts and tags, certificates, the CDN, a backend or data change, a new browser version rolling out, and time-based bugs such as a date rollover.
  • At night, deploy code only if nothing safer works and the change is small and reviewed. Prefer flags and config.
  • Escalate by the written severity policy and never stay silent. Keep a timeline, hand over in the morning, write a postmortem, and tune the alert if it was noisy.
  • Cheap stopgaps for users (a banner, a reload button, another payment method) buy time while you fix.

The red pen

Common traps: mistake → fix

  • Mistake: The bug must be in our last deploy

    Fix: check flags, third-party tags, CDN, backend data and browser updates too.

  • Mistake: It works for me, so it is rare

    Fix: your browser has your cache and your state; test with an old user state and other browsers.

  • Mistake: Fix at night, fast

    Fix: a rushed deploy can double the incident; use flags and rollbacks.

Easy to hard

Questions interviewers ask, easy to hard

  1. You are paged at 3 am because the web app shows errors. What do you do?
  2. Name five causes of a frontend incident that are not your own deploy.
  3. What do you look at first in the error tracker?
  4. When is it acceptable to deploy code in the middle of the night?

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview