selfcompose: the one place says its source at every caller, reads the have's build, answers HoldsData; the tool composition reads it outside the agent's lock (A-484, A-482)
Builds: design 47 G A-484, A-484a, A-482
This commit is contained in:
@@ -1720,6 +1720,7 @@ func TestTheNodesOwnCompositionIsAppliedWhenItDiffersAndARecordMoveWaitsForAYes(
|
||||
}
|
||||
// Where the one place says what runs of it (A-484), the tool answers it though the want's build has no composition.
|
||||
b.ag.env.RunningManifest = func(string) (string, string, string) {
|
||||
_ = b.ag.Running() // the one place reads what the agent runs: the tool must not hold the agent's lock while it does
|
||||
return "the module's trunk manifest in the catalog", "src2:t", "the manifest of the build ghost runs here is read from the module's trunk manifest in the catalog"
|
||||
}
|
||||
if view, err := b.ag.Composition(context.Background(), "ghost", "", false); err != nil || view.RunsManifest == nil ||
|
||||
|
||||
Reference in New Issue
Block a user