Skip to content

Playwright(demos e2e): collect flaky test candidates and report them in the repository monitor - #36801

Open
EugeniyKiyashko wants to merge 5 commits into
DevExpress:mainfrom
EugeniyKiyashko:demos_playwright_flaky_candidates
Open

EugeniyKiyashko wants to merge 5 commits into
DevExpress:mainfrom
EugeniyKiyashko:demos_playwright_flaky_candidates

Conversation

@EugeniyKiyashko

Copy link
Copy Markdown
Contributor

No description provided.

@EugeniyKiyashko EugeniyKiyashko self-assigned this Dec 4, 2026
@EugeniyKiyashko
EugeniyKiyashko force-pushed the demos_playwright_flaky_candidates branch 2 times, most recently from 3286cc5 to 2b72795 Compare December 4, 2026 12:35
@EugeniyKiyashko
EugeniyKiyashko force-pushed the demos_playwright_flaky_candidates branch from 2b72795 to 0a66c6c Compare December 4, 2026 15:47
@EugeniyKiyashko
EugeniyKiyashko marked this pull request as ready for review December 4, 2026 15:49
@EugeniyKiyashko
EugeniyKiyashko requested review from a team as code owners December 4, 2026 15:49
Copilot AI balanced review requested due to automatic review settings December 4, 2026 15:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The per-section caps leave the combined issue body unbounded, allowing repeated run URLs to exceed GitHub’s 65,536-character limit and prevent monitor updates.

1 open issue
What changed in this PR

Adds demo Playwright flaky-test reporting to the existing repository monitor.

Changes:

  • Collects demo flaky candidates, publishes artifacts, and adds run summaries.
  • Combines component and demo reports in the monitor.
  • Adds configurable report headings and test limits, with tests and documentation.
File Description
tools/​flaky-test-reporter/​src/​report.ts Supports configurable test limits.
tools/​flaky-test-reporter/​src/​report.test.ts Tests custom limits.
tools/​flaky-test-reporter/​src/​markdown.ts Supports custom headings.
tools/​flaky-test-reporter/​src/​markdown.test.ts Tests custom headings.
tools/​flaky-test-reporter/​src/​main.ts Adds heading and limit CLI options.
tools/​flaky-test-reporter/​src/​main.test.ts Tests option defaults and overrides.
apps/​demos/​README.md Documents demo flaky-test reporting.
apps/​demos/​playwright.config.ts Enables the CI flaky reporter.
.github/​workflows/​visual-tests-demos.yml Collects and publishes demo candidates.
.github/​workflows/​repository-check.yml Includes demo reports in the monitor.

Review effort: Balanced

Comment thread .github/workflows/repository-check.yml Resolved
Copilot AI balanced review requested due to automatic review settings December 4, 2026 18:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The renderer can exceed maxChars for undersized budgets and incorrectly report one omitted test when there are none, so it needs explicit budget validation.

1 open issue
1 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings December 4, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Flaky collection is skipped when preceding dependency or report-processing steps fail, causing available flaky-test results to be silently omitted from monitoring.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Decouple flaky collection from HTML report processing failures

.github/​workflows/​visual-tests-demos.yml:950

These steps implicitly require success(), so a failure in the preceding dependency installation, blob merge, or HTML-report upload skips flaky collection despite the per-job reports already being available. The repository collector treats a missing flaky-candidates artifact as an empty run, silently omitting those flakes from the monitor. Make all three steps independent of HTML-report processing, while requiring the flaky download and build to succeed before their dependent steps run.

1 resolved since last review

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants