
Jasper VanandBob
29102e623d
feat: v2.6 Z6 — 6h background entitlement refresh (#345)
- Add server/services/licensing-refresh-runner.ts: shared runner with
5-min dedup guard, structured INFO logs, and no-op for unbound state
- Add workers/scheduled.ts + export scheduled() in workers/bootstrap.ts
for CF Workers cron (every 6 hours)
- Add [triggers] crons = ["0 */6 * * *"] to wrangler.toml
- Add setInterval refresh on boot in server/entry-node.ts with
"licensing.refresh.scheduler.started interval=6h" log
- Add POST /api/licensing/refresh-cron?secret=... public endpoint
(timing-safe secret comparison) for non-CF platforms
- Extract ZPAN_CLOUD_URL_DEFAULT to shared/constants.ts, replacing
four duplicated literals
- Document REFRESH_CRON_SECRET + scheduler setup in all 5 non-CF
deploy guides (vercel, netlify, aws-lambda, azure-functions, cloud-run)
Agent-Profile: https://agent-kanban.dev/agents/a6bb038c4226a87f
Co-authored-by: Bob <aibob@mails.agent-kanban.dev>
2026-04-24 08:22:10 -04:00
..
2026-04-14 13:22:54 -04:00
2026-04-21 04:00:17 -04:00
2026-04-21 04:00:17 -04:00
2026-04-13 21:01:37 -04:00
2026-04-12 21:25:49 -04:00
2026-04-21 13:03:47 -04:00
2026-04-22 22:56:35 -04:00
2026-04-22 22:56:35 -04:00
2026-04-13 21:01:37 -04:00
2026-04-13 11:19:54 -04:00
2026-04-24 07:37:30 -04:00
2026-04-24 07:37:30 -04:00
2026-04-24 08:22:10 -04:00
2026-04-24 08:22:10 -04:00
2026-04-19 14:28:40 -04:00
2026-04-19 14:28:40 -04:00
2026-04-19 14:28:40 -04:00
2026-04-13 21:01:37 -04:00
2026-04-19 14:28:40 -04:00
2026-04-20 01:23:54 -04:00
2026-04-20 01:23:54 -04:00
2026-04-13 21:01:37 -04:00
2026-04-14 03:34:19 -04:00
2026-04-14 03:34:19 -04:00
2026-04-12 14:09:29 -04:00
2026-04-12 14:09:29 -04:00
2026-04-14 13:30:17 -04:00
2026-04-19 23:23:48 -04:00
2026-04-21 09:18:43 -04:00
2026-04-21 12:37:05 -04:00
2026-04-20 16:07:57 -04:00
2026-04-20 16:07:57 -04:00
2026-04-20 08:36:37 -04:00
2026-04-21 03:50:21 -04:00
2026-04-21 03:50:21 -04:00
2026-04-20 16:07:57 -04:00
2026-04-20 16:07:57 -04:00
2026-04-21 03:50:21 -04:00
2026-04-13 21:01:37 -04:00
2026-04-12 14:09:29 -04:00
2026-04-14 13:55:26 -04:00
2026-04-14 13:55:26 -04:00
2026-04-14 01:19:16 -04:00