* Nightly (00:30 UTC, see wrangler.jsonc): roll the completed day up into the * daily_* tables and purge raw events past the retention window. Awaited rather * than backgrounded so a failure marks the cron run failed — everything it does is * an idempotent upsert or a bounded delete, so the
(event, env)
| 356 | * an idempotent upsert or a bounded delete, so the retry is safe. |
| 357 | */ |
| 358 | async scheduled(event, env): Promise<void> { |
| 359 | await runNightly(env, event.scheduledTime); |
| 360 | }, |
| 361 | } satisfies ExportedHandler<Env>; |
nothing calls this directly
no test coverage detected