Design 47 H2 §781 with lead answer H-A-477 (hq branch design/47-H1-answers-59, commit 59bc826d "a setting's word is never a bundle's own", and its addendum f2d0ecd1 "no engine code for the stale resolve now").
Cause
shanks refused every candidate's composition. When the node-engine rebuilt a stubbed module's bundles from the tool runner's running MESH_TOOL_ENV, it kept the setting words the old engine itself had composed (MESH_CONFIG_PUBLISH_TRIES=8, from the builder's old default). §781's check then saw that word as the builder's own, against the setting's composed value 5, and refused it.
Change
internal/compose/composed.go: a setting's word is left out of the running bundle's words, like the other words the mesh says; it is composed again from the setting.
Tests
A new row in internal/compose/composed_test.go failed before the change and passes after it.
The untagged unit suite passes.
go vet ./... and go vet -tags integration ./... are clean.
The compose integration test passes.
Reviewed-by: mesh-code-reviewer@shanks at d5b2123180
Pushed-by: lead-47@shanks
## Design line
Design 47 H2 §781 with lead answer H-A-477 (hq branch design/47-H1-answers-59, commit 59bc826d "a setting's word is never a bundle's own", and its addendum f2d0ecd1 "no engine code for the stale resolve now").
## Cause
shanks refused every candidate's composition. When the node-engine rebuilt a stubbed module's bundles from the tool runner's running MESH_TOOL_ENV, it kept the setting words the old engine itself had composed (MESH_CONFIG_PUBLISH_TRIES=8, from the builder's old default). §781's check then saw that word as the builder's own, against the setting's composed value 5, and refused it.
## Change
`internal/compose/composed.go`: a setting's word is left out of the running bundle's words, like the other words the mesh says; it is composed again from the setting.
## Tests
- A new row in `internal/compose/composed_test.go` failed before the change and passes after it.
- The untagged unit suite passes.
- `go vet ./...` and `go vet -tags integration ./...` are clean.
- The compose integration test passes.
Reviewed-by: mesh-code-reviewer@shanks at d5b2123180719a57d26e2f7c86a66758cee84608
Pushed-by: lead-47@shanks
Rebuilding a stubbed module's bundles from the tool runner's running
MESH_TOOL_ENV kept the setting words the engine itself composed before
(MESH_CONFIG_PUBLISH_TRIES "8" from the builder's old default), so §781's
check refused them against the setting's composed value ("5") and every
composition on shanks failed. Leave them out like the other mesh-said
words; they are composed again from the setting.
Builds: design 47 H2 §781, H-A-477
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Design line
Design 47 H2 §781 with lead answer H-A-477 (hq branch design/47-H1-answers-59, commit 59bc826d "a setting's word is never a bundle's own", and its addendum f2d0ecd1 "no engine code for the stale resolve now").
Cause
shanks refused every candidate's composition. When the node-engine rebuilt a stubbed module's bundles from the tool runner's running MESH_TOOL_ENV, it kept the setting words the old engine itself had composed (MESH_CONFIG_PUBLISH_TRIES=8, from the builder's old default). §781's check then saw that word as the builder's own, against the setting's composed value 5, and refused it.
Change
internal/compose/composed.go: a setting's word is left out of the running bundle's words, like the other words the mesh says; it is composed again from the setting.Tests
internal/compose/composed_test.gofailed before the change and passes after it.go vet ./...andgo vet -tags integration ./...are clean.Reviewed-by: mesh-code-reviewer@shanks at
d5b2123180Pushed-by: lead-47@shanks
Rebuilding a stubbed module's bundles from the tool runner's running MESH_TOOL_ENV kept the setting words the engine itself composed before (MESH_CONFIG_PUBLISH_TRIES "8" from the builder's old default), so §781's check refused them against the setting's composed value ("5") and every composition on shanks failed. Leave them out like the other mesh-said words; they are composed again from the setting. Builds: design 47 H2 §781, H-A-477