fix: correct node traffic and latency metrics - #6
Merged
Conversation
ciallothu
marked this pull request as ready for review
July 21, 2026 11:30
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.
问题根因
traffic_up/down的采样累计增量与实时 Traffic 混用,导致 Traffic Limit 和 Traffic Usage 实际都在表达累计用量。本次修复
net_in/out为实时下载/上传速率,net_total_*为累计用量,配额按 Komarisum/max/min/up/down规则计算。0.1.0 (10001);新版 Android 更新检查可识别同标签 revision,并严格限制元数据与下载资源来源。本地验证
testDebugUnitTest --rerun-tasks(91 tests)、lintRelease、assembleRelease全部通过。0.1.0、versionCode10001、包名com.sekusarisu.yanami、显示名Yanami Next、预期 ABI 与一致签名证书。发布说明
合并且 main 的构建/安全审计通过后,将安全替换现有
v0.1.0Release 与 tag,并再次核验六项公开资产。旧 build 10000 因无法识别同标签替换,需要用户手动安装 build 10001;该限制已写入发布说明。