refactor(runtime-host): reconcile Peer Mesh membership state - #4274
Merged
M4n5ter merged 5 commits intoAug 31, 2026
Conversation
6 tasks
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
from
August 31, 2026 00:08
9989d56 to
87303a1
Compare
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
from
August 31, 2026 00:27
87303a1 to
675d8c0
Compare
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
from
August 31, 2026 00:51
d781cf1 to
cc0aa44
Compare
jackwener
approved these changes
Aug 31, 2026
jackwener
left a comment
Member
There was a problem hiding this comment.
Approved at the explicit direction of M4n5ter. No technical review was performed as part of this action; M4n5ter requested the approval and accepts responsibility for subsequent handling.
Review notice: This approval was submitted by an automated review agent operated by jackwener and is published at the direction of M4n5ter, who is the human accountable for it.
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
2 times, most recently
from
August 31, 2026 02:37
5000dfa to
c19e674
Compare
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
from
August 31, 2026 03:26
c19e674 to
525f578
Compare
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
from
August 31, 2026 04:09
525f578 to
3d757ca
Compare
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
2 times, most recently
from
August 31, 2026 05:50
8855bb9 to
c7895ff
Compare
Generated-by: OpenAI Codex
Generated-by: OpenAI Codex
M4n5ter
force-pushed
the
refactor/peer-mesh-desired-state
branch
from
August 31, 2026 06:02
c7895ff to
f42caac
Compare
M4n5ter
marked this pull request as ready for review
August 31, 2026 06:10
saltand
pushed a commit
to saltand/maka-agent
that referenced
this pull request
Aug 31, 2026
…4274) * refactor(runtime-host): reconcile Peer Mesh membership state Generated-by: OpenAI Codex * fix(runtime-host): preserve peer mesh join intent * fix(runtime-host): reconcile interrupted mesh joins * fix(runtime-host): reconcile Mesh intent through live Hosts Generated-by: OpenAI Codex * fix(runtime-host): preserve Mesh intent through lifecycle changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
English
Make Peer Mesh membership changes local durable decisions followed by bounded background reconciliation. Leaving a Mesh now disables local routes and transit immediately, while signed roster updates propagate proactively and recover through reconnect/pull without blocking the initiating UI on unreachable peers.
This PR is stacked on #4273.
中文
将 Peer Mesh membership 变更改为“本地持久决策 + 有界后台 reconciliation”。离开 Mesh 会立即停用本地路由和成员转发;签名 roster 更新主动传播,并可在重连/拉取时恢复,不再让发起操作的 UI 等待不可达成员。
本 PR stack 在 #4273 之上。
Refs #3842
Verification
English
中文
Review focus
The Mesh authority remains the sole owner of shared signed membership. Local desire controls only this endpoint and does not introduce consensus or a second membership authority.
AI use
Tool(s) and scope: OpenAI Codex — architecture planning, implementation, focused tests, and review.
Checklist
Does this PR entail a change in behavior?