Files
botfights/server
DorianandClaude 10d4209675
CI / check (push) Failing after 6m6s
fix(bots): guard possibly-undefined route param, bump arena image to 1.2.11
tsc --noEmit (run standalone, not filtered through a shell wrapper that
silently swallowed the real exit code) caught what my own verification
missed the first time: c.req.param('name') is typed possibly-undefined
in this Hono router's inferred route map, and the podman build's own
`pnpm --filter server build` step (which runs the real tsc, unlike a
loosely-configured local check) failed on it — 1.2.10 was never
actually built with the :name/ai-config routes as a result. Added an
explicit guard (matches the 404 semantics of a missing param) to all
three new handlers.

Also bumps docker-compose.arena.yml to the 1.2.11 tag being built next.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-31 19:01:19 -04:00
..
2026-03-09 00:30:43 +00:00