Judge every path the controller resolves for a directory or file where the plan is composed, so the merge gate refuses a directory in Docker's data (issue 496)
mesh/merge-gate pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every machine composes with the change as it did without …
mesh/repo-check fail: its merge-check.sh failed: --- FAIL: TestTheResolverAndWhatAsksItComposeOnOneMachine (0.02s)
mesh/delivery superseded: a newer head of the same pull request
mesh/merge-gate pass: builds build-agent, mesh-controller → ace, g14, novox, shanks; no bus step; every machine composes with the change as it did without …
mesh/repo-check fail: its merge-check.sh failed: --- FAIL: TestTheResolverAndWhatAsksItComposeOnOneMachine (0.02s)
mesh/delivery superseded: a newer head of the same pull request
This commit is contained in:
@@ -257,7 +257,10 @@ func dirInto(resource map[string]any, dirs map[string]string, module string) err
|
||||
}
|
||||
resource["env-file"] = filled
|
||||
}
|
||||
return nil
|
||||
// **Placed, then judged** (novox/hq issue 496): the path a directory or file resolves to — the default
|
||||
// layout, a place, a stated path, one beneath a ${dir:…} — is judged here, where every plan and the merge
|
||||
// gate compose it, so a module whose directory lands in Docker's data is refused before it reaches a machine.
|
||||
return judgeResolved(resource, module)
|
||||
}
|
||||
|
||||
// unknownDirRefs is every ${dir:…} in the definition that names no directory the definition
|
||||
|
||||
Reference in New Issue
Block a user