runtime: a run subcommand to run a module entrypoint to completion (ADR 0052) #6

Merged
jschoubben merged 7 commits from feat/run-once-entry into main 2026-09-13 09:16:12 +00:00
7 Commits
Author SHA1 Message Date
jschoubben 77493642d8 Remove what was only there to move a commit
Two lines added to prove that changing this image makes everything standing on
it go stale. The proof worked and the lines were never meant to stay: nothing
reads MESH_RUNTIME.
2026-09-13 11:15:24 +02:00
jschoubben 8ad37c33cd Change the base for real, so the image moves with the commit 2026-09-13 02:50:15 +02:00
jschoubben 8318c78125 Move the base, to see whether the mesh notices what it reaches 2026-09-13 02:47:14 +02:00
jschoubben 90a15cde20 The runtime keeps the compiler, because it is also the build environment
Every module's recipe starts from this image and invokes the compiler out of
it. Pruning build dependencies made a smaller image that nothing could be
built on.
2026-09-13 02:45:16 +02:00
jschoubben 78257cf151 Compile the toolkit after installing it, because npm does not
It declares the hook npm is supposed to run after a git install, and this npm
does not run it — so the package arrives as sources with every entry point
pointing at a compiled directory that is not there.
2026-09-13 02:44:12 +02:00
jschoubben a5d65ada53 The build stage can fetch a git dependency, and only it can 2026-09-13 02:39:54 +02:00
jschoubben a174dfd404 The runtime every module stands on is built from its own repository
It copied in a compiled directory that is not in source control and resolved
the toolkit to a sibling checkout, so only a workstation with two repositories
side by side could produce it — and its fingerprint was then typed into every
module by hand. Nothing could rebuild it, so nothing could check it, and the
rule that catches a base moving had no version on the far end of its edge.

The recipe now also says what the image in service actually is. It claimed
Alpine and has been serving Debian for as long as nobody could rebuild it.
2026-09-13 02:39:11 +02:00