Proposal: some improvements, and how to track them
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 12/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- Active
- Stack technique
- nodejs, typescript
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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!
- Langage dominant
- TypeScript
- Étoiles
- 15
- Forks
- 4
- Merge moyen
- 1 j 17 h
- PR mergées (30 j)
- 22
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ChromeDevTools/trace-engine-cli
-
Difficulté 4/5 3-5 jours Accessibilité débutants 53/100
ChromeDevTools/trace-engine-cli#28 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
ChromeDevTools/trace-engine-cli#27 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
ChromeDevTools/trace-engine-cli#10 · 2 commentaires · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de ChromeDevTools/trace-engine-cli
Issues similaires
-
bug engine
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
frostney/GocciaScript#2539 ·
Les mainteneurs répondent en général sous 1 jour
-
Fish Audio Live calls fail to start: `Unknown callback "onNotice"` from @fishaudio/agent-clientPeut-être pris @NEAL3K l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
milind-soni/OpenMausBot#8345 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
ardia-browser/ardia#6142 ·
Les mainteneurs répondent en général sous 1 jour
-
feature
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
ChromeDevTools/chrome-devtools-mcp#3689 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: Team (channel) avatars render noticeably smaller than agent avatars in the sidebar gridOuvertebug from-app needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
nightly-labs/openbot#21303 ·
Les mainteneurs répondent en général sous 1 jour