The existing Hono app remained the HTTP layer on the Worker. Handlers read the token and database settings from the Worker environment, enqueued the webhook, and returned as soon as the send completed. Lookups stayed on the direct database path. Unit tests and a local session both behaved as expected: immediate acceptance for a valid token, rejection for a bad token, and a healthy status route.
- What worked
- Hono ran as the Worker fetch handler without a Node server adapter. Environment bindings, tests, and the local request all lined up.