-
Notifications
You must be signed in to change notification settings - Fork 1k
fix: setting triggers.crons:[] in Wrangler config should delete deployed cron schedules #9266
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
Conversation
🦋 Changeset detectedLatest commit: a27875f 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 |
|
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the Depending on your changes, running |
|
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/15071947758/npm-package-wrangler-9266Prereleases for other packages:
wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-workers-bindings-extension-9266 -O ./cloudflare-workers-bindings-extension.0.0.0-vf635504a4.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-vf635504a4.vsix
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-create-cloudflare-9266 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-kv-asset-handler-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-miniflare-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-pages-shared-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-unenv-preset-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-vite-plugin-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-vitest-pool-workers-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-workers-editor-shared-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-workers-shared-9266
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15071947758/npm-package-cloudflare-workflows-shared-9266Note that these links will no longer work once the GitHub Actions artifact expires. |
0e860ce to
c9b440c
Compare
8d25ded to
14e67b4
Compare
vicb
left a comment
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.
Thanks!
Previously there were occasionally flakes where the module appeared to be unmocked when it was still supposed to be mocked.
…yed cron schedules
14e67b4 to
a27875f
Compare
…g should delete deployed cron schedules (#9267) * test: tighten up metrics module mocking Previously there were occasionally flakes where the module appeared to be unmocked when it was still supposed to be mocked. * fix: setting triggers.crons:[] in Wrangler config should delete deployed cron schedules --------- Co-authored-by: Peter Bacon Darwin <[email protected]>
Fixes #9180
Previously if the array was empty it would just not touch the deployed schedules.
Providing either
triggers: { crons: undefined }or notriggersproperty in your Wrangler configuration will continue to leave the deployed schedules untouched.