C3: Improve cron/scheduled template docs#5547
C3: Improve cron/scheduled template docs#5547petebacondarwin merged 2 commits intocloudflare:mainfrom
Conversation
🦋 Changeset detectedLatest commit: bc11264 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
jculvey
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the fix!
|
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/9097994504/npm-package-wrangler-5547You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5547/npm-package-wrangler-5547Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9097994504/npm-package-wrangler-5547 dev path/to/script.jsAdditional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9097994504/npm-package-create-cloudflare-5547 --no-auto-updatenpm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9097994504/npm-package-cloudflare-kv-asset-handler-5547npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9097994504/npm-package-miniflare-5547npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9097994504/npm-package-cloudflare-pages-shared-5547npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/9097994504/npm-package-cloudflare-vitest-pool-workers-5547Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5547 +/- ##
==========================================
- Coverage 72.44% 72.42% -0.03%
==========================================
Files 331 331
Lines 17298 17298
Branches 4422 4422
==========================================
- Hits 12532 12528 -4
- Misses 4766 4770 +4 |
96e04ce to
2e95e22
Compare
6e9ad49 to
541f5b6
Compare
541f5b6 to
9b044df
Compare
…d confusing error messages.
9b044df to
bc11264
Compare
What this PR solves / how to test
First time starting to do a scheduled worker locally so I use the template: get all obscure warnings and error messages as per #4720. Really not intuitive to the uninitiated. This doesn't solve that issue completely but should hopefully help.
https://developers.cloudflare.com/workers/runtime-apis/handlers/scheduled/
Fixes #4720, #4560
Author has addressed the following