Files
mesh-controller/internal/inventory/migrations/0100-a-send-keeps-the-provisioners-plans.sql
T
mesh-tools 97a2d841c7 Land feature 57's controller work on its release branch
The controller plans config, templates and moved providers' provisions,
hands bus accounts to the vault and judges the new manifest words, on the
feature's SDK and node-engine validator (feature 57, config and provisioning).
2026-10-15 21:27:33 +00:00

11 lines
851 B
SQL

-- What a machine was last sent of the provisioner's plans (novox/hq ADR 0349 §4, design 57 P6, issue 672).
--
-- A module marked moved is handed to the provisioner on a machine whose node-engine takes a filled file on the
-- client's word alone: its declaration names the files the client fills, and the client fills them from the
-- module's plan — its templates archive by digest, each file's path and template, and the placement values its
-- templates name. The plans are composed with the declaration and kept with its send, by module, so the
-- assignments mirror carries the plan of the build that machine was sent (inventory.Provisioning) and a walk waits
-- for the client's report on that build's templates. Null for a machine sent nothing handed. No secret: placement
-- is not one.
alter table node add column sent_provisioning jsonb;