• Will Chen's avatar
    Flakiness integration (#2499) · 88c03faf
    Will Chen 提交于
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2499">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    <!-- CURSOR_SUMMARY -->
    ---
    
    > [!NOTE]
    > **Low Risk**
    > Low risk: changes are limited to CI configuration and Playwright
    reporting, with the main risk being CI failures or leaking the new
    secret into logs if misused.
    > 
    > **Overview**
    > Adds Flakiness.io reporting to Playwright CI runs by installing
    `@flakiness/playwright`, registering it as an additional CI reporter in
    `playwright.config.ts`, and wiring `FLAKINESS_ACCESS_TOKEN` into the
    GitHub Actions E2E test step.
    > 
    > Updates the lockfile to include the new Flakiness dependencies (and
    bumps `debug` patch version via dependency resolution).
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    24ebc059e73409321eb0908a425a3d2b1ad47452. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Integrates Flakiness with Playwright E2E tests to track flaky tests and
    upload reports to flakiness.io. Reporter is enabled in CI and
    authenticated via a secret access token.
    
    - **New Features**
    - Added the @flakiness/playwright reporter to Playwright (endpoint:
    https://flakiness.io) for CI runs.
    - Passed FLAKINESS_ACCESS_TOKEN from GitHub Actions to enable
    authenticated report uploads.
    
    - **Dependencies**
    - Added @flakiness/playwright to package.json and updated the lockfile.
    
    <sup>Written for commit ddc0557b691bc533e33764bd7c93d9fab5b70fae.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    88c03faf
playwright.config.ts 1.9 KB