Skip to content

feat: add Workers Previews support - #450

Merged
ericclemmons merged 5 commits into
cloudflare:mainfrom
podonnell-dev:podonnell/WC-5584-support-previews
Sep 22, 2026
Merged

ericclemmons merged 5 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
Contributor

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

@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 ❤️

@podonnell-dev
podonnell-dev force-pushed the podonnell/WC-5584-support-previews branch from 5e64626 to b1faf62 Compare September 22, 2026 13:37
@ericclemmons
ericclemmons merged commit fa15d06 into cloudflare:main Sep 22, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 22, 2026
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