Skip to content

feat(flakiness-playwright-shard): support the --list flag - #72

Merged
aslushnikov merged 1 commit into
mainfrom
support-list
Jul 3, 2026
Merged

aslushnikov merged 1 commit into
mainfrom
support-list

Conversation

@aslushnikov

Copy link
Copy Markdown
Contributor

This should show the shard tests, helping debugging non-hermetic test
suites.

This should show the shard tests, helping debugging non-hermetic test
suites.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dc0e0e51e4

ℹ️ 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".

Comment on lines +70 to +71
if (flags.has('list'))
runArgs.unshift('--list');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid uploading reports for --list

When this new --list path is used, the second Playwright invocation still runs the configured @flakiness reporter in Playwright list mode. Unlike the hidden shard-generation pass, the environment here does not set FLAKINESS_SHARD_FILE, so parseShardEnv() is false and src/playwright-test.ts falls through to writeReport()/uploadReport() and the report-open hint. That means flakiness-playwright-shard --list can upload/overwrite a Flakiness report just for listing the balanced shard; disable reporting/uploading for this diagnostic invocation or make the reporter return in this mode.

Useful? React with 👍 / 👎.

@aslushnikov
aslushnikov merged commit 3ca467f into main Jul 3, 2026
7 checks passed
@aslushnikov
aslushnikov deleted the support-list branch July 3, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant