A version prepares its state before it runs #124

Merged
mesh-admin merged 1 commits from feat/a-version-prepares-its-state into main 2026-09-28 10:43:17 +00:00
Contributor
No description provided.
mesh-admin added 1 commit 2026-09-28 10:43:16 +00:00
The mesh derives the preparation from the module's own resource instead of each module hand-writing
a step beside it (novox/hq ADR 0135). A manifest says one word — `prepares` — and the mesh runs that
module's own program in its preparation mode, in the module's own context: the same image, the same
environment, the same mounts, because it is the same code. A published port and a fixed address are
taken away rather than copied, since the version being replaced still holds them.

One word for every kind of module: a Go binary receives `prepare` as its argument, a bundle receives
it through the runtime whose entry takes the same word. The control plane answers it like anything
else — its own schema stops being a special case, and its hand-written step is gone.
mesh-admin merged commit 9be2fb4750 into main 2026-09-28 10:43:17 +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#124