OrbitInfra.

ИЗУЧИТЕ ОРБИТИНФРУ

Хорошие идеи заслуживают отличных инструментов.

Свяжитесь с нами
All Tech NewsTHE ORBITINFRA EDIT
Software / THE EXPLAINER

GitHub’s October outages: why recovery can overload a healthy system

GitHub’s October report shows how retries and failover spread outages. A deeper look at queue limits, webhook recovery and safe GitHub Actions reruns.

Illustrative concept: reliability engineers inspecting server racks during service recovery in a generic data centre.

A healthy backup region can become the next failed region if recovery sends it more work than it can finish. GitHub’s October 2026 availability report describes that sequence directly: a partial network failure stalled job assignment, waiting calls exhausted memory, and the service receiving the diverted jobs lacked enough capacity for the extra demand.

The report, dated 12 November on its page and 13 November in its UTC publication metadata, covers historical incidents. It is not a notice of a new outage on 22 November. GitHub says it more than doubled compute capacity across nine Azure Central US Kubernetes clusters, while continuing to address failures involving routing, connections and shared databases.

Our earlier coverage of maintenance pauses and retries explains the headline lessons. This companion examines the recovery path: why timeouts, reconnects and backlogs can spread trouble, and how teams using GitHub can resume work without adding a second wave of avoidable requests.

The October 5 chain: waiting becomes work

According to GitHub, a partial networking failure disrupted connections between a datacenter region and cloud-hosted databases used by the service assigning jobs to GitHub-hosted runners. Calls waited for their timeouts. Those waiting calls accumulated until the service ran out of memory and restarted.

Failover then moved jobs to a healthy region, where the same service could not absorb the additional demand. Meanwhile, runners that went several minutes without receiving jobs shut down and were slow to replace. The system had trouble assigning jobs and fewer available runners to execute them.

This matters because a request waiting for a dependency can still consume resources. Depending on the implementation, it may retain a connection, an in-memory task, buffers or bookkeeping state. Google’s SRE guidance on cascading failures describes how longer processing times increase concurrent requests and memory pressure. CPU usage alone can miss that pressure. A process can appear to have compute headroom while its connections or memory approach exhaustion.

A simple model explains the relationship. In a roughly steady system, average in-flight work is approximately arrival rate multiplied by average time spent in the system. If a hypothetical service receives 200 requests per second and each occupies a slot for 0.2 seconds, it has about 40 requests in flight. At five seconds per request, the same arrival rate implies about 1,000. These are illustrative calculations, not GitHub measurements, and an overloaded system will eventually reject requests or depart from the steady-state assumptions.

Adding servers can help, but the recovery design also needs limits on admitted work and waiting time. A useful dependency deadline ends the operation while the caller can still recover. A concurrency limit prevents an unlimited number of callers from waiting together. Cancellation should release the underlying work where supported; simply abandoning the response does not prove that downstream processing stopped.

Reconnects are a separate source of overload

The October 19 incident followed a different path. An Actions service storing workflow logs and run status lost connections to cache servers in one cloud region. GitHub says its servers retried those connections together, saturating a network link shared with other services. A cache connection problem became a broader network problem.

GitHub limited how quickly that service could open new cache connections. That targets the rate of creating connections, which is distinct from limiting ordinary application requests. An integration may have a modest request rate yet create an expensive burst of connections after every worker restarts.

The October 21 event-streaming incident adds another layer. Servers close to their memory limits opened new connections immediately after requests failed. More connections increased memory use. Removing overloaded servers transferred traffic to others, which then became overloaded too. GitHub reports adding randomized delays to reconnects after failed requests.

Backoff increases the wait between attempts. Randomized delay, often called jitter, helps clients avoid trying again at the same instant. Both are useful, but neither imposes a hard limit on how much work the whole fleet can generate. A thousand workers with identical retry budgets can still produce a thousand separate streams of attempts.

