Skip to content

ci: disable Playwright and e2e test suites - #71

Merged
oldsj merged 1 commit into
mainfrom
substrate-workspace-adapter
Sep 22, 2026
Merged

oldsj merged 1 commit into
mainfrom
substrate-workspace-adapter

Conversation

@oldsj

@oldsj oldsj commented Sep 22, 2026

Copy link
Copy Markdown
Owner

PR: ci: disable Playwright and e2e test suites

Playwright and the live-agent e2e paths are off by default, in CI and locally.

CI — removed the E2E Tests job (Kind cluster, browser install/cache, CLAUDE_CODE_OAUTH_TOKEN secret, deploy, report uploads). PRs now run Lint + Build only. Also dropped the now-dead KIND_CLUSTER_NAME env and the build job's image-tarball export/upload, which only that job consumed — images are still built, so the Dockerfiles stay validated.

Local — new scripts/e2e-guard.sh fails with an explanatory message unless ENABLE_E2E=1. Wired into make test, make test-run, make test-ci, make test-worker-e2e, and the frontend test, test:ui, test:debug scripts. test:report is untouched.

DocsAGENTS.md verification section and frontend/specs/README.md state the suites are disabled and how to opt in.

Nothing is deleted: the test files, playwright.config.ts, and the @playwright/test dep remain for an opt-in run.

Verification — guards confirmed to block by default and pass with ENABLE_E2E=1; CI YAML and package.json parse; trunk fmt/check clean on the changed files (one trivy failure from its own broken rego check bundle, unrelated to this diff).

The browser suites and the live worker e2e script need a Kind cluster,
built images, and a Claude subscription, so they no longer run in CI or
from the default local entry points.

- Drop the E2E Tests job from CI; PRs now run lint and image builds only.
  The build job no longer exports image tarballs, since only that job
  consumed them.
- Guard make test/test-run/test-ci/test-worker-e2e and the frontend
  pnpm test scripts behind ENABLE_E2E=1 via scripts/e2e-guard.sh
- Record the opt-in in AGENTS.md and frontend/specs/README.md

Test files, playwright.config.ts, and @playwright/test stay in place for
deliberate opt-in runs.
@oldsj
oldsj merged commit b4b98cb into main Sep 22, 2026
5 checks passed
@oldsj
oldsj deleted the substrate-workspace-adapter branch September 22, 2026 20:35
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