* Unskip email and postgres tests for Vite 8
* Convert external require calls to ESM during dependency optimisation
* Convert external require calls to ESM at build time
* Add comment for skipped test
* Reintroduce Vite 8 tests
* Add changeset
* Augments Claude changesets review instructions to ensure that experimental features are appropriately handled
* Add note in the Wrangler CONTRIBUTING.md file
---------
Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>
* ci: make changeset review non-blocking
Claude will still post a review comment to the PR, but
the workflow will no longer fail if issues are found.
This allows human reviewers to decide whether to address
the feedback.
Also removed structured JSON output in favor of
human-readable comments.
* docs: clarify changeset length and examples guidelines
- Changesets should be more than one sentence but less than
three paragraphs (unless the change is very large)
- Code examples are encouraged but not mandatory
- Updated CI workflow prompt to align with new guidelines
* ci: defer to author's choice on changeset version type
Claude should accept the author's choice of patch/minor unless
it's clearly incorrect, rather than being prescriptive.
* feat: update CI workflow for other Node versions
- Add Node.js 25 and 26 to the test matrix
- Add unenv-preset e2e tests and vite-plugin get-started tests
- Configure Node 20 to run on all PRs
- Configure Node 24+ to only run on Version Packages PRs (changeset-release/main)
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* fix: correct vite-plugin test filter command
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* refactor: use matrix field skip_on_normal_pr instead of computing node version
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* feat: add label check to force all Node version tests to run
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* style: format workflow file with prettier
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* docs: add comment explaining skip_on_normal_pr matrix field
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* refactor: rename skip_on_normal_pr to expected_to_fail
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* refactor: deduplicate condition logic using step output
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* chore: remove Node 26 from matrix (not yet released)
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* ci: fix changeset review for Version Packages PRs
For Version Packages PRs, changeset files are deleted (not added/modified),
so the tj-actions/changed-files action's all_changed_files output is empty.
This fix:
1. Uses deleted_files output for Version Packages PRs
2. Recovers the deleted files from the base branch so Claude can read them
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* ci: improve comment wording for Version Packages PR handling
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* ci: simplify workflow using recover_deleted_files option
Use tj-actions/changed-files recover_deleted_files option instead of
manual file recovery. This simplifies the workflow by:
- Removing the 'changesets-to-review' step
- Removing the manual 'Recover deleted changesets for review' step
- Using a simpler condition on the Claude review step
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
* ci: make recover_deleted_files conditional on Version Packages PR
Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Test multiple Vite versions in CI
* Remove playground tests from existing workflows
* Update default Vite version
* Use Vite 7 in E2E tests
* Update E2E naming
* Skip failing dev tests when testing with Vite 8
* Skip failing build tests when testing with Vite 8
* Use TurboRepo to runs commands and the --only flag to ensure the plugin is not rebuilt
* Allow for additional logs
The OIDC token exchange doesn't support pull_request_target events.
See: https://github.com/anthropics/claude-code-action/issues/713
This means the workflow won't work for fork PRs (no access to secrets),
but will work for internal PRs from branches on the main repo.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* Get Claude to review changesets
* Run on pull_reuest_target
* Extract changeset rules into readme
* Use GitHub API instead of checking out PR code
This avoids the CodeQL security warning about checking out untrusted
code in a privileged workflow. Claude now uses `gh` CLI to inspect
PR contents via the API instead of having the files on disk.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add changeset guidelines to CLAUDE.md
Reference the detailed guidelines in .changeset/README.md and document
the preferred workflow using `pnpm changeset add --empty`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Format
* Apply suggestions from code review
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
* Address review feedback
- Add note about automatic dependency releases (no need to include dependent packages)
- Add CI-only changes to list of things not requiring changesets
- Call out that experimental features should be mentioned in changeset descriptions
- Remove unnecessary id-token permission
- Update prompt to note major version constraints from README
- Instruct Claude to fail the check (exit 1) for blocking issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Address additional review feedback
- Change 'workspaces' to 'packages' in README (fixtures aren't relevant)
- Add note that breaking changes to experimental features are not major
- Add use_sticky_comment to avoid multiple comments on the same PR
- Keep direct_prompt (verified correct for beta version)
- Keep GH_TOKEN env for gh CLI compatibility
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Migrate to claude-code-action v1
- Change @beta to @v1
- Change direct_prompt to prompt (per migration guide)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Pete Bacon Darwin <pete@bacondarwin.com>
* ci: the semgrep CI job fails but this doesn't mean anything
* Update .github/workflows/semgrep.yml
Co-authored-by: Victor Berchet <victor@suumit.com>
* Apply suggestion from @petebacondarwin
---------
Co-authored-by: Victor Berchet <victor@suumit.com>