From 4e6e3745f2a95c30cdc636ff0ab2290c359bde26 Mon Sep 17 00:00:00 2001 From: Molecule AI Backend Engineer Date: Fri, 17 Apr 2026 02:39:57 +0000 Subject: [PATCH] fix(issue-541): correct stale 429 comment to 402 in checkWorkspaceBudget Co-Authored-By: Claude Sonnet 4.6 --- platform/internal/handlers/a2a_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/internal/handlers/a2a_proxy.go b/platform/internal/handlers/a2a_proxy.go index b5778a30..f7664b22 100644 --- a/platform/internal/handlers/a2a_proxy.go +++ b/platform/internal/handlers/a2a_proxy.go @@ -203,7 +203,7 @@ func (h *WorkspaceHandler) ProxyA2A(c *gin.Context) { c.Data(status, "application/json", respBody) } -// checkWorkspaceBudget returns a proxyA2AError with 429 when the workspace +// checkWorkspaceBudget returns a proxyA2AError with 402 when the workspace // has a budget_limit set and monthly_spend has reached or exceeded it. // DB errors are logged and treated as fail-open — a budget check failure // must not block legitimate A2A traffic.