From 17f8a0670490f08d75107e423b3dc647eafe5768 Mon Sep 17 00:00:00 2001 From: sagit <36596628+Sagit-chu@users.noreply.github.com> Date: Wed, 18 Feb 2026 19:48:09 +0800 Subject: [PATCH] fix(tunnel): sync forwards to agents after tunnel update (#139) Co-authored-by: Antigravity --- go-backend/internal/http/handler/mutations.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go-backend/internal/http/handler/mutations.go b/go-backend/internal/http/handler/mutations.go index 2bd332f..815ab0d 100644 --- a/go-backend/internal/http/handler/mutations.go +++ b/go-backend/internal/http/handler/mutations.go @@ -696,6 +696,12 @@ func (h *Handler) tunnelUpdate(w http.ResponseWriter, r *http.Request) { } } + if forwards, fwdErr := h.listForwardsByTunnel(id); fwdErr == nil { + for i := range forwards { + _ = h.syncForwardServices(&forwards[i], "UpdateService", true) + } + } + response.WriteJSON(w, response.OKEmpty()) }