# Self-Healing CI: Recovering a Failed geckodriver Download

> A failed geckodriver download is a transient fetch problem, not a Firefox test bug. See the manual fix and how self-healing CI retries the download.

Source: https://latchkey.dev/learn/self-healing-ci/self-healing-geckodriver-download  
Updated: 2026-06-26

A geckodriver download that fails hit a network blip on a release asset fetch, not a broken Firefox test setup -- the same download completes on a retry.

## What makes a failure safely retryable

Automatic retry is only correct for failures that are genuinely transient. Retrying a deterministic failure wastes minutes and hides a real defect, so the classification matters more than the retry mechanism.

- Safe to retry: network timeouts, registry 5xx, transient DNS failures, a service container that was not ready, a spot instance reclaimed mid-run.
- Not safe to retry: assertion failures, compile errors, lint violations, anything that fails identically on every attempt.
- Ambiguous, and worth investigating rather than retrying: out-of-memory kills, disk exhaustion, and flaky tests. These repeat under load and a retry only hides the trend.
- Always record that a retry happened. A pipeline that silently retries is a pipeline whose real failure rate you do not know.

## FAQ

### What causes Self-Healing CI: recovering a failed geckodriver download?

A Firefox-test setup step fails while downloading geckodriver -- a timeout, reset, or 5xx fetching the release asset. The version is valid and the asset exists; the download hit a transient network problem. A human re-runs the setup and geckodriver installs cleanly.

### How do I fix Self-Healing CI: recovering a failed geckodriver download manually?

[object Object]

### Can Self-Healing CI: recovering a failed geckodriver download be fixed automatically?

A failed geckodriver download has a recognizable transient signature -- a timeout, reset, or 5xx on an asset fetch -- and the safe response is to retry, ideally from a cache. A self-healing CI pipeline detects the download failure, retries the install, and only escalates if the asset is genuinely unavailable, distinguishing a blip from a

---

Latchkey runs CI/CD that repairs its own failures. Agent entry points: https://latchkey.dev/agent.txt, https://latchkey.dev/openapi.json, https://latchkey.dev/llms.txt
