A bundle in a compiled language may name which command it builds #155

Merged
jschoubben merged 1 commits from feat/142-the-mesh-compiles-its-own-go into main 2026-09-30 07:56:18 +00:00
Owner

novox/hq issue 142, second piece. A bundle is refused if it names what it is built from — a bundle is the module's own directory compiled whole, and naming a source would be describing its own build.

That reason holds for an interpreted language and cannot hold for a compiled one. A repository written in Go carries several commands (the host and its bootstrap live in one), and "the module's own directory" is then not a package at all. So a compiled bundle may say which package and says the module root by saying nothing; the refusal stands for every interpreted bundle, which is what it was written for.

Found by writing the host's manifest — the first bundle in a compiled language this mesh has had.

make check: only the pre-existing failure.

novox/hq issue 142, second piece. A bundle is refused if it names what it is built from — a bundle is the module's own directory compiled whole, and naming a source would be describing its own build. That reason holds for an interpreted language and **cannot** hold for a compiled one. A repository written in Go carries several commands (the host and its bootstrap live in one), and "the module's own directory" is then not a package at all. So a compiled bundle may say which package and says the module root by saying nothing; the refusal stands for every interpreted bundle, which is what it was written for. Found by writing the host's manifest — the first bundle in a compiled language this mesh has had. `make check`: only the pre-existing failure.
jschoubben added 1 commit 2026-09-30 07:56:12 +00:00
novox/hq 04-ISSUES/142. A bundle is refused if it names what it is built
from, because a bundle is the module's own directory compiled whole and
naming a source would be describing its own build. That reason holds for
an interpreted language and cannot hold for a compiled one.

A repository written in Go carries several commands — the host and its
bootstrap live in one — and "the module's own directory" is then not a
package at all. So a compiled bundle may say which package, and says the
module root by saying nothing. The refusal stands for every interpreted
bundle, which is what it was written for.

Found by writing the host's manifest, which is the first bundle in a
compiled language this mesh has had.
jschoubben merged commit 005bc16c24 into main 2026-09-30 07:56:18 +00:00
jschoubben deleted branch feat/142-the-mesh-compiles-its-own-go 2026-09-30 07:56:18 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-controller#155