[Feature]: Provide users a hook to define the tests to each shard.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- playwright, typescript
- 領域
- testing
調査の方向性
Start by reading Playwright's test sharding implementation and how it assigns tests to shards; the issue does not name files, tests, or entry points. Clarify whether the goal is custom ordering based on duration, shard selection by tags or permissions, or both, then define how users register that behavior. Done would mean the chosen hook is documented and covered by tests for its shard assignments.
索引モデルが issue の本文から書いたものです。
説明
🚀 Feature Request
I normally answer question on Discord, this issue or desire has come up a few times in one way or another. The question was a way to influence the tests that will be provided to each shard.
Example
I see two different but related use cases.
First would be if users have historical data of how long a test may take, if they were allowed a way to register some method that would sequence tests that are provided to each shard, thus allowing a way to help minimize the time for a test run. So when some test may take a long time, those could be distributed across each shard equally and spread out the load.
The other use case might be to allow shards to be defined in a way to help isolate or direct tests to a given shard. So a little more might need to be added, and could be a different DCR to keep things more atomic, but thought i'd spew it all out at once and make a second issue of deemed a separate issue. But it would be great from other support issues i've answered, at times people may wish to run or direct test to only run on one machine. Example might be for low-end/restricted user or a higher level user based on permissions and finally say an admin. So it might require the ability for a shard to be defined based on permissions or operations. Tie this in with the ability of tests could have a tag attribute to then allow users the ability to help define the "working set" list of tests. How this is clear. Could see two separate DCR requests but thought i'd get it all out at once...
Motivation
Would allow users the ability and flexibility to help customize test when they want to shard, but they may have multiple constraints and desire how tests are grouped on a given shard.
- 主要言語
- TypeScript
- スター
- 98k
- フォーク
- 6.6k
- 平均マージ
- 15時間 59分
- マージ済み PR(30日)
- 296
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/playwright のほかの issue
-
[Bug]: `playwright install` hangs silently for ~8 minutes when PLAYWRIGHT_BROWSERS_PATH is not writable対応中かも @dcrousso が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
microsoft/playwright#43606 ·
メンテナーはふだん 1 日以内に返信
-
[Feature]: Set `this.name` in `TargetClosedError` constructor再び着手できるかも @LeonxLJX が 50 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンP3-collecting-feedback
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
microsoft/playwright#42522 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: addLocatorHandler() appears to intercept its own action during expect().toPass() retries対応中かも @dcrousso が今日担当しました。 オープンneeds-triage-mac
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoft/playwright#43607 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
microsoft/playwright#43602 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: On Windows, parallel runs that share the transform cache fail to load a test file with EPERM対応中かも @microsoft-playwright-automation が今日担当しました。 オープンneeds-triage-win
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
microsoft/playwright#43601 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
microsoft/playwright の issue をすべて見る
似ている issue
-
area: image-engine bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
snapotter-hq/SnapOtter#3885 ·
メンテナーはふだん 1 日以内に返信
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 3 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug P3 UI/UX
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
openclaw/openclaw#182077 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信