mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-30 17:14:40 +08:00
280c1176b9
The auth mode probes every protected route with valid credentials to prove the route accepts them. Two routes intentionally block after a valid request: tui.control.next waits for queued TUI input, and instance.reload can outlive the one second probe. The probe won by timeout, marked the scenario passed, and left the request alive inside the cached web handler. Final disposeApps() then waited for those requests forever, so any run that rebuilt the app (cold turbo cache) never exited and CI cancelled the job at 15 minutes. Add a scenario flag that keeps the missing-credentials check (the route must still return 401) but skips the valid-credential probe for routes whose valid requests intentionally block, and mark tui.control.next and instance.reload with it.