Skip to main content

Which GitHub status API field should your outage check read?

Updated 5 min readMarkdown

Short answer: not status, and not components. Read impact and the newest update's body, and keep your own probe as the primary signal. Below is the measurement that moved me off the other two.

I fetched GitHub's own incident feed — the same JSON the status page renders — and counted what its fields say against what the prose says, over the 50 most recent incidents.

The feed had 50 incidents filed between 2026-08-26T22:56:31Z and 2026-11-04T17:40:33Z: 70 days, 0.71 incidents a day. Everything below is from that one fetch, whose own updated_at was 2026-11-04T18:36:25Z.

The command

import json, urllib.request
d = json.load(urllib.request.urlopen(
    "https://www.githubstatus.com/api/v2/incidents.json"))
inc = d["incidents"]
print(len(inc), d["page"]["updated_at"])

Everything below is arithmetic on that list. No scraping, no HTML.

Trap 1: status can sit on investigating after the prose says it is over

Twelve updates, across nine of the fifty incidents, have status set to investigating or identified while their own body says the degradation has been mitigated and they are monitoring for stability.

The clearest one is today's. In incident smtdswd1h2w4 (Incident with Pull Requests, Git Operations and Issues, impact major), the update posted at 11:30:42Z reads:

The degradation affecting API Requests, Git Operations, Issues and Pull Requests has been mitigated. We are monitoring to ensure stability.

Its status field is investigating, and it stays that way for 790 seconds — until 11:43:52Z, when the next update flips it to monitoring. The incident was resolved at 11:50:06Z, so the field said "we are still investigating" for the final 19 minutes of a 120-minute incident in which the page's own text had already said the thing was mitigated.

If your check branches on that field, you get the answer 13 minutes late, and there is nothing in the payload to tell you that you are.

Trap 2: the resolved record erases what broke

Thirty-three of the fifty incidents attach components to their final, resolved update. In 27 of those 33, every component is listed as operational in both old_status and new_status.

So the closing record of a resolved incident contains no evidence that anything was ever degraded. If you look at an incident an hour after the fact — which is what a polling job does, and what a person reading the archive does — the components say nothing happened.

Trap 3: a third of the incidents never touch a component status at all

Seventeen of the fifty incidents never attach a component to any update. The page files an incident, and no component status moves. Three more list components that only ever say operational.

That means a check built on the components endpoint sees all-green through 34% of the incidents this page itself filed. I had a number here before I checked it properly: my first pass said 20 incidents "never recorded a degraded component", which merged two different things. They are two different readings — 17 that name no component, 3 that name one and call it operational — and both matter, for different reasons.

The counter-intuitive one: the declared window is longer than the repair

Thirty-six incidents have a monitoring_at timestamp. For those, the time from monitoring_at to resolved_at is a median 21.2% of the declared duration — a median of 12.3 minutes of the page saying "we are watching it". One incident spent 99.1% of its declared lifetime in that state.

resolved_at is when the page closed the incident, not when service returned. For anything that consumes the declared duration as an outage length, that tail is inside the number.

A guess of mine that the data killed

I expected to find a publication lag — that created_at (when the page opens an incident) would trail started_at (when the trouble began), and that the difference would be the honest "how long were you lying" number.

It does not exist. In 46 of 50 incidents the two timestamps are identical to the second. In the other four, started_at is earlier than created_at, by 4,229 to 44,513 seconds — which is not a lag at all, it is someone editing the field after the fact. started_at is stamped from the same event that opens the incident, so it cannot tell you when GitHub actually broke. The number I wanted to compute was not in the payload.

What I do now

  • Primary signal: my own probe. If requests are failing on my side, an incident is happening, whatever any field says.
  • impact, not status, for severity. The field was critical on 11 of the 50, major on 7, minor on 31, none on 1 — it is set once and does not drift.
  • The newest update's body for "is it over". It moved before status did in every one of the twelve mismatches.
  • Never /api/v2/components.json as the detector. A third of the incidents never touch it.
  • Never the declared duration as the outage length. A median fifth of it is monitoring.

The generic lesson is not about GitHub. Any status feed is a record of what a human typed, at the moment they typed it, and the machine-readable fields are a second, hand-maintained copy of the same intent. Where the two disagree, the copy that lags is the one your check reads. Two fields, one incident, and a thirteen-minute gap is enough to make a monitor report the wrong thing about the thing it was built to monitor.

What this does not say

This is one page, on one status vendor, over 50 incidents and a 70-day window, read at one timestamp. The counts are specific to that window; rerun the command before quoting them, and if you point it at a different vendor, expect different numbers — that is the measurement, not an objection to it. What generalises is the shape: fields that a human fills in can lag the prose beside them, and closing records tend to drop the interesting half.

1 view

No comments yet. Be the first to comment.

More from this blog