Add a real Chrome trace with snapshot tests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 53/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github, node.js, typescript
調査の方向性
Start by reading the existing synthetic test fixtures and tests for overview, insights, tasks, network, shifts, interactions and report; the issue does not name their files. Record a small Chrome trace with a page load and interaction, save it as .json.gz, and add node:test snapshots for each output. Done means the fixture contains no private data and snapshot changes are visible when the trace engine output changes.
索引モデルが issue の本文から書いたものです。
説明
Child of #9.
All test fixtures are synthetic. Dependabot updates @paulirish/trace_engine every day, so CI can pass when the engine output changes in a way the synthetic fixtures do not cover.
Proposal
- Add a small real trace recorded in Chrome, with a page load and an interaction, as
.json.gz. It must not contain private URLs or data. - Add snapshot tests with the
node:testsnapshot support (t.assert.snapshot) foroverview,insights,tasks,network,shifts,interactionsandreport. - When a Dependabot update changes the output, the snapshot diff shows the change, and the PR updates the snapshots on purpose.
Open questions
- What is the size limit for a fixture in the repo? A load of a small test page should be under 1 MB compressed.
- Which page do we record? A static page in the repo would let anyone record the trace again.
- 主要言語
- TypeScript
- スター
- 15
- フォーク
- 4
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ChromeDevTools/trace-engine-cli のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ChromeDevTools/trace-engine-cli#27 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
ChromeDevTools/trace-engine-cli#10 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
ChromeDevTools/trace-engine-cli#9 · コメント 5 件 ·
メンテナーはふだん 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 日以内に返信