starslingdev - Incident with Pull Requests – Incident details

All systems operational

Incident with Pull Requests

Resolved
Major outage
Started about 2 months agoLasted about 1 hour

Affected

Third Party: GitHub → Pull Requests

Degraded performance from 7:37 PM to 7:43 PM, Major outage from 7:43 PM to 8:02 PM, Operational from 8:02 PM to 8:23 PM

Updates
  • Resolved
    UTC
    Resolved

    Between July 24, 19:17 UTC and July 24, 20:02 UTC, users were unable to create pull requests due to a database schema change. In total, 113,930 pull request creation attempts were impacted across 50,904 users, with an average error rate of 1.75% and a maximum error rate of 2.25% for all requests to Pull Requests service. Existing pull requests and other GitHub functionality were not affected. The issue was resolved by reverting the change to the affected database, upon which pull request creation immediately resumed.

    The root cause was related to a backfill workflow into the Vitess keyspace hosting Pull Request data. The backfill Vitess command encountered errors and increased VReplication lag, and the workflow was canceled at 19:17 UTC. The cancellation executed a misunderstood Vitess codepath that dropped the backing table to the target keyspace, leaving a non-existent reference that resulted in errors creating Pull Requests. The mitigation was executing a command to drop the vschema reference to the dropped table, allowing Pull Request creation to resume.

    We are adding stronger pre-flight validation to our tooling to prevent similar issues and expanding lower-environment support to provide better test coverage end-to-end before promoting them to production. We're also fixing our backfill migration tooling to protect from this specific codepath.

  • Monitoring
    UTC
    Monitoring

    The degradation affecting Pull Requests has been mitigated. We are monitoring to ensure stability.

  • Update
    UTC
    Update

    We have applied a mitigation and are monitoring for recovery

  • Update
    UTC
    Update

    Pull Requests is experiencing degraded availability. We are continuing to investigate.

  • Update
    UTC
    Update

    We are investigating errors creating pull requests

  • Investigating
    UTC
    Investigating

    We are investigating reports of degraded performance for Pull Requests