the getRepo response's status is not checked. A 404, 500, or HTML page from the source is parsed as a CAR and fails as "a repo that is not the group's, signed and whole", which hides the real cause. Host::pull and import's ask_server both check the status.
How to see it
Read against docs/fresh at 4636e6d, the code at: migration.rs:510-518. Paths are under crates/group-host/src unless they say otherwise. Severity: low.
What you expected
Check res.status().is_success() and answer source("getRepo answered {status}"), or fetch through a helper that does.
Where
The host, as built from 4636e6d. Found while checking the docs against the code.
What happened
the getRepo response's status is not checked. A 404, 500, or HTML page from the source is parsed as a CAR and fails as "a repo that is not the group's, signed and whole", which hides the real cause.
Host::pulland import'sask_serverboth check the status.How to see it
Read against
docs/freshat 4636e6d, the code at: migration.rs:510-518. Paths are undercrates/group-host/srcunless they say otherwise. Severity: low.What you expected
Check
res.status().is_success()and answersource("getRepo answered {status}"), or fetch through a helper that does.Where
The host, as built from 4636e6d. Found while checking the docs against the code.