Pin mesh-sdk at issue 1370's commit and read the phase removed by its name (review round 1)

This commit is contained in:
2026-10-20 01:25:52 +00:00
parent 1a985d68fd
commit 67fe9a4dbe
3 changed files with 5 additions and 2 deletions
@@ -10,6 +10,7 @@ import (
"time"
stdio "git.novox.be/novox/mesh-sdk/go"
sdk "git.novox.be/novox/mesh-sdk/go/delivery"
)
// The gate acts only while it holds the seat, and carries today's state over when it first holds it (novox/hq ADR 0450
@@ -236,7 +237,7 @@ func occupantsOf(assignments, haves seatBucket) ([]string, error) {
var h struct {
Phase string `json:"phase"`
}
if err := json.Unmarshal(raw, &h); err != nil || h.Phase != "removed" {
if err := json.Unmarshal(raw, &h); err != nil || h.Phase != string(sdk.PhaseRemoved) {
who = append(who, "the node-engine of "+node+" has it")
}
}