Skip to content

feat: add Workers Previews support - #450

Open
podonnell-dev wants to merge 6 commits into
cloudflare:mainfrom
podonnell-dev:podonnell/WC-5584-support-previews
Open

podonnell-dev wants to merge 6 commits into
cloudflare:mainfrom
podonnell-dev:podonnell/WC-5584-support-previews

Conversation

@podonnell-dev

@podonnell-dev podonnell-dev commented Sep 21, 2026

Copy link
Copy Markdown

Adds wrangler preview support to the v4 action:

  • Parses Preview artifacts and exposes stable Preview outputs
  • Creates non-production GitHub Deployments and job summaries
  • Supports Preview --var injection and stdout fallback
  • Adds documentation, tests, changeset, and gated live validation via WORKERS_PREVIEWS_LIVE

I'm unable to run the E2E test suite on a fork 😞 but local validation against binary mostly worked! I ended up catching a bug in our SDK response - we do not return worker_name (which this expects) so companion wrangler sdk PR is up: cloudflare/workers-sdk#15761

We'll want this to go in only after that is fixed

@podonnell-dev
podonnell-dev marked this pull request as ready for review September 21, 2026 17:45
@podonnell-dev
podonnell-dev requested review from a team as code owners September 21, 2026 17:45
@podonnell-dev
podonnell-dev requested a review from cjol September 21, 2026 17:45

@ericclemmons ericclemmons left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just had a couple questions before the lgtm stamp 🙏

Comment thread .github/workflows/deploy.yml Outdated
Comment thread src/service/github.spec.ts Outdated
Comment thread src/wranglerArtifactManager.test.ts Outdated

@ericclemmons ericclemmons left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my comments ❤️

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.

2 participants