H5 names-no-version: a want naming no version is held as naming no version

Builds: design 47 H2 H-A-673 (hq 6b8373ce)
This commit is contained in:
2026-11-25 17:06:09 +01:00
parent 174cb9dcd8
commit 3753d4d5dc
2 changed files with 15 additions and 3 deletions
+6 -1
View File
@@ -766,7 +766,12 @@ func (c *Composer) entryHolds() map[string]string {
agent.EntryMissing, w.Fp, module)
default:
if _, missing := c.partsOf(module, e, w); missing != "" {
out[module] = fmt.Sprintf("the want of %s names no digest for %s, so the node composes nothing new of it", module, missing)
if w.Version == "" {
// H-A-673: a want naming no version has no digests to resolve; its writer is at fault, not the registry.
out[module] = fmt.Sprintf("the want of %s names no version, so the node composes nothing new of it", module)
} else {
out[module] = fmt.Sprintf("the want of %s names no digest for %s, so the node composes nothing new of it", module, missing)
}
}
}
}