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
+5 -3
View File
@@ -607,11 +607,13 @@ func ComposeSent(in compose.Input, node string) (map[string]delivery.Composed, b
if err != nil {
return nil, true, err
}
// A module the sandbox held that the node-engine did not is the change refusing it: the node does not compose, said
// in that module's words, never passed with the rest composed (issue 774, review of the sandbox input).
// A module the sandbox held that the node-engine held neither in the read nor composing without the change is the change
// refusing it: the node does not compose, said in that module's words, never passed with the rest composed (issue 774,
// review of the sandbox input).
var refused []string
for _, m := range sortedKeys(held) {
if _, was := c.Held[m]; !was {
_, was := c.Held[m]
if _, before := c.HeldBefore[m]; !was && !before {
refused = append(refused, m+": "+held[m])
}
}