{"record":{"id":"400f3dd5099fb3ca","repo":"Hmbown/CodeWhale","slug":"no-release-source-published-a-usable-checksum-man","errorCode":null,"errorMessage":"no release source published a usable {CHECKSUM_MANIFEST_ASSET} for this platform:\n{}","messagePattern":"no release source published a usable (.+?) for this platform:\n(.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/cli/src/update.rs","lineNumber":1005,"sourceCode":"\n    let mut failures = Vec::new();\n    for candidate in candidates {\n        match probe_release_source(&candidate, &*fetch_manifest) {\n            Ok(checksums) => {\n                return Ok(DownloadPlan {\n                    source: candidate.source,\n                    binary_name: candidate.binary_name,\n                    binary_url: candidate.binary_url,\n                    checksums,\n                });\n            }\n            Err(error) => failures.push(format!(\"  - {}: {error:#}\", candidate.source.describe())),\n        }\n    }\n\n    bail!(\n        \"no release source published a usable {CHECKSUM_MANIFEST_ASSET} for this platform:\\n{}\",\n        failures.join(\"\\n\")\n    )\n}\n\nfn probe_release_source(\n    candidate: &ReleaseSourceCandidate,\n    fetch_manifest: &ManifestFetcher,\n) -> Result<HashMap<String, String>> {\n    let bytes = fetch_manifest(candidate)\n        .with_context(|| format!(\"failed to fetch {}\", candidate.manifest_url))?;\n    let text = std::str::from_utf8(&bytes)\n        .with_context(|| format!(\"{} is not valid UTF-8\", candidate.manifest_url))?;\n    let checksums = parse_checksum_manifest(text)\n        .with_context(|| format!(\"failed to parse {}\", candidate.manifest_url))?;\n    if !checksums.contains_key(&candidate.binary_name) {\n        bail!(\n            \"{} does not list {}\",\n            candidate.manifest_url,\n            candidate.binary_name","sourceCodeStart":987,"sourceCodeEnd":1023,"githubUrl":"https://github.com/Hmbown/CodeWhale/blob/73e0f67d83c59909b571efdfc88c4bc28c309cb1/crates/cli/src/update.rs#L987-L1023","documentation":"select_release_source probes each candidate release source by fetching its checksum manifest; every candidate failed (network, HTTP, parse, missing asset). The errors from each source are collected and reported in one aggregate message: no release source published a usable checksum manifest for this platform. Fail-closed: the update is aborted rather than downloaded unverified.","triggerScenarios":"All candidates in the loop fail probe_release_source (fetch error, invalid UTF-8, parse error, or manifest missing the binary name) and the code reaches the final bail with the joined failure list.","commonSituations":"Offline or firewalled network; GitHub unreachable (common in some regions) and the CNB fallback also broken; release deleted or manifest renamed; corporate proxy blocking the release hosts.","solutions":["Read the per-source failures in the message: fix connectivity/proxy for the listed hosts and retry.","If GitHub is blocked, ensure the fallback mirror (CNB) is reachable or configure an accessible mirror.","Retry later — a broken/rolling release may have a temporarily missing or malformed manifest.","Use the offline install script or package manager instead of self-update."],"exampleFix":"// before: corporate proxy blocks github.com and mirror\n$ export HTTPS_PROXY=http://proxy:8080 && codewhale update\n// after: allowlist release hosts or pin a reachable mirror in config, then retry","handlingStrategy":"retry","validationCode":"fn release_hosts_reachable() -> bool {\n    // probe manifest URLs with a short timeout before attempting update\n    [\"https://github.com\", \"https://your-mirror\"].iter().all(|h| probe(h))\n}","typeGuard":null,"tryCatchPattern":"loop {\n    match codewhale_update() {\n        Err(e) if is_network_error(&e) => { sleep(backoff()); continue; }\n        other => break other,\n    }\n}","preventionTips":["Ensure GitHub and the fallback mirror are reachable (proxy/firewall allowlist)","Configure a reachable mirror in regions where GitHub is blocked","Retry during release windows; a broken manifest is often transient"],"tags":["network","release-sources","self-update","fail-closed"],"backgroundTag":"network-request-failed","analyzedSha":"73e0f67d83c59909b571efdfc88c4bc28c309cb1","analyzedAt":"2026-09-22T01:30:00.501Z","contentChangedAt":"2026-09-22T01:30:00.501Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}