Skip to content

ci: run the read-only Playwright suite on every web PR - #90

Merged
PastaPastaPasta merged 2 commits into
masterfrom
ci/web-e2e-per-pr
Sep 27, 2026
Merged

PastaPastaPasta merged 2 commits into
masterfrom
ci/web-e2e-per-pr

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

Adds the per-PR regression gate the web app was missing: a new web-e2e workflow that runs the read-only Playwright suite against a local build of the PR.

Stacked on #89. Its base is fix/web-e2e-regressions, because on master the read-only suite fails v2-7 and the a11y settings page until #89's spec fixes land. Retarget this to master once #89 merges.

What it does

  • It builds the app for devnet moutai (NEXT_PUBLIC_NETWORK=devnet, NEXT_PUBLIC_DEVNET_NAME=moutai) and serves out/ locally.
  • It then runs the whole Playwright config: chromium for every spec, and WebKit for sign-in resilience. The specs read the public read fixture through moutai's public DAPI.
  • No secrets are needed. Every spec that signs or spends skips unless E2E_WRITE=1 is set. The write suite stays manual and nightly.
  • It runs on PRs and on pushes to master that touch forge-web/**, forge-contracts/deployments/**, the fixture seeder or the workflow itself. Other PRs don't pay for it.
  • permissions: contents: read, a SHA-pinned checkout, persist-credentials: false, and the report is uploaded on failure.

Why

v2-7 went stale in #66 and stayed red until a manual sweep found it. With this job, a spec that a deliberate UI change breaks fails in the PR that made the change.

Caveat

This job depends on moutai being up and seeded. moutai was reset to beta.5 at about 20:15Z and has no forge-v2 deployment right now, so this job will fail until the bring-up PR redeploys forge-v2 and reseeds the fixture. That failure is the job doing its job. I suggest leaving it non-required until it has been green for a while.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 0762ec0b-172d-4d5a-ae5a-f9683d020ad4

📥 Commits

Reviewing files that changed from the base of the PR and between 2ab54c3 and 365a61d.

📒 Files selected for processing (1)
  • .github/workflows/web-e2e.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@PastaPastaPasta
PastaPastaPasta changed the base branch from fix/web-e2e-regressions to master September 27, 2026 21:08
PastaPastaPasta and others added 2 commits September 27, 2026 17:30
A new web-e2e workflow builds the app for devnet moutai, serves it locally and runs the whole Playwright config (chromium, and webkit for sign-in resilience) against the public read fixture through moutai's public DAPI. It needs no secrets: every spec that signs or spends skips without E2E_WRITE. It runs on PRs and pushes that touch forge-web, the deployments or the fixture seeder, so a spec a deliberate UI change made stale fails in that PR, not in a nightly days later.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@PastaPastaPasta
PastaPastaPasta merged commit 84f1993 into master Sep 27, 2026
6 checks passed
PastaPastaPasta added a commit that referenced this pull request Sep 27, 2026
The PR page's diff moved to its own tab in this PR; the read-only suite now runs on every web PR (#90) and caught it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PastaPastaPasta added a commit that referenced this pull request Sep 27, 2026
The PR page's diff moved to its own tab in this PR; the read-only suite now runs on every web PR (#90) and caught it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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