A compiled artifact names the binary a machine will run #157

Merged
jschoubben merged 1 commits from fix/142-a-compiled-artifact-names-its-binary into main 2026-09-30 09:41:31 +00:00
Owner

novox/hq issue 142. The name a machine runs a binary by is not always the name of the package that built it. The host's command is cmd/mesh-host and every machine runs it as nox-mesh-host — the installed path, the name in its unit, and the name its launcher looks for inside a delivered version.

So the first delivered host version landed as mesh-host, the host reported created /usr/lib/nox-mesh-host/versions/2681d936b949: 1 file(s), everything said success, and the launcher would never have seen it. Found by listing the directory instead of believing the line.

An artifact may now say what its executable is called. Saying nothing keeps what the compiler would have chosen, so nothing that worked before changes.

make check: only the pre-existing failure.

novox/hq issue 142. The name a machine runs a binary by is not always the name of the package that built it. The host's command is `cmd/mesh-host` and every machine runs it as `nox-mesh-host` — the installed path, the name in its unit, and the name its launcher looks for inside a delivered version. So the first delivered host version landed as `mesh-host`, the host reported `created /usr/lib/nox-mesh-host/versions/2681d936b949: 1 file(s)`, everything said success, **and the launcher would never have seen it.** Found by listing the directory instead of believing the line. An artifact may now say what its executable is called. Saying nothing keeps what the compiler would have chosen, so nothing that worked before changes. `make check`: only the pre-existing failure.
jschoubben added 1 commit 2026-09-30 09:41:25 +00:00
novox/hq 04-ISSUES/142. The name a machine runs a binary by is not always
the name of the package that built it. The host's command is cmd/mesh-host
and every machine runs it as nox-mesh-host — the path it is installed at,
the name in its unit, and the name its launcher looks for inside a
delivered version.

So the first delivered host version landed as `mesh-host`, the host
reported "created /usr/lib/nox-mesh-host/versions/2681d936b949: 1 file(s)",
everything said success, and the launcher would never have seen it. Found
by listing the directory instead of believing the line.

An artifact may now say what its executable is called. Saying nothing
keeps what the compiler would have chosen — the package's name — so
nothing that worked before changes.
jschoubben merged commit 9d6dad37c5 into main 2026-09-30 09:41:31 +00:00
jschoubben deleted branch fix/142-a-compiled-artifact-names-its-binary 2026-09-30 09:41:31 +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#157