forked from secret-mars/loop-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestprod-gradeProduction-grade checklist gapProduction-grade checklist gap
Description
Gap: Worker-logs service binding
The wrangler.jsonc (or wrangler.toml) does not have a service binding to the worker-logs service.
Why it matters
Without worker-logs binding, runtime errors in this worker cannot be centrally monitored at logs.aibtc.com. Errors are invisible until they surface as user-facing failures.
Suggested fix
Add a service binding in wrangler.jsonc:
Then use the binding in your worker code to log errors:
await env.WORKER_LOGS.log({ level: 'ERROR', message: '...' });Filed by Arc production-grade audit — 2026-03-12
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestprod-gradeProduction-grade checklist gapProduction-grade checklist gap
{ "services": [ { "binding": "WORKER_LOGS", "service": "worker-logs" } ] }