Middleware chain panics with index out of range when no middlewares provided
Middleware chain panics with index out of range when no middlewares provided: a task in harness-adapters: Agentic coding environments (Harbor dataset). When creating routes without any middlewares, the application panics with "runtime error: index out of range 1 with length 0". This happens during…
The task
When creating routes without any middlewares, the application panics with "runtime error: index out of range [1] with length 0". This happens during route registration and makes it impossible to create simple routes without middleware.
Part of harness-hub/harness-adapters.