Node-engine: provisions come from the provisioner's client, the catalogue's state addresses from its client and the builder's module; the health answer and the bus principal stay mesh-sdk's (ADR 0634 §1, §5; issue 1966)

Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
2026-11-05 15:52:24 +01:00
parent 13e2fe14aa
commit c1a1efa62a
7 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -9,8 +9,8 @@ import (
"path/filepath" "path/filepath"
"sync/atomic" "sync/atomic"
provisions "git.novox.be/novox/mesh-contracts/provisioning/go/clients/meshprovisionerclient"
"git.novox.be/novox/mesh-sdk/go/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"git.novox.be/novox/mesh-sdk/go/provisions"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/filling" "github.com/novox/mesh-host/internal/filling"
"github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/link"
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/provisions" provisions "git.novox.be/novox/mesh-contracts/provisioning/go/clients/meshprovisionerclient"
"github.com/novox/mesh-host/internal/filling" "github.com/novox/mesh-host/internal/filling"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"sort" "sort"
"strings" "strings"
provisions "git.novox.be/novox/mesh-contracts/provisioning/go/clients/meshprovisionerclient"
"git.novox.be/novox/mesh-sdk/go/catalogue" "git.novox.be/novox/mesh-sdk/go/catalogue"
"git.novox.be/novox/mesh-sdk/go/provisions"
) )
// provisionSecrets fills a provision's value into a file the provisioner's client hands the node-engine to write // provisionSecrets fills a provision's value into a file the provisioner's client hands the node-engine to write
+1
View File
@@ -14,6 +14,7 @@ require (
git.novox.be/novox/mesh-contracts/placement/go/seats/meshmoduleassigner v0.0.0-20261105000000-000000000000 git.novox.be/novox/mesh-contracts/placement/go/seats/meshmoduleassigner v0.0.0-20261105000000-000000000000
git.novox.be/novox/mesh-contracts/placement/go/seats/meshwants v0.0.0-20261105000000-000000000000 git.novox.be/novox/mesh-contracts/placement/go/seats/meshwants v0.0.0-20261105000000-000000000000
git.novox.be/novox/mesh-contracts/identity-and-access/go/clients/meshvaultclient v0.0.0-20261105000000-000000000000 git.novox.be/novox/mesh-contracts/identity-and-access/go/clients/meshvaultclient v0.0.0-20261105000000-000000000000
git.novox.be/novox/mesh-contracts/provisioning/go/clients/meshprovisionerclient v0.0.0-20261105000000-000000000000
git.novox.be/novox/mesh-delivery/contracts/go/seats/meshcatalog v0.0.0-20261105000000-000000000000 git.novox.be/novox/mesh-delivery/contracts/go/seats/meshcatalog v0.0.0-20261105000000-000000000000
git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient v0.0.0-20261105000000-000000000000 git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient v0.0.0-20261105000000-000000000000
git.novox.be/novox/mesh-networking/modules/mesh-wireguard/go v0.0.0-20261105000000-000000000000 git.novox.be/novox/mesh-networking/modules/mesh-wireguard/go v0.0.0-20261105000000-000000000000
+2 -1
View File
@@ -10,6 +10,7 @@ import (
assigner "git.novox.be/novox/mesh-contracts/placement/go/clients/meshmoduleassignerclient" assigner "git.novox.be/novox/mesh-contracts/placement/go/clients/meshmoduleassignerclient"
seat "git.novox.be/novox/mesh-contracts/placement/go/seats/meshmoduleassigner" seat "git.novox.be/novox/mesh-contracts/placement/go/seats/meshmoduleassigner"
wants "git.novox.be/novox/mesh-contracts/placement/go/seats/meshwants" wants "git.novox.be/novox/mesh-contracts/placement/go/seats/meshwants"
catalogclient "git.novox.be/novox/mesh-delivery/contracts/go/clients/meshcatalogclient"
catalog "git.novox.be/novox/mesh-delivery/contracts/go/seats/meshcatalog" catalog "git.novox.be/novox/mesh-delivery/contracts/go/seats/meshcatalog"
"git.novox.be/novox/mesh-sdk/go/keys" "git.novox.be/novox/mesh-sdk/go/keys"
) )
@@ -47,7 +48,7 @@ const (
Verdicts = catalogHolder + "_verdicts" Verdicts = catalogHolder + "_verdicts"
Candidates = catalogHolder + "_candidates" Candidates = catalogHolder + "_candidates"
catalogHolder = "mesh-delivery-indexer" catalogHolder = catalogclient.Module
) )
// CandidateKey is the key of a group's candidate in Candidates: the group as a key part, a branch such as `fix/1.2` // CandidateKey is the key of a group's candidate in Candidates: the group as a key part, a branch such as `fix/1.2`
+3 -3
View File
@@ -30,9 +30,9 @@ const (
// The holders' names are kept here, in the engine's own code, as the names of the states a manifest's reads use // The holders' names are kept here, in the engine's own code, as the names of the states a manifest's reads use
// (ADR 0634 §1, finding F4); a seat's contract names a state locally, not the module that holds it. // (ADR 0634 §1, finding F4); a seat's contract names a state locally, not the module that holds it.
PlacementRead = meshmoduleassignerclient.PlacementRead PlacementRead = meshmoduleassignerclient.PlacementRead
ModulesRead = "mesh-delivery-indexer.modules" ModulesRead = meshcatalogclient.ModulesRead
ManifestsRead = "mesh-delivery-indexer.manifests" ManifestsRead = meshcatalogclient.ManifestsRead
BuildsRead = "mesh-delivery-builder.builds" BuildsRead = builds.BuilderModule + ".builds"
HaveRead = "node-engine.have" HaveRead = "node-engine.have"
ResolvedRead = "mesh-config.resolved" ResolvedRead = "mesh-config.resolved"
) )
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"strings" "strings"
"testing" "testing"
provisions "git.novox.be/novox/mesh-contracts/provisioning/go/clients/meshprovisionerclient"
mcat "git.novox.be/novox/mesh-sdk/go/catalogue" mcat "git.novox.be/novox/mesh-sdk/go/catalogue"
"git.novox.be/novox/mesh-sdk/go/provisions"
"github.com/novox/mesh-host/internal/beside" "github.com/novox/mesh-host/internal/beside"
) )