Fix flaky TaxonomyBrowser visualization unit tests
メンテナーはふだん 1 日以内に返信
@atiannicelli がすでに取り組んでいます。
2026年10月15日 から。
評価
この issue はまだ評価されていません。
説明
Type
Bug
Scope
Multi-theme or Platform
Skillset
dev ops
Description
Some TaxonomyBrowser visualization tests in src/components/__tests__/taxonomyBrowser.test.jsx fail intermittently. When they fail, Unit tests and are-we-good fail on PRs that don't touch the component. For example, #580 changes only an .mdx file and failed, then passed on re-run (failed job).
Failures seen:
viewport zoom and pan > still works when a zoom control is pressed with a shaky hand:expected 1 to be greater than 1viewport zoom and pan > pans by the drag delta:expected { x: +0, y: +0, k: 1 } to match object { x: 60, y: 30 }canvas sizing > fills the space it is given rather than a fixed size
Local repro on main code: npx vitest run src/components/__tests__/taxonomyBrowser.test.jsx failed 2/30 runs. Running only -t "viewport zoom and pan" passed 30/30, so earlier tests in the file seem to be involved.
Suspected cause (unconfirmed): showSunburst() returns once the sunburst is in the DOM, possibly before its passive effects run. Those effects are the window pointer listeners and the mount-time resetView() in src/components/taxonomyViz.jsx. A late resetView() would undo the test's zoom or pan.
Acceptance criteria:
- Find and fix the root cause in the component or tests, without just adding retries.
- The full test file passes on repeated local runs, e.g. 50 in a row.
- 主要言語
- MDX
- スター
- 84
- フォーク
- 30
- 平均マージ
- 12時間 48分
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OvertureMaps/docs のほかの issue
-
[ENHANCEMENT] October attribution updates対応中かも @jeffdefacto が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
OvertureMaps/docs#586 ·
メンテナーはふだん 1 日以内に返信
-
Community project: GridPin offline geocoder対応中かも @danabauer が 7 日前に担当しました。 オープンexternal
OvertureMaps/docs#578 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Relocate taxonomy explorer from docs repo再び着手できるかも @warrenehrenfried が 29 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
OvertureMaps/docs#538 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
[FEATURE] Add release notes GitHub Actions workflow再び着手できるかも @jjcfrancisco が 119 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
OvertureMaps/docs#423 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
add docs for working with Overture STAC and STAC-driven artifacts対応中かも @danabauer が 7 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
OvertureMaps/docs#416 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信