Repository navigation
Conversation
面板此前不分类别拉取最新 200 条再前端过滤,设备上 sys/net 观测事件密度高时,加解密板块几乎永远拿不到本类事件,表现为 算法列表加载不出。设备端 read_app_events 早已支持 categories SQL 过滤,本次接通: - getAppEvents 透传 categories 查询参数(面板中转原样转发) - eventWindow 绑定板块类别,切板块检测不一致即整窗重读 - 增量刷新与加载更早分页同类别过滤 - 板块「设备还有 N 条」按本类 byCategory 求和,不再混入他类 - BOARD_CATS 挪入 model.ts 共享,去掉三处重复定义 真机验证(RootHide iPhone 11 + CryptoTestHost):触发 digest/ hmac/rsa/aes 场景后加解密板块逐条出现且增量自动刷新;系统 板块分类分页计数 15793→15585 正常;pytest 66 passed。
Contributor
Author
|
关闭:修复对象(旧 Vue 面板的 EventBoard/model/store)已在 feat/panel-adh-port 整体重写中删除;新面板数据层按类别分桶并行拉取(crypto '0,1,2,3' 600 条独立配额),本 PR 解决的问题在新架构中已不存在。根因判断(类别不过滤则被噪声淹没)两线独立印证,修复思路无冲突。 |
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
用户报告「加解密算法列表加载不出」。真机调查结论:
dh_write_statusstat/access 配置路径,命中越狱隐藏清单记为「已隐藏」)+ agent 上报自身 connect 产生大量 sys/net 噪声,200 条窗口只覆盖几秒到几分钟,加解密事件瞬间被挤出视野read_app_events的 categories 参数早已是 SQL 层过滤,但面板从未使用本次改动(仅 panel 前端,中转层原样透传无需改):
getAppEvents透传categories查询参数eventWindow绑定板块类别;切板块检测不一致即整窗按新类别重读,非事件板块保持窗口继续增量BOARD_CATS挪入model.ts共享,去除 App/EventBoard/SettingsPanel 三处重复定义Test plan
npx vue-tsc --noEmit类型检查通过PYTHONPATH=src python -m pytest tests66 passeddhtest://aes后 AES-128-CBC 事件经轮询自动出现(增量过滤正确)遗留(本次未改,待裁决)
设备端 20000 条存储窗口仍被噪声填满(约 2-4 小时翻完),更老的加解密事件在设备侧已被淘汰,面板修好后也只能看到窗口内的事件。噪声来源:① CryptoTestHost 自检(2s/轮);② agent 上报自身 connect 被 NETWORK hook 记录。是否降噪(噪声规则/自身排除/窗口配额)需要产品决策。