Inspect retries at every layer. As a hypothetical worst case, three nested layers that each make three total attempts can generate 27 calls to the final dependency for one top-level operation, if every attempt reaches that dependency and fails. That is a model of retry multiplication, not a claim about GitHub’s implementation. AWS’s explanation of timeouts, retries and jitter discusses this multiplication across layers. Assigning one layer responsibility for retries makes the total easier to control.

Failover capacity must include the backlog

A second region needs capacity for its normal traffic, newly diverted traffic and any backlog released during recovery. Counting machines in both regions does not show whether the receiving region can support that combination. Shared dependencies, such as a database or network link, can limit both regions at once.

Measure usable spare capacity at the bottleneck. A service that can complete 150 jobs per second while 100 new jobs arrive each second has 50 jobs per second available to reduce a queue. Under those constant, hypothetical rates, a backlog of 10,000 jobs takes 200 seconds to clear. If completions fall to 100 per second, the backlog does not shrink. Below that rate, it grows.

Illustrative backlog model: 10,000 queued jobs clear in 200 seconds when completion capacity is 150 jobs per second and arrivals remain at 100 per second.

The important number is the difference between arrivals and completions, not the completion rate by itself. This model assumes jobs are comparable units of work, capacity remains stable and no additional backlog arrives. Real queues often contain mixed job sizes and shared bottlenecks, so the calculation is a planning aid rather than a recovery forecast.

GitHub’s October 21 account illustrates why service recovery and backlog recovery can finish at different times. Its audit-log writer repeatedly restarted on event-streaming errors, fell behind and then needed additional time to clear accumulated work after stabilizing. GitHub raised its writing rate to speed recovery.

For a team operating its own integration, monitor the oldest unprocessed item as well as queue length and completion rate. A falling error rate does not tell you whether a release event from an hour ago has finished. Resume expensive background work in stages and verify that the backlog is actually draining before admitting more.

Maintenance recovery needs an enforceable stop

Retries and failover address some failures. They cannot correct a routing decision that repeatedly sends writes to retired database servers.

In the October 7 account, a replacement machine managing database-write routing started with outdated records. It became leader and published incorrect settings that passed validation. Writes recovered when an established machine took over, but an automated maintenance task failed to honor a pause and caused another election. The replacement became leader again, recreating the failure.

The engineering lesson goes beyond writing a better runbook. A maintenance pause must be checked by the systems performing maintenance, including an already queued task when it reaches the point of changing production state. Recovery also needs to remove or correct the unsafe state. A successful response proves little if the next automated action can restore the bad configuration.

GitHub reports stronger routing validation, improved retirement of database servers and tighter controls on introducing routing machines and honoring maintenance pauses. For another platform team, an appropriate review would test that a paused controller rejects a state-changing action and that invalid routing data cannot become active. Those are proposed checks, not tests performed for this article.

What teams using GitHub should do during recovery

Customers cannot tune GitHub’s internal connection pools or regional routing. They can control their own API clients, webhook workers and release automation. Start by identifying which stage failed: accepting an event, scheduling work, executing a job, recording its result or displaying its status.

Symptom

Evidence to inspect

Recovery decision

A GitHub-hosted job stays queued

Run state, runner assignment and the relevant status update

Decide whether to wait or cancel; avoid creating replacement runs blindly.

A check looks stuck

Run logs, job results and the external deployment target

Establish whether execution or reporting is delayed before rerunning.

A REST request is rate limited

Response body, retry-after and rate-limit headers

Follow the documented wait and cap subsequent attempts.

A webhook failed

Delivery result, receiver acceptance record and worker state

Recover the failed delivery and deduplicate processing.

A write times out

Current resource state and the operation’s business identifier

Reconcile the result before deciding whether to repeat the write.

These symptoms do not identify a root cause on their own. Use GitHub’s status page for current incident information and your own logs for the operation you need to recover.

Make retries depend on the error and the operation

