Proposal: some improvements, and how to track them
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- nodejs, typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- TypeScript
- Star
- 15
- Fork
- 4
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 22
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ChromeDevTools/trace-engine-cli
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 53/100
ChromeDevTools/trace-engine-cli#28 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ChromeDevTools/trace-engine-cli#27 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
ChromeDevTools/trace-engine-cli#10 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ChromeDevTools/trace-engine-cli
Issue tương tự
-
feature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridĐang mởbug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nightly-labs/openbot#21303 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ADORSYS-GIS/CoopData#282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OHDSI/Data2Evidence#3816 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`ovsx verify` fails for a version older than the 100 newest of an extensionCó thể đã có người làm @trivikr đã nhận hôm nay. Đang mởcli
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
eclipse-openvsx/openvsx#2482 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày