Run E2e

Run repo end-to-end checks through scripts/e2e/run.sh for webpack, rspack, or both bundlers.

shakacode 01e6d34 1.0 KB Updated

File contents

Run E2E

Use this skill when validating local end-to-end behavior for the webpack and rspack integrations.

Interface

Issue #57 landed scripts/e2e/run.sh in PR #85. The script selects bundlers with RSC_E2E_BUNDLER:

RSC_E2E_BUNDLER=webpack bash scripts/e2e/run.sh
RSC_E2E_BUNDLER=rspack bash scripts/e2e/run.sh
RSC_E2E_BUNDLER=both bash scripts/e2e/run.sh

Default to RSC_E2E_BUNDLER=both for release or merge-readiness validation unless the user asks for a narrower bundler lane.

Expected Workflow

  1. Read AGENTS.md for the current validation policy.
  2. Confirm the script exists:
    test -f scripts/e2e/run.sh
    
  3. If the script is missing, report that the checkout is inconsistent with current main / PR #85 instead of using a hand-rolled substitute.
  4. Run the requested bundler lane using RSC_E2E_BUNDLER.
  5. Report the exact command, working directory policy, and result.

shakacode/react_on_rails_rsc/tree/main/.agents/skills/run-e2e commit 01e6d34ee8

Frequently asked questions

npx skillmds@latest add shakacode/run-e2e