Skip to content

feat: introduce flakiness-playwright-timings fetch subcommand - #70

Merged
aslushnikov merged 5 commits into
mainfrom
fetch-timings
Jul 3, 2026
Merged

aslushnikov merged 5 commits into
mainfrom
fetch-timings

Conversation

@aslushnikov

Copy link
Copy Markdown
Contributor

The new subcommand allows fetching timings from the Flakiness.io
service.

The new subcommand allows fetching timings from the Flakiness.io
service.

@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: ca88446f1f

ℹ️ 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 thread src/flakiness-playwright-timings.ts Outdated
Comment on lines +85 to +86
if (!fs.existsSync(outputFile))
throw new Error('failed to fetch timings: no timings report was written. Is @flakiness/playwright configured as a reporter?');

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 accepting stale timing outputs

When the output path already exists (for example the default timings.json from a previous run) and the current Playwright config does not include @flakiness/playwright or otherwise fails to write during this --list pass, playwright --list still exits 0 and this existence check succeeds, so fetch reports success while leaving a stale timings file in place. Remove or write to a fresh temporary path before the run, or verify the file was created/updated by this invocation.

Useful? React with 👍 / 👎.

@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: 24ed1089e6

ℹ️ 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 thread src/playwright-test.ts Resolved
@aslushnikov
aslushnikov merged commit fe05443 into main Jul 3, 2026
7 checks passed
@aslushnikov
aslushnikov deleted the fetch-timings branch July 3, 2026 09:41
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