cloudflare / cloudflare/wrangler-action

Support version preview urls in Cloudflare workers

Open Beginner friendly
#302 12 comments 16 reactions 0 assignees View on GitHub
blocked triaged
Dominant language
TypeScript
Stars
1.9k
Forks
214
PR merge metrics
No merged PRs in 30d

Description

Cloudflare Workers now support preview urls similar to Cloudflare Pages. Unfortunately wrangler's output for those is slightly different than the output from Pages, so the regex doesn't catch it to store in deployment-url.

Example of Wrangler's output:

```
Version Preview URL: https://an21s8iyi-worker-test.mydomain.workers.dev/
```

Without that, it's difficult to get access to the url in a version preview (it's available in the output, but its tough to capture it to use elsewhere in my GitHub action).

Contributor guide

Open the contributing guide

Research direction

Start by locating the regex that parses Wrangler and Pages output for deployment-url, then compare its expected format with the reported "Version Preview URL" line. Verify that a Cloudflare Workers version preview URL is captured and exposed through the GitHub Action's deployment-url output, using the repository's existing tests or workflow checks if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.