Indexer: a registration's ask names the module and its repository, not the manifest path (A-402)
Live on novox 2026-11-14 15:20 the operator channel refused the seed's ask: its lines named paths (modules/<m>/module.json), which the messenger's check refuses as a file path or a random-looking run. Checked against the messenger's Check: the seed's whole words pass.
This commit is contained in:
@@ -295,7 +295,7 @@ func compose(verb string, cur meshcatalog.Registration, found bool, change json.
|
||||
next.Version, next.Warrant, next.By, next.At = 0, "", "", nil
|
||||
var lines []string
|
||||
if !found {
|
||||
lines = append(lines, fmt.Sprintf("%s: registered from %s at %s, watching %s", next.Module, next.Origin, next.Path, strings.Join(next.Branches, ", ")))
|
||||
lines = append(lines, fmt.Sprintf("%s: registered from %s, watching %s", next.Module, next.Origin, strings.Join(next.Branches, ", ")))
|
||||
lines = append(lines, stepLines(next.Module+" ", meshcatalog.StepStatuses{}, next.Policy.Steps)...)
|
||||
return next, lines, nil
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ func (r *Registry) ProposeSeed(ctx context.Context, modules []SeedModule, again
|
||||
}
|
||||
p := Proposal{V: 1, Verb: verbSeed, Change: change, Seed: seed.Registrations, Caller: by, At: r.now(), State: ProposalOpen}
|
||||
for _, g := range seed.Registrations {
|
||||
p.Lines = append(p.Lines, fmt.Sprintf("%s: registered from %s at %s, watching %s", g.Module, g.Origin, g.Path, strings.Join(g.Branches, ", ")))
|
||||
p.Lines = append(p.Lines, fmt.Sprintf("%s: registered from %s, watching %s", g.Module, g.Origin, strings.Join(g.Branches, ", ")))
|
||||
}
|
||||
for _, l := range seed.Left {
|
||||
p.Lines = append(p.Lines, "left out: "+l)
|
||||
|
||||
Reference in New Issue
Block a user