Dashboardopencode-loremalformed_chain poison: transient HTTP …

malformed_chain poison: transient HTTP failures must not classify as chain corruption

Category: gotcha
Confidence: 1.00
ID: 01a09cca-ed0f-773f-a877-6498c82ae4a6
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 1
Source session: 1UAV1gl3rsATzV4Qy
Created: 2026-07-25 10:26:29
Updated: 2026-09-13 22:02:19

Cross-Project Recalls

ProjectHitsLast recalled
cli 1 8d ago

Content

Trap: catching a 5xx/timeout/connection-reset on chain-manifest fetch and treating it as malformed_chain looks like a safe failure-handling improvement. Fix: transient HTTP failures MUST NOT trigger a malformed_chain poison alert — that classification is reserved for genuinely unparseable/malformed bodies. User directive (Jul 25 2026): this is a permanent invariant of the chain-fetch code path. 5xx/timeout/connection-reset must fall through to the existing retry/reclassification path (chain-unavailable on persistent failure), never poison the chain marker. Confirmed in binpatch PR #7 review (Jul 27 2026): ghcrSource.resolveNightlyChain catches fetch errors per-tag setting fetchFailed=true, reports fetchFailed ? "network" : "malformed_chain" if any manifest missing. Poisoned tag's manifest fetches fine (HTTP 200) and is caught by validateNightlyChain — fetch failure classified as "network" so it never triggers a false malformed_chain poison alert.

Move to: