Repository navigation
feat: adopt the new sharding API - #75
Merged
Merged
Conversation
Upcoming Playwright v1.62 releases a new custom reporter API that can be used for shard allocation. The discussion on the upstream API was carried in the following issues: - microsoft/playwright#40934 - microsoft/playwright#41708 This patch: - Adopts the new upstream API for shard allocation, removing the `flakiness-playwright-shard` binary. - Drops the auto-fetching functionality that we had previously. The auto-fetching resulted in unpredictable shard allocation, which proved to be problematic in real world test suites (as was demonstrated by [Wordpress/Gutenberg integration](WordPress/gutenberg#79479)) . As a result, the auto-fetching promoted a bad developer experience. This Pull Request will result in a major version release for the `@flakiness/playwright` package due to the breaking functionality: - the `flakiness-playwright-shard` binary is removed - the auto-fetching functionality is removed - shard balancing is only possible for Playwright 1.62+
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2bbb7b7805
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Playwright v1.62 releases a new custom reporter API that can be
used for shard allocation.
The discussion on the upstream API was carried in the following issues:
preprocessSuiteAPI microsoft/playwright#41708This patch:
flakiness-playwright-shardbinary.auto-fetching resulted in unpredictable shard allocation, which proved
to be problematic in real world test suites (as was demonstrated by
Wordpress/Gutenberg integration) .
As a result, the auto-fetching promoted a bad developer experience.
This Pull Request will result in a major version release for
the
@flakiness/playwrightpackage due to the breaking functionality:flakiness-playwright-shardbinary is removed