Commit Graph

12 Commits

Author SHA1 Message Date
Henry 54d507b8d7 fix(backend): bind the HTTP listener before startup recovery so health checks don't crash-loop (#2944)
Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
2026-08-24 19:35:07 +00:00
Carlos Florêncio 382bff3c3a fix(launcher): make startup health checks bind-aware (#2981) 2026-08-24 15:52:42 +00:00
Carlos Florêncio 33a8e71f6d fix: prevent orphaned desktop backends from holding locks (#2802) 2026-08-19 14:01:59 +01:00
Carlos Florêncio 2011edf485 fix(desktop): preserve nested health token ownership (#2538) 2026-08-11 23:28:02 +01:00
Carlos Florêncio 4e0c1a3705 feat(launcher): move make dev to the native Go launcher (#2411) 2026-08-10 18:14:45 +01:00
Carlos Florêncio 4f2cf8f9df fix: separate debug and development launch profiles (#2487) 2026-08-10 15:44:31 +01:00
Carlos Florêncio bf62f39b10 fix: harden launcher port ownership (#2394) 2026-08-07 23:32:04 +01:00
Carlos Florêncio 3f46da6645 fix(backend): harden office-disabled cron, title limits, and dead-runtime cleanup (#2206) 2026-08-03 15:11:58 +01:00
Carlos Florêncio 62d4522e0f feat: add file-backed diagnostic log bundles (#2087) 2026-08-02 20:14:53 +01:00
João Salavisa ec297626cd fix(backend): bound the launcher health probe with a timeout (#2017)
http.Get uses http.DefaultClient, which has no timeout and carries no
context. A backend that accepted the TCP connection but never responded
blocked waitForHealth forever, hanging the launcher with no way to
cancel it -- exactly what the suppressed noctx lint was warning about.

Probe through a package-level client with an explicit 2s timeout using
http.NewRequestWithContext, thread a context down from launcher.Run, and
drain each response body before closing so the connection is reused
across poll iterations. The overall wait now derives a deadline from the
caller's context, so cancellation ends it too.

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 22:42:00 +01:00
Carlos Florêncio 49c482bd4d fix: prevent leaked agent processes on shutdown (#1498) 2026-06-26 10:09:23 +01:00
Carlos Florêncio da45983c4c feat: add native kandev launcher (#1391) 2026-06-20 19:40:15 +01:00