The sandbox refuses no module the node holds composing without the change, a module blamed for a refusal among them (issue 774, review round 1)

This commit is contained in:
2026-11-03 13:28:44 +01:00
parent 23cbf9294a
commit 649ed21d55
4 changed files with 22 additions and 3 deletions
+3
View File
@@ -191,6 +191,9 @@ func (s *Shadow) composeCandidate(ctx context.Context, c *Composer, ask delivery
if err != nil {
return
}
// What the node holds composing without the candidate, a module blamed for a refusal among them, is no refusal of
// the change (review round 1).
in.ComposedHow.HeldBefore = maps.Clone(baseHeld)
// As the sandbox reads it (composer.SentInput, the one shape): this node's own modules as taken in from their
// builds, every other module's manifest left to the cases.
if body, err := json.Marshal(composer.SentInput(in, laid.env.Node)); err == nil {