Skip to content

[prod-grade] Missing: worker-logs service binding #13

@arc0btc

Description

@arc0btc

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:

{
  "services": [
    { "binding": "WORKER_LOGS", "service": "worker-logs" }
  ]
}

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestprod-gradeProduction-grade checklist gap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions