-
Notifications
You must be signed in to change notification settings - Fork 552
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
update non-versioned script settings in versions deploy
#5366
Conversation
🦋 Changeset detectedLatest commit: 09481e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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/8439966721/npm-package-wrangler-5366 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5366/npm-package-wrangler-5366 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-wrangler-5366 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-create-cloudflare-5366 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-cloudflare-kv-asset-handler-5366 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-miniflare-5366 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-cloudflare-pages-shared-5366 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-cloudflare-vitest-pool-workers-5366 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
797bc98
to
bce0618
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5366 +/- ##
==========================================
+ Coverage 72.29% 72.39% +0.10%
==========================================
Files 318 320 +2
Lines 16458 16611 +153
Branches 4201 4250 +49
==========================================
+ Hits 11898 12026 +128
- Misses 4560 4585 +25
|
bc30e39
to
022ea32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Is this working around a bug in the create deployment API? Feels like these should be specified there for atomic updates.
It's not working around a bug. There are two settings that can't go in the version upload: "logpush" and "tail_consumers" – we're setting those on |
0450d0f
to
4f94496
Compare
+ add tests
4f94496
to
09481e3
Compare
What this PR solves / how to test
CR: https://jira.cfdata.org/browse/CR-850334
Adds a PATCH call after a
wrangler versions deploy
to save settings which could not be included inwrangler versions upload
but are specified in wrangler.toml and expected by users to be saved upon regularwrangler deploy
.Author has addressed the following