# Failed-repository retries: 2026-11-05 Investigated after the production health pass reported approximately 4,416 retry attempts and one successful outcome over seven days. These counters describe attempts against the already-failed subset, not normal ingest success or distinct accounts. A successful outcome can include a terminal not-found or unavailable response; it does not necessarily mean a repository was downloaded. Production was 9a0ea8f. Public status and Prometheus showed 10,324 failed repositories out of 16,300,003 (about 0.063%). The same failed-repository gauge seven days earlier was 10,325. Fourteen-day counter increases were approximately 14,757 attempts, 14 successful outcomes, and 14,740 failures. Prometheus increases are extrapolated across scrape intervals and do not form an exact event ledger. ## Distribution and independent probes The public `/status?tab=hosts&sort=failing` response contained 2,852 host rows whose failed counts summed to 10,324: | Bucket | Failed repositories | | --- | ---: | | unknown | 7,222 | | pds.bsky.yinzcloud.net | 1,258 | | dev-frosting.social | 485 | | all remaining buckets | 1,359 | The first three account for about 87% of the backlog. Host error histories are bounded to five samples per bucket; they are not a per-account error histogram. In particular, do not label all 7,222 unknown-host failures as TLS failures. Bounded curl probes from the production host, independent of Stream's Zig HTTP client, around 07:36–07:40 UTC found: - A sampled Yinzcloud repository's getRepo request timed out after five seconds. Its stored host history recorded getRepo 5xx failures. A timeout in this probe does not establish the endpoint's behavior for a longer attempt. - A sampled dev-frosting repository returned HTTP 502, including on repetition. - `did:web:stellz.club` resolved successfully, but its PDS at pds.stellz.club failed the TLS handshake for getRepo and for its health endpoint. OpenSSL reported a TLS internal-error alert. Stream's stored error was `TlsInitializationFailed`. - The relay returned 302 redirects for the sampled Stellz and Yinzcloud getRepo requests to those same PDS endpoints. It did not provide an alternate copy. - A sampled repository on agrocybe.us-west.host.bsky.network returned HTTP 500 with `InternalServerError`, matching the stored failure class. These observations support persistent remote failures in the sampled cases, not a general Stream retry regression. They do not classify the entire backlog. ## Retry behavior checked Compared Stream's `src/internal/ingest/backfill/retry.zig` and `resync.zig` against Jetstream 289b032 `internal/ingest/backfill/retry.go:412`: both try the recorded PDS first, fall back through the relay for an invalid routing stamp or RepoNotFound, and back off ordinary transport/5xx failures. Stream creates a fresh HTTP client and validation timestamp for each fetch (`fetched_car.zig:110`); the earlier Zlay stale-TLS-clock incident is not evidence of the same bug here. Production's retry loop starts after a 24-hour interval and caps per-repository backoff at seven days. The release restart reset the loop's timer. The retry-pass counter increments at entry, not completion; no increment in a window does not prove there were no attempts from a pass already underway at the window's start. The replacement container does not retain the preceding container's logs, so the previous pass's completion/interruption was not established from current logs. ## Follow-up No retry policy or production state was changed. Do not mark these repositories complete or unavailable merely to improve the ratio, or mass-retry them without understanding the failure distribution. A useful next diagnostic improvement is a bounded, read-only breakdown of current failed rows by error, endpoint, age, and retry count, with a distinction between missing host attribution and failed identity resolution. Add the failed-backlog trend and host distribution to any future report of retry success ratios.