Skip to content

Incident aggregator is blind to a rate-limit-only outage: 3-hour fleet-wide 429 wave opened no incident #466

Closed

Description

@kyle-sexton

Problem

claude-lane-incident.cjs deliberately keeps rate-limit out of ESCALATING_CLASSES ("transient or benign — they self-heal, so escalating them would page a human for weather"), and notes rate-limit is "still counted and rendered whenever an incident is open, which is what makes a storm visible in context." That last clause is the gap: a storm made only of rate-limit failures opens no incident, so it is never rendered anywhere.

2026-08-13 was that storm. Between ~15:07Z and ~18:04Z, every claude-review execution attempt across the fleet failed instantly with api_error_status: 429 (zero real turns, $0, ~450 ms — the shape of an exhausted shared seat, not a transient RPM spike; the lanes' gated in-run retries also 429'd ~2 minutes later):

  • dotfiles#472 run 31713700919; dotfiles#475 runs 31723624021 + 31726431619; dotfiles#476 run 31728438000
  • claude-code-plugins#2570 / #2572 / #2571 (markers 15:10Z / 17:38Z / 17:46Z)

Every run concluded green per the advisory contract, marker comments were posted per PR, and the hourly aggregator classified every cycle clean — no incident, no operator signal. All of those PRs merged the same day with zero completed Claude code reviews; the operator found out by reading PR comment threads, which is exactly the per-PR-marker blindness #238 built this aggregator to fix — for auth and runner, but not for this class.

Why the existing rationale doesn't cover this shape

The "weather" argument is right for a singleton: one 429 on one PR self-heals and should page nobody. It does not hold for a fleet-density signal: rate-limit observed on several distinct pull requests across multiple repositories inside one polling cycle means the shared credential is exhausted and every PR merging during the window is going unreviewed. That is operationally identical to auth ("dead until a human acts") for the duration of the usage window — and the window can be hours (this one was ~3).

Proposal

Escalate on rate-limit density, not rate-limit presence: in tallyObservations, treat the cycle as escalating when classPulls["rate-limit"].size >= RATE_LIMIT_STORM_THRESHOLD (suggested: 3 distinct pulls), in addition to the existing auth / runner membership test. Notes:

  • Purely intra-cycle — no new cross-cycle state channel, so the state-block/coverage machinery is untouched.
  • Singleton and pair rate-limits stay non-escalating: the weather rationale is preserved, refined rather than reversed.
  • renderIssueBody's per-class "Escalating" column derives from ESCALATING_CLASSES membership; a storm-opened incident would render rate-limit as "no", so the render needs a third presentation (e.g. storm (≥3)) or the column derives from what actually escalated the cycle.
  • The incident-close path (three clean cycles + coverage) already handles recovery once the window lifts.
  • Threshold choice (and whether it should also require ≥2 distinct repositories) is a design decision for the owner; yesterday's densest cycle would have shown 4–5 distinct pulls across 2 repositories.

Related root cause (tracked separately)

The 429s themselves are a quota ceiling on the shared CLAUDE_CODE_OAUTH_TOKEN seat, not a workflow defect — no retry policy clears a multi-hour usage window. This issue is only about the fleet being unable to see such an outage.

Activity

  1. added
    needs-triage
    on Aug 14, 2026
  2. kyle-sexton commented on Aug 14, 2026

    @kyle-sexton
    MemberAuthor

    Cross-links for the 2026-08-13 incident cluster: quota root cause is #467; unreviewed-merge posture decision is #468; the machine-readable verdict surface is #464 / PR #465; the Codex-connector half is melodic-software/dotfiles#480.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions