You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix cron trigger documentation links and inline testing instructions (#11139)
* fix: update cron trigger docs links and inline testing instructions
- Updated documentation links to point to the correct cron triggers page
- Inlined instructions for testing cron triggers locally in the error message
- Users now see the curl command directly in the warning instead of having to click through to docs
Co-Authored-By: Steve Faulkner <southpolesteve@gmail.com>
* Address PR feedback: remove Miniflare reference from warning message
Changed 'Miniflare does not currently trigger scheduled Workers automatically' to 'Scheduled Workers are not automatically triggered during local development' to make the message more user-friendly and avoid referencing internal implementation details.
Co-Authored-By: Steve Faulkner <southpolesteve@gmail.com>
* Address PR feedback: update endpoint, use logger.once.warn, and improve messaging
- Update curl endpoint from /cdn-cgi/mf/scheduled to /cdn-cgi/handler/scheduled
- Replace manual didWarnMiniflareCronSupport flag with logger.once.warn()
- Remove 'wrangler dev --local' recommendation since warning appears during dev
- Make host/port dynamic using config.initialIp and config.initialPort
- Handle IPv6 addresses with brackets and 0.0.0.0/:: as localhost
- Update template files to use new endpoint and remove --local flag
Co-Authored-By: Steve Faulkner <southpolesteve@gmail.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
"Miniflare does not currently trigger scheduled Workers automatically.\nRefer to https://developers.cloudflare.com/workers/configuration/cron-triggers/#test-cron-triggers for more details "
0 commit comments