Skip to content

feat(runtime-host): project peer Host reachability - #4275

Merged
M4n5ter merged 1 commit into
refactor/peer-mesh-desired-statefrom
feat/peer-mesh-host-reachability
Aug 31, 2026
Merged

feat(runtime-host): project peer Host reachability#4275
M4n5ter merged 1 commit into
refactor/peer-mesh-desired-statefrom
feat/peer-mesh-host-reachability

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

English

Project demanded Runtime Host connectivity as explicit ephemeral phases: discovery, connection, authentication, handshake, and ready waiting. Shared-Session targets remain sparse and become ready only after the authenticated Host handshake; membership or cached route knowledge alone never reports a usable Host.

Cancellation and target-generation fencing prevent a late connection attempt from publishing readiness after removal. This PR is stacked on #4274.

中文

将按需 Runtime Host 连接投影为明确的临时阶段:发现、连接、认证、握手和等待就绪。共享 Session target 保持稀疏,只有完成经过认证的 Host 握手后才会 ready;仅有 membership 或缓存路由绝不会被显示成可用 Host。

取消传播与 target generation fence 会阻止已移除连接的迟到结果发布 readiness。本 PR stack 在 #4274 之上。

Refs #3842
Refs #3843

Verification

English
  • Runtime Host build passes.
  • Focused native peer connection tests pass (4 tests).
  • Desktop Runtime Host manager suite passes (43 tests), including cancellation and stale-generation fencing.
  • Affected lint and diff checks pass.
中文
  • Runtime Host 构建通过。
  • 原生 peer 连接聚焦测试通过(4 项)。
  • Desktop Runtime Host manager 测试通过(43 项),包括取消和过期 generation 隔离。
  • 受影响文件的 lint 与 diff 检查通过。

Review focus

Connection phases are ephemeral observations, not durable Mesh or mount state. Membership must not create all-to-all application streams.

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

Tool(s) and scope: OpenAI Codex — architecture planning, implementation, focused tests, and review.

Checklist

  • Tests cover the change and fail without it
  • Lint, format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from 3137fe6 to 29930d3 Compare August 31, 2026 00:08
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch 2 times, most recently from d9a1d0d to a17fc28 Compare August 31, 2026 00:44
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from a17fc28 to 969c416 Compare August 31, 2026 00:51

@jackwener jackwener left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from 969c416 to ff16bdf Compare August 31, 2026 01:59
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from ff16bdf to cf68a3b Compare August 31, 2026 02:37
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from cf68a3b to bf7affb Compare August 31, 2026 03:26
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from bf7affb to 246b3eb Compare August 31, 2026 04:09
@github-actions github-actions Bot added the effort/S Under 100 readable lines label Aug 31, 2026
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from 246b3eb to 585ec2f Compare August 31, 2026 05:03
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from 585ec2f to ba1bb9b Compare August 31, 2026 05:50
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-host-reachability branch from ba1bb9b to dce1c53 Compare August 31, 2026 06:02
@M4n5ter
M4n5ter marked this pull request as ready for review August 31, 2026 06:11
@M4n5ter
M4n5ter merged commit a5610a5 into main Aug 31, 2026
14 of 16 checks passed
@M4n5ter
M4n5ter deleted the feat/peer-mesh-host-reachability branch August 31, 2026 06:32
saltand pushed a commit to saltand/maka-agent that referenced this pull request Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/S Under 100 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants