Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically backport Wrangler patches to v3 #7400

Open
wants to merge 9 commits into
base: next
Choose a base branch
from

Conversation

penalosa
Copy link
Contributor

@penalosa penalosa commented Dec 2, 2024

See #7402 for an example.

This PR adds a workflow that will, for every PR with a Wrangler patch change, open a corresponding PR to the v3-maintenance branch (not created yet, but will be after v4 is released). The auto-generated PRs will likely not be perfect, but they should be a good starting point to backporting the fix. Some fixes will not be relevant, and so could just be closed (i.e. a fix for a feature introduced in v4 wouldn't make sense to backport)

@penalosa penalosa requested a review from a team as a code owner December 2, 2024 13:14
Copy link

changeset-bot bot commented Dec 2, 2024

⚠️ No Changeset found

Latest commit: daaccf3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Dec 2, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-wrangler-7400

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7400/npm-package-wrangler-7400

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-wrangler-7400 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-create-cloudflare-7400 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-cloudflare-kv-asset-handler-7400
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-miniflare-7400
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-cloudflare-pages-shared-7400
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-cloudflare-vitest-pool-workers-7400
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-cloudflare-workers-editor-shared-7400
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-cloudflare-workers-shared-7400
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12120654839/npm-package-cloudflare-workflows-shared-7400

Note that these links will no longer work once the GitHub Actions artifact expires.


[email protected] includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20241106.1
workerd 1.20241106.1 1.20241106.1
workerd --version 1.20241106.1 2024-11-06

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@penalosa penalosa added the skip-pr-description-validation Skip validation of the required PR description format label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-pr-description-validation Skip validation of the required PR description format
Projects
Status: Untriaged
Development

Successfully merging this pull request may close these issues.

1 participant