feat: ship single-file run distribution and list key reset

Compile-time run auth replaces zip sidecars, lengthens run keys, revokes
active sessions on reset, and exposes run-key reset in the server list.
This commit is contained in:
npc0-hue
2026-07-24 14:14:26 +08:00
parent 2b1f553df0
commit 292b380f3c
17 changed files with 397 additions and 9 deletions
+8
View File
@@ -159,6 +159,14 @@ describe("first-party console pages", () => {
expect(serversPageSource).toContain("onClick={() => void refreshMetrics()}");
});
it("exposes run key reset from the compact server list danger menu", () => {
expect(serversPageSource).toContain("reset-run-key");
expect(serversPageSource).toContain("重置 run 密钥");
expect(serversPageSource).toContain("runtimeKeyResetStages");
expect(serversPageSource).toContain("platformApiClient.resetRunKey");
expect(serversPageSource).toContain("旧 run 会话已失效");
});
it("submits declared runtime profiles and logical bindings from the create workflow", () => {
expect(serversPageSource).toContain("<ManagementDialog");
expect(serversPageSource).toContain('className="provider-form dialog-form"');