An empty declaration is sent, so a node drops what it last held (hq 127) #77

Merged
jschoubben merged 1 commits from fix/127-an-empty-declaration-is-sent into main 2026-09-26 21:32:43 +00:00
Owner

push skipped any node whose declaration composed to zero resources. A node that held something before — the broker opening a placement gave an adopted node — kept it forever: the empty declaration that would drop it was never sent, and the node's heartbeat re-applied the stale resource. Now the empty declaration is sent; the host drops what the mesh owned and keeps what it found (adoption envelope still rides along); a node that never held anything applies it as a no-op. Surfaced on ace: #74 removed its only resource (the 5671 opening), and the correction couldn't reach it until this. Test updated to the corrected contract; full suite green.

`push` skipped any node whose declaration composed to zero resources. A node that held something before — the broker opening a placement gave an adopted node — kept it forever: the empty declaration that would drop it was never sent, and the node's heartbeat re-applied the stale resource. Now the empty declaration is sent; the host drops what the mesh owned and keeps what it found (adoption envelope still rides along); a node that never held anything applies it as a no-op. Surfaced on ace: #74 removed its only resource (the 5671 opening), and the correction couldn't reach it until this. Test updated to the corrected contract; full suite green.
jschoubben added 1 commit 2026-09-26 21:32:37 +00:00
push skipped any node whose declaration composed to zero resources. A
node that HELD something before — the broker opening a placement gave
an adopted node, say — then kept it forever: the empty declaration that
would drop it was never sent, and the node's own heartbeat re-applied
the stale resource with no way for the mesh to say it is gone. Now the
empty declaration is sent; the host drops what the mesh owned and keeps
what it found. A node that never held anything applies it as a no-op.
Surfaced on ace: the foundation-opening fix (#74) removed its only
resource, and the correction could not reach it until this.
jschoubben merged commit 08ebb8c999 into main 2026-09-26 21:32:43 +00:00
jschoubben deleted branch fix/127-an-empty-declaration-is-sent 2026-09-26 21:32:43 +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#77