Skip to content

feat(desktop): make Peer Mesh operations responsive - #4276

Merged
M4n5ter merged 5 commits into
feat/peer-mesh-host-reachabilityfrom
feat/peer-mesh-responsive-ux
Aug 31, 2026
Merged

feat(desktop): make Peer Mesh operations responsive#4276
M4n5ter merged 5 commits into
feat/peer-mesh-host-reachabilityfrom
feat/peer-mesh-responsive-ux

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

English

Make Peer Mesh and shared-Session operations responsive to the user instead of to network deadlines. Shared-Session import reports truthful connection phases and cancels reversible connection work end to end; once an access commit is admitted, the dialog stays visible until its durable outcome is known. Peer Mesh refresh renders the active endpoint first and resolves optional Local Host availability independently; close requests settle admitted mutations and refresh authoritative state before dismissal.

This PR is stacked on #4275 and closes the implementation stack. It remains Draft until the visible Owner-to-Guest flow and cancellation path are captured.

中文

让 Peer Mesh 与共享 Session 操作响应用户,而不是被网络 deadline 控制。共享 Session 导入会展示真实连接阶段,并端到端取消仍可逆的连接工作;一旦访问权限提交已经开始,对话框会保留到持久结果明确。Peer Mesh 刷新会先展示当前 endpoint,再独立解析可选的 Local Host 状态;关闭请求会等待已接纳 mutation 结算,并在退出前刷新权威状态。

本 PR stack 在 #4275 之上并完成实现链。可见的 Owner-to-Guest 流程与取消路径留证前保持 Draft。

Refs #3842
Refs #3843

Verification

English
  • Desktop preload and renderer typechecks pass.
  • Focused Guest mount, Desktop manager, and Peer Mesh suites pass.
  • Renderer architecture checks and Astryx surface inventory pass.
  • Affected Biome lint and diff checks pass.
  • Visible cross-machine evidence remains before this Draft is marked ready.
中文
  • Desktop preload 与 renderer typecheck 通过。
  • Guest mount、Desktop manager 与 Peer Mesh 聚焦测试通过。
  • Renderer architecture 检查与 Astryx surface inventory 通过。
  • 受影响文件的 Biome lint 与 diff 检查通过。
  • 此 Draft 转为 ready 前仍需补充可见的跨机器验证证据。

Review focus

Cancellation owns only transient work. Durable authority decisions are not rolled back by closing UI, and no late network result may resurrect a removed mount or update a closed dialog.

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

@github-actions github-actions Bot added the effort/M Under 500 readable lines label Aug 30, 2026
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch from 62862b8 to 8014a34 Compare August 31, 2026 00:08
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch 2 times, most recently from 9bbc9da to c81d425 Compare August 31, 2026 00:44
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch from c81d425 to 813edb8 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-responsive-ux branch from 813edb8 to b0ddd1f Compare August 31, 2026 01:59
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch 2 times, most recently from 4f5b57d to 53a413b Compare August 31, 2026 03:26
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch from 53a413b to acb629b Compare August 31, 2026 04:09
@github-actions github-actions Bot added effort/XL Over 1000 readable lines and removed effort/M Under 500 readable lines labels Aug 31, 2026
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch 2 times, most recently from 6d078c5 to 2e48229 Compare August 31, 2026 05:50
@M4n5ter
M4n5ter force-pushed the feat/peer-mesh-responsive-ux branch from 2e48229 to 1c0c776 Compare August 31, 2026 06:02
@M4n5ter
M4n5ter marked this pull request as ready for review August 31, 2026 06:11
@github-actions github-actions Bot added effort/L Under 1000 readable lines and removed effort/XL Over 1000 readable lines labels Aug 31, 2026
@M4n5ter
M4n5ter merged commit 1d380b2 into main Aug 31, 2026
14 of 17 checks passed
@M4n5ter
M4n5ter deleted the feat/peer-mesh-responsive-ux branch August 31, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/L Under 1000 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants