People: a contact shows Offline while both Homes run and messages arrive

未关闭
#502 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
54/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
javascript, rust
领域
backend

调研方向

Start with capsules/people/browser/people.js and trace how reachabilityLabel gets the contact's reachability result. Compare the status shown when messages arrive with the status shown when Home reports the contact as unreachable; the cause is still unknown, and the suggested Carrier route needs checking. Done when People shows “Online now” when the contact's Home answers and no status when Home cannot tell.

由索引模型根据 Issue 内容生成。

描述

The ElastOS User Tester found this on 0.8.0-alpha.25 (source 92aeea44d) on 28 Oct 2026. Two Homes ran on one machine and became contacts through a request and Inbox Accept. People on both Homes showed the other person as offline, while direct messages between them arrived at once (5 of 5).

On the 0.8.0 candidate, a People row shows "Offline" when Home reports the contact as not reachable (reachabilityLabel in capsules/people/browser/people.js). The reachability check itself has no change, so the same setup probably still shows "Offline". This was not tested again.

Expected: People shows "Online now" when the contact's Home answers, and shows no status when Home cannot tell.

The cause is not known. The tester's guess, not checked: the status needs a direct Carrier route, which two Homes on one machine do not get.

主要语言
Rust
星标
6
派生
2
平均合并
1 天 3 小时
30 天内合并 PR
42

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

elastos/elastos-runtime 的其他 Issue

查看 elastos/elastos-runtime 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。