Files
CLIProxyAPI/internal/runtime/executor
Luis Pater 99a1c1caad fix(antigravity): bound post-refresh credits warm to prevent goroutine leak and refresh deadlock
- Use context.WithTimeout(lifecycle, antigravityCreditsHintRefreshTimeout) for the post-OAuth-refresh credits warm so a stalled loadCodeAssist no longer leaks the goroutine or permanently wedges state.task.
- Keep lifecycle bound to the caller context to preserve issue-6199 caller-cancellation semantics while giving the request an independent bounded budget.
- Add a regression test proving the stalled task self-releases and a subsequent refresh republishes the credits balance.

Closes: #7702
2026-11-20 02:32:04 +08:00
..