Runtime evidence on your pull requests

genclass-dev[bot] is GenClass's GitHub App. While your Playwright tests run, the GenClass runtime watches the page: which request was sent twice, which older response was applied over a newer one, which write was overwritten. The app puts that on the pull request, with the test, the seeds it happened in and the evidence line. It reads the race files your workflow uploads, never your source code. Free on public repositories.

What a review contains

Set it up

Use the fixture in your Playwright tests

The fixture puts the GenClass runtime on each page under test, in observe mode: it reports and never holds, delays or changes anything your app does. With chaos on, each seed delays and reorders responses differently.

Install

npm i -D @genclass/playwright @genclass/runtime@beta

Configure

// playwright.config.ts
use: { genclass: { chaos: { seed: 1, delayMs: [0, 600] } } },

// in your specs
import { test, expect } from "@genclass/playwright/fixture";

Upload the race files from your workflow

The fixture writes one small JSON file per test and seed to test-results/genclass. genclass-dev[bot] reads the artifact when the workflow run finishes, also for pull requests from forks, whose own token cannot comment.

In the job that runs Playwright

      - run: npx playwright test --repeat-each 2
      - uses: actions/upload-artifact@v4
        if: ${{ !cancelled() }}
        with:
          name: genclass-races
          path: test-results/genclass
          retention-days: 7

Open a pull request

The GenClass check appears on its commits. When something is flagged, one comment lists each finding with its test, its seeds and the evidence line; it is edited in place on later pushes. Reply @genclass-dev help on the pull request for the commands.

What it may read and write

What it keeps

Plans