Name build-agent's own as the builder's module, build-agent and mesh-tools (ADR 0520 §1, issue 1851)

ADR 0520 narrowed after its review: mesh-tools-go builds from its own
directory on a pinned base and has its key from mesh-build-image, and
mesh-tools-python is no module, so the set is named, not derived from
the toolchain bases.
This commit is contained in:
2026-10-22 21:08:47 +02:00
parent 61f7e89ad5
commit 61449249a8
3 changed files with 22 additions and 36 deletions
-15
View File
@@ -237,21 +237,6 @@ func spoken() string {
// AgentModule is build-agent's own module: the machine's builder, whose image is built from another repository's context.
const AgentModule = "build-agent"
// Bases are the modules whose artifacts provide the toolchains' compilers (Toolchain.Base), each once, sorted: images
// build-agent's builds stand on.
func Bases() []string {
seen := map[string]bool{}
var out []string
for _, t := range toolchains {
if t.Base != "" && !seen[t.Base] {
seen[t.Base] = true
out = append(out, t.Base)
}
}
sort.Strings(out)
return out
}
func Languages() []string {
names := make([]string, 0, len(toolchains))
for _, t := range toolchains {