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-5366You 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-5366Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-wrangler-5366 dev path/to/script.jsAdditional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-create-cloudflare-5366 --no-auto-updatenpm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-cloudflare-kv-asset-handler-5366npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-miniflare-5366npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-cloudflare-pages-shared-5366npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8439966721/npm-package-cloudflare-vitest-pool-workers-5366Note 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
mrbbot
left a comment
There was a problem hiding this comment.
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 deployto save settings which could not be included inwrangler versions uploadbut are specified in wrangler.toml and expected by users to be saved upon regularwrangler deploy.Author has addressed the following