Proposal: some improvements, and how to track them
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 12/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- nodejs, typescript
调研方向
This is a maintainer-approval proposal, not a single task, so do not start a patch from it. Before any work, the maintainer needs to agree on which items to take and how to split them. The items name the insights, navigations, tasks, profile and scan commands, and scan uses fs.globSync. A useful first step is to reproduce one of the listed bugs and ask in the thread which item to pick.
由索引模型根据 Issue 内容生成。
描述
Hi @jackfranklin,
I've been using trace-engine-cli and spent some time going through the codebase. I have a list of possible improvements. Before opening a batch of issues, I'd like to check which ones make sense to you and how you prefer to handle them.
Bugs (reproduced locally)
insightsandnavigationssilently ignore--time-range. The option is global, so both commands accept it and return data for the full trace.insightsreportsnavigationId: nulleven when it uses the first InsightSet.- Numeric options are not validated.
tasks --top -5andprofile --bucket 0return empty results with exit code 0, which an agent reads as "nothing found". scansilently skips files it cannot decompress or parse. With a directory containing one valid trace, one truncated.jsonand one corrupt.json.gz,scan <dir> --grep RunTaskreportstotalFilesScanned: 3, totalFilesMatched: 1and exits 0 with no warning, so a broken file looks the same as a file with no matches.
Features
compare <baseline> <candidate>: compare two traces (CWV deltas and rating changes, main thread busy time, long tasks, top function regressions). Useful for before/after checks on a PR.- Cover more insight models.
insightsexposes 5 of the 19 models in the engine (ForcedReflow, DOMSize, LCPDiscovery, DocumentLatency, ImageDelivery and FontDisplay are missing, among others). ExposingstateandmetricSavingswould also help agents prioritize. --format json, and possibly stdin input and--fail-onthresholds for CI.
Tests and infra
- Add a small real Chrome trace with snapshot tests. All fixtures are synthetic, and Dependabot bumps
@paulirish/trace_enginedaily, so a change in the engine's output shape could still pass CI. - Add
"engines": { "node": ">=22" }.scanusesfs.globSync, which is not available in Node 20.
Docs
- A section on how to record a compatible trace (DevTools, Puppeteer, chrome-devtools-mcp).
Would it be OK if I open one issue per item (or only for the ones you're interested in), and then send a PR for each once we agree on the approach in the issue? If you'd prefer to skip some of these or handle them differently, just let me know.
Thanks!
- 主要语言
- TypeScript
- 星标
- 15
- 派生
- 4
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 22
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ChromeDevTools/trace-engine-cli 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 53/100
ChromeDevTools/trace-engine-cli#28 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
ChromeDevTools/trace-engine-cli#27 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
ChromeDevTools/trace-engine-cli#10 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 ChromeDevTools/trace-engine-cli 的全部 Issue
相似的 Issue
-
feature
难度 1/5 1 小时以内 新手友好度 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
维护者通常 1 天内回复
-
bug from-app needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
nightly-labs/openbot#21303 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
ADORSYS-GIS/CoopData#282 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
OHDSI/Data2Evidence#3816 ·
维护者通常 3 天内回复
-
`ovsx verify` fails for a version older than the 100 newest of an extension可能已有人在做 @trivikr 今天认领。 未关闭cli
难度 2/5 1-3 小时 新手友好度 81/100
eclipse-openvsx/openvsx#2482 · 2 条评论 ·
维护者通常 1 天内回复