




















@@ -214,7 +214,6 @@ describe("buildGatewayReloadPlan", () => {
214214);
215215expect(expected.size).toBeGreaterThan(0);
216216expect(plan.restartChannels).toEqual(expected);
217-expect(plan.planPluginRuntimeDeps).toBe(true);
218217});
219218220219it("refreshes channel reload rules when only the tracked channel registry changes", () => {
@@ -241,7 +240,6 @@ describe("buildGatewayReloadPlan", () => {
241240]);
242241expect(plan.restartGateway).toBe(false);
243242expect(plan.restartHeartbeat).toBe(true);
244-expect(plan.planPluginRuntimeDeps).toBe(true);
245243expect(plan.hotReasons).toEqual(
246244expect.arrayContaining(["models.providers.openai.models", "agents.defaults.model"]),
247245);
@@ -259,7 +257,6 @@ describe("buildGatewayReloadPlan", () => {
259257const plan = buildGatewayReloadPlan(["agents.defaults.models"]);
260258expect(plan.restartGateway).toBe(false);
261259expect(plan.restartHeartbeat).toBe(true);
262-expect(plan.planPluginRuntimeDeps).toBe(true);
263260expect(plan.hotReasons).toContain("agents.defaults.models");
264261expect(plan.noopPaths).toEqual([]);
265262});
@@ -268,7 +265,6 @@ describe("buildGatewayReloadPlan", () => {
268265const plan = buildGatewayReloadPlan(["agents.list"]);
269266expect(plan.restartGateway).toBe(false);
270267expect(plan.restartHeartbeat).toBe(true);
271-expect(plan.planPluginRuntimeDeps).toBe(true);
272268expect(plan.hotReasons).toContain("agents.list");
273269expect(plan.noopPaths).toEqual([]);
274270});
@@ -279,7 +275,6 @@ describe("buildGatewayReloadPlan", () => {
279275"plugins.installs.lossless-claw.installedAt",
280276]);
281277expect(plan.restartGateway).toBe(false);
282-expect(plan.planPluginRuntimeDeps).toBe(false);
283278expect(plan.noopPaths).toEqual([
284279"plugins.installs.lossless-claw.resolvedAt",
285280"plugins.installs.lossless-claw.installedAt",
@@ -351,7 +346,6 @@ describe("buildGatewayReloadPlan", () => {
351346it("treats secrets config changes as no-op for gateway restart planning", () => {
352347const plan = buildGatewayReloadPlan(["secrets.providers.default.path"]);
353348expect(plan.restartGateway).toBe(false);
354-expect(plan.planPluginRuntimeDeps).toBe(false);
355349expect(plan.noopPaths).toContain("secrets.providers.default.path");
356350});
357351此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。