H-A-303: a pass that holds a module for a part withheld composes the tool runner as it runs
The node-engine restarted the tool runner at every self-compose on three machines: a module held for a part that did not answer (the catalog half's entry, the registry seats' versions) had its slice of the runtime process rebuilt from what runs, with its fingerprint set to its want's and its files words dropped, so MESH_TOOL_MODULES and MESH_TOOL_ENV differed pass by pass. A held module's entries and words are now copied verbatim from the running process, after the fingerprints are laid, so a holding pass digests as what runs and writes no new revision; a module whose parts answered and changed is still composed from its build. The composition read's grants ask names the holder it asked and why, and says it once in the journal until the grants part answers again. Builds: design 47 H H-A-303 (1)-(3), H-A-306 (1)-(3); H-A-296
This commit is contained in:
@@ -273,6 +273,11 @@ type Node struct {
|
||||
// bundles, and a held module's new build's bundles are not delivered (issue 1126, 2026-10-29: shanks's runtime lost
|
||||
// the folded systemd-resolved, novox's the folded nats).
|
||||
RunsTools map[string][]catalogue.Bundle
|
||||
// RunsRuntime is the environment of the tool runner's process as it runs (RuntimeRunning of what the node runs); nil
|
||||
// when none runs. A held module's slice of the runtime process (its entries in catalogue.RuntimeToolModules, its words
|
||||
// in catalogue.RuntimeToolEnv, its fingerprint among them) is copied from it verbatim, so a pass that holds a module
|
||||
// for a part withheld composes the runtime as it runs (design 47 H, H-A-303, H-A-306).
|
||||
RunsRuntime map[string]string
|
||||
}
|
||||
|
||||
// ComposedHow is how a node-engine composes its node from an Input (Input.ComposedHow).
|
||||
|
||||
Reference in New Issue
Block a user