2 months ago
f12fe28d0863c5 ("feat(ui): cleanup") rewrote webhooks.ts back to a single static
/webhooks/github route, dropping the registry 54473bf had added one commit
earlier. POST /webhooks/opengit returned 404, so every open-git delivery was
discarded at the edge and no open-git event could ever be ingested.
Restored verbatim, keeping that commit's OPENGIT_* -> OPEN_GIT_* env rename:
the secret now reads OPEN_GIT_BOT_WEBHOOK_SECRET, matching .env.example.
The registry is the safer shape and is why this is a restore, not a rewrite:
:forge is parsed with forgeSchema so an unknown value 404s before the body is
read, and Record<Forge, ForgeWebhook> fails to compile until a new forge has a
verifier. An unset secret 503s, never 'accept everything'.Parent1884423