Proposal: some improvements, and how to track them
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 12/100
- Tipo de issue
- Funcionalidade
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Ativa
- Stack de tecnologia
- nodejs, typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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!
- Linguagem predominante
- TypeScript
- Estrelas
- 15
- Forks
- 4
- Merge médio
- 1d 17h
- PRs com merge (30d)
- 22
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ChromeDevTools/trace-engine-cli
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 53/100
ChromeDevTools/trace-engine-cli#28 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
ChromeDevTools/trace-engine-cli#27 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
ChromeDevTools/trace-engine-cli#10 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ChromeDevTools/trace-engine-cli
Issues semelhantes
-
bug engine
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
frostney/GocciaScript#2539 ·
Mantenedores costumam responder em até 1 dia
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-clientTalvez já em andamento @NEAL3K assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
milind-soni/OpenMausBot#8345 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
ardia-browser/ardia#6142 ·
Mantenedores costumam responder em até 1 dia
-
feature
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridAbertabug from-app needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
nightly-labs/openbot#21303 ·
Mantenedores costumam responder em até 1 dia