A-281: the switch key names the gate's own build through mesh-sdk's process, which the environment check allows

This commit is contained in:
2026-11-12 12:03:25 +01:00
parent 478551622d
commit 0e9fb2cbe3
@@ -17,6 +17,7 @@ import (
mdc "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/clients/meshdeliveryclient"
seat "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/seats/meshdelivery"
"git.novox.be/novox/mesh-sdk/go/keys"
"git.novox.be/novox/mesh-sdk/go/process"
)
// oldDelivery is a delivery as the old section `deliveries` kept it, as far as the switch reads it.
@@ -118,7 +119,7 @@ func (h *Holder) Switch() (opened, found int, err error) {
}
defer func() {
if err == nil {
err = h.Records.MarkSwitched(os.Getenv("MESH_FINGERPRINT"))
err = h.Records.MarkSwitched(process.ReadOwnBuild(os.Getenv).String())
}
}()
groups, err := h.inFlight()