GitHub’s REST API best practices recommend serial requests to avoid secondary rate limits, and at least one second between requests when making large numbers of mutations. For rate-limit errors, respect retry-after when present. If x-ratelimit-remaining is zero, wait until the reset time. Otherwise, the guidance says to wait at least a minute; continued secondary-limit failures call for increasing delays and a finite retry limit.

Those rules concern rate limiting. They are not a promise that every failed request becomes safe to repeat after a minute. Permission errors, invalid inputs and dependency failures require different responses.

A timeout after submitting a write can leave its outcome uncertain. For example, an integration creating an issue should check whether the intended issue already exists before creating another. Use an application-level identifier and reconciliation strategy where appropriate; do not assume every GitHub mutation offers an idempotency key. Read-only requests and requests with external side effects deserve different retry decisions.

Treat webhook acceptance and processing as separate states

GitHub’s webhook guidance says receivers should return a 2XX response within 10 seconds and suggests asynchronous processing through a queue. A robust receiver validates the delivery and stores it durably before acknowledging acceptance. Workers can then process it without keeping the HTTP request open through a slow deployment.

GitHub does not automatically redeliver failed webhook deliveries. Its documentation describes manual redelivery and scripts that inspect failed deliveries and request redelivery. Recovery therefore needs an explicit owner and a record of what your receiver accepted.

Use X-GitHub-Delivery to identify a delivery. GitHub says requested redelivery preserves that header. Store processing state alongside the identifier: an event accepted but not yet completed still needs processing, while an event already completed should not repeat its side effects.

There is also a useful incident-specific warning. GitHub says some October 21 webhooks were delivered even though their entries might be missing from delivery history. An absent history entry alone is therefore insufficient evidence that your application received nothing. Compare your durable receipt records with authoritative repository state when reconciling a gap.

Rerun the necessary jobs after inspecting side effects

GitHub supports rerunning all jobs, failed jobs or a specific job. Reruns use the original event’s commit SHA and Git ref, and the privileges of the actor who originally triggered the workflow. A rerun is not automatically a fresh execution against the latest branch state.

Rerunning failed or specific jobs also reruns jobs that depend on them. Inspect that dependency chain before choosing the option. A downstream release or deployment job may have effects outside GitHub, and a lost status update does not prove that those effects never occurred.

Select the smallest appropriate recovery scope, verify the target environment, and make deployment operations recognize an already applied release where possible. During the October 5 incident, GitHub says self-hosted runners were unaffected. That incident-specific observation does not establish that self-hosted runners eliminate all dependencies on GitHub services.

A recovery exercise built around observable results

Teams can rehearse these behaviors in staging with a dependency simulator and a disposable release target. Record normal throughput first, then introduce slow responses, connection failures and a recovery burst. The following acceptance criteria are a proposed exercise; no fault-injection test was run for this article.

  1. Slow dependency: extend response time while keeping arrivals steady. Check that in-flight work stays bounded and deadlines release resources rather than allowing memory to climb indefinitely.

  2. Synchronized recovery: restore connectivity after workers have failed together. Measure new connections and outgoing attempts across all workers, and confirm the recovery rate stays within the receiving dependency’s tested capacity.

  3. Ambiguous delivery: let the receiver store a webhook but interrupt the response. Redeliver it with the same delivery identifier and confirm it completes once, including recovery if the first processing attempt never finished.

  4. Partial deployment: apply a change to a disposable target, then interrupt status reporting. Verify that reconciliation identifies the applied change before anyone reruns dependent deployment work.

  5. Maintenance pause: queue a state-changing task, activate the pause, then allow the task to reach execution. Confirm the pause blocks the change at that point.

The exercise succeeds when the team can explain what completed, what remains pending and what can safely be repeated. Error counts alone cannot answer those questions.

GitHub’s report gives a concrete reason to examine that distinction. Recovery can redirect traffic, create connections and release queued work simultaneously. Each action needs a limit and evidence of progress. Before resuming automation, establish that the destination has spare capacity, the backlog is shrinking and the next attempt will not duplicate a completed side effect.

Filed under

Last updated 23 Nov 2026

More from Tech News