DevTools extensions not discovered when app entrypoint is under custom directory
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 56/100
調査の方向性
DevTools の packageRootFromFileUriString のルート検出ロジックから始め、patrol_test/ 配下のエントリーポイントに対して package_config.json をどのように見つけるかを追跡します。その動作を、integration_test/ や test/ などの認識済みディレクトリと比較します。アプリのエントリーポイントがカスタムテストディレクトリ配下にある場合でも DevTools が拡張機能を検出でき、既存のルート検出を維持できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Sumary
DevTools extension discovery fails if the main isolate root library is under a custom test directory (patrol_test/ in our case) that is not recognized by DevTools’ package root heuristic. Extensions appear when tests are moved to integration_test/ which is a recognized root.
Context
I'm working on Patrol which has it's own devtools extension. We recently changed the default directory where all the tests are stored from integration_test to patrol_test. After doing so, we then found out that our devtools extension is not found when running tests.
Notes
DevTools root detection uses packageRootFromFileUriString, which only recognizes lib, bin, integration_test, test, benchmark, example as valid top‑level dirs. Custom test dirs like patrol_test/ are not recognized, so the root resolves incorrectly and package_config.json lookup fails.
Would it be possible to make it more configurable so that we could point to patrol_test directory in our case?
- 主要言語
- Dart
- スター
- 1.7k
- フォーク
- 420
- 平均マージ
- 3日 11時間
- マージ済み PR(30日)
- 29
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flutter/devtools のほかの issue
-
Check for modern web libraries to determine if an app is a web app対応中かも @hkarmoush が 36 日前に担当しました。 オープンP1 type-code-health
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
flutter/devtools#9973 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
P2 type-code-health
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
flutter/devtools#9942 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[Inspector V2] Widget properties tab highlight extends past its rounded edge再び着手できるかも @theprantadutta が 195 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンcontributions welcome cross-screen inspector-2.0-polish P2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
flutter/devtools#8936 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
cross-screen P3
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue P2
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
flutter/devtools#8293 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
flutter/devtools の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
hiddify/hiddify-app#2668 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
toyota-connected/emb_cli#358 ·
メンテナーはふだん 1 日以内に返信
-
area: import beta cluster: callers box improvements severity: minor status: confirmed type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ibanner56/CallersCompendium#2366 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ccch1mneyyy/dsh-Go#1777 ·
メンテナーはふだん 1 日以内に返信
-
area: mobile documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CommandLineCoding/Elephant#383 ·
メンテナーはふだん 1 日以内に返信