Hmbown/CodeWhale · error
no release source published a usable
Error message
no release source published a usable {CHECKSUM_MANIFEST_ASSET} for this platform:
{} What it means
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.
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.
Example fix
// before: corporate proxy blocks github.com and mirror $ export HTTPS_PROXY=http://proxy:8080 && codewhale update // after: allowlist release hosts or pin a reachable mirror in config, then retry
Defensive patterns
Strategy: retry
Validate before calling
fn release_hosts_reachable() -> bool {
// probe manifest URLs with a short timeout before attempting update
["https://github.com", "https://your-mirror"].iter().all(|h| probe(h))
} Try / catch
loop {
match codewhale_update() {
Err(e) if is_network_error(&e) => { sleep(backoff()); continue; }
other => break other,
}
} Prevention
- 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
When it happens
Trigger: 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.
Common situations: 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.
Related errors
- no release source publishes an asset for this platform
- SHA256 mismatch for from ! expected: actual
- Android identifies runtime linker ` `; refusing to use the…
- Android reported deleted loaded image
- Android reported non-absolute loaded-image path
AI-assisted analysis of Hmbown/CodeWhale@73e0f67d83 (2026-09-22).
Data as JSON: /api/errors/400f3dd5099fb3ca.
Report an issue: GitHub.
Appendix: source
Thrown at crates/cli/src/update.rs:1005
let mut failures = Vec::new();
for candidate in candidates {
match probe_release_source(&candidate, &*fetch_manifest) {
Ok(checksums) => {
return Ok(DownloadPlan {
source: candidate.source,
binary_name: candidate.binary_name,
binary_url: candidate.binary_url,
checksums,
});
}
Err(error) => failures.push(format!(" - {}: {error:#}", candidate.source.describe())),
}
}
bail!(
"no release source published a usable {CHECKSUM_MANIFEST_ASSET} for this platform:\n{}",
failures.join("\n")
)
}
fn probe_release_source(
candidate: &ReleaseSourceCandidate,
fetch_manifest: &ManifestFetcher,
) -> Result<HashMap<String, String>> {
let bytes = fetch_manifest(candidate)
.with_context(|| format!("failed to fetch {}", candidate.manifest_url))?;
let text = std::str::from_utf8(&bytes)
.with_context(|| format!("{} is not valid UTF-8", candidate.manifest_url))?;
let checksums = parse_checksum_manifest(text)
.with_context(|| format!("failed to parse {}", candidate.manifest_url))?;
if !checksums.contains_key(&candidate.binary_name) {
bail!(
"{} does not list {}",
candidate.manifest_url,
candidate.binary_nameView on GitHub (pinned to 73e0f67d83)