diff --git a/src/gateway/config-reload.test.ts b/src/gateway/config-reload.test.ts index 3ad545855..79aeb414e 100644 --- a/src/gateway/config-reload.test.ts +++ b/src/gateway/config-reload.test.ts @@ -108,6 +108,12 @@ describe("buildGatewayReloadPlan", () => { expect(plan.noopPaths).toContain("gateway.remote.url"); }); + it("treats meta.lastTouchedAt as no-op", () => { + const plan = buildGatewayReloadPlan(["meta.lastTouchedAt"]); + expect(plan.restartGateway).toBe(false); + expect(plan.noopPaths).toContain("meta.lastTouchedAt"); + }); + it("defaults unknown paths to restart", () => { const plan = buildGatewayReloadPlan(["unknownField"]); expect(plan.restartGateway).toBe(true); diff --git a/src/gateway/config-reload.ts b/src/gateway/config-reload.ts index 8579dc4a0..c5fc4edb0 100644 --- a/src/gateway/config-reload.ts +++ b/src/gateway/config-reload.ts @@ -77,6 +77,7 @@ const BASE_RELOAD_RULES_TAIL: ReloadRule[] = [ { prefix: "session", kind: "none" }, { prefix: "talk", kind: "none" }, { prefix: "skills", kind: "none" }, + { prefix: "meta", kind: "none" }, { prefix: "plugins", kind: "restart" }, { prefix: "ui", kind: "none" }, { prefix: "gateway", kind: "restart" },