chore(shared): bump managed cloudflared to 2026.10.0 (#11184)
Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c377d1ca17
commit
af3d842a00
2 files changed
+25
-25
No files matched your search
@@ -17,24 +17,24 @@ describe("relay client install dialog coordinator", () => {
|
||||
});
|
||||
|
||||
it("moves a confirmed installation through streamed progress stages", async () => {
|
||||
const confirmation = requestRelayClientInstallConfirmation("2026.5.2");
|
||||
const confirmation = requestRelayClientInstallConfirmation("2026.10.0");
|
||||
expect(readRelayClientInstallDialogState()).toEqual({
|
||||
status: "confirming",
|
||||
version: "2026.5.2",
|
||||
version: "2026.10.0",
|
||||
});
|
||||
|
||||
respondToRelayClientInstallConfirmation(true);
|
||||
await expect(confirmation).resolves.toBe(true);
|
||||
expect(readRelayClientInstallDialogState()).toEqual({
|
||||
status: "installing",
|
||||
version: "2026.5.2",
|
||||
version: "2026.10.0",
|
||||
stage: "checking",
|
||||
});
|
||||
|
||||
reportRelayClientInstallProgress({ type: "progress", stage: "downloading" });
|
||||
expect(readRelayClientInstallDialogState()).toEqual({
|
||||
status: "installing",
|
||||
version: "2026.5.2",
|
||||
version: "2026.10.0",
|
||||
stage: "downloading",
|
||||
});
|
||||
|
||||
@@ -43,7 +43,7 @@ describe("relay client install dialog coordinator", () => {
|
||||
status: "closing",
|
||||
view: {
|
||||
status: "installing",
|
||||
version: "2026.5.2",
|
||||
version: "2026.10.0",
|
||||
stage: "downloading",
|
||||
},
|
||||
});
|
||||
@@ -53,7 +53,7 @@ describe("relay client install dialog coordinator", () => {
|
||||
});
|
||||
|
||||
it("returns to idle when installation is declined", async () => {
|
||||
const confirmation = requestRelayClientInstallConfirmation("2026.5.2");
|
||||
const confirmation = requestRelayClientInstallConfirmation("2026.10.0");
|
||||
respondToRelayClientInstallConfirmation(false);
|
||||
|
||||
await expect(confirmation).resolves.toBe(false);
|
||||
@@ -61,7 +61,7 @@ describe("relay client install dialog coordinator", () => {
|
||||
status: "closing",
|
||||
view: {
|
||||
status: "confirming",
|
||||
version: "2026.5.2",
|
||||
version: "2026.10.0",
|
||||
},
|
||||
});
|
||||
|
||||
@@ -70,26 +70,26 @@ describe("relay client install dialog coordinator", () => {
|
||||
});
|
||||
|
||||
it("rejects concurrent confirmation with the active install state", async () => {
|
||||
const confirmation = requestRelayClientInstallConfirmation("2026.5.2");
|
||||
const confirmation = requestRelayClientInstallConfirmation("2026.10.0");
|
||||
respondToRelayClientInstallConfirmation(true);
|
||||
await expect(confirmation).resolves.toBe(true);
|
||||
reportRelayClientInstallProgress({ type: "progress", stage: "downloading" });
|
||||
|
||||
const error = await requestRelayClientInstallConfirmation("2026.6.0").then(
|
||||
const error = await requestRelayClientInstallConfirmation("2026.11.0").then(
|
||||
() => undefined,
|
||||
(cause: unknown) => cause,
|
||||
);
|
||||
|
||||
expect(error).toBeInstanceOf(RelayClientInstallConfirmationConflictError);
|
||||
expect(error).toMatchObject({
|
||||
requestedVersion: "2026.6.0",
|
||||
activeVersion: "2026.5.2",
|
||||
requestedVersion: "2026.11.0",
|
||||
activeVersion: "2026.10.0",
|
||||
activeDialogStatus: "installing",
|
||||
activeInstallStage: "downloading",
|
||||
});
|
||||
expect(error).not.toHaveProperty("cause");
|
||||
expect((error as Error).message).toBe(
|
||||
"Cannot confirm relay client installation 2026.6.0; installation 2026.5.2 has dialog status installing.",
|
||||
"Cannot confirm relay client installation 2026.11.0; installation 2026.10.0 has dialog status installing.",
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -23,7 +23,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
||||
import { ChildProcess, ChildProcessSpawner } from "effect/process";
|
||||
import { HostProcessArchitecture, HostProcessPlatform } from "./hostProcess.ts";
|
||||
|
||||
export const CLOUDFLARED_VERSION = "2026.5.2";
|
||||
export const CLOUDFLARED_VERSION = "2026.10.0";
|
||||
// The oldest release that accepts every flag the connector is started with
|
||||
// (`--output` arrived in 2025.6.1). Override, PATH, and older managed binaries
|
||||
// below it are skipped, since they exit immediately on the unknown flag.
|
||||
@@ -80,34 +80,34 @@ const CLOUDFLARED_RELEASE_ASSETS: Readonly<
|
||||
Partial<Record<`${NodeJS.Platform}-${string}`, CloudflaredReleaseAsset>>
|
||||
> = {
|
||||
"darwin-arm64": {
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.5.2/cloudflared-darwin-arm64.tgz",
|
||||
sha256: "ba94054c9fd4297645093d59d51442e5e546d07bb0516120e694a13d5b216d38",
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.10.0/cloudflared-darwin-arm64.tgz",
|
||||
sha256: "a2f79ff7b9420aa537d74af239f376da170bbabeb529aec416002adac6a72e70",
|
||||
archive: "tgz",
|
||||
},
|
||||
"darwin-x64": {
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.5.2/cloudflared-darwin-amd64.tgz",
|
||||
sha256: "7240f709506bc2c1eb9da4d89cf2555499c60280ecb854b7d80e8f17d4b7903d",
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.10.0/cloudflared-darwin-amd64.tgz",
|
||||
sha256: "903845b81828c8cb3c5d13d816a2de71c06a3da5785469df8eb0e1b736d92f9f",
|
||||
archive: "tgz",
|
||||
},
|
||||
"linux-arm64": {
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.5.2/cloudflared-linux-arm64",
|
||||
sha256: "5a4e8ce2701105271412059f44b6a0bf1ae4542b4d98ff3180c0c019443a5815",
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.10.0/cloudflared-linux-arm64",
|
||||
sha256: "e6422b9d4f72d3194bc5a38676f13667c06666523217b842a877d72a80b5ac08",
|
||||
archive: "binary",
|
||||
},
|
||||
"linux-x64": {
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.5.2/cloudflared-linux-amd64",
|
||||
sha256: "5286698547f03df745adb2355f04c12dde52ef425491e81f433642d695521886",
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.10.0/cloudflared-linux-amd64",
|
||||
sha256: "d33ff2d14475178d2012c2c56beba87389ac5ded27649519f198a7d3134a99db",
|
||||
archive: "binary",
|
||||
},
|
||||
"win32-x64": {
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.5.2/cloudflared-windows-amd64.exe",
|
||||
sha256: "20b9638f685333d623798e733effbad2487093f15ba592f6c7752360ff3b7ab7",
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.10.0/cloudflared-windows-amd64.exe",
|
||||
sha256: "86aee4017b26625cee8484c113558f48effa4cd47f7aa05fcf425604e5d2b23c",
|
||||
archive: "binary",
|
||||
},
|
||||
// Cloudflare publishes no Windows ARM64 build; Windows 11 on ARM runs x64 under emulation.
|
||||
"win32-arm64": {
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.5.2/cloudflared-windows-amd64.exe",
|
||||
sha256: "20b9638f685333d623798e733effbad2487093f15ba592f6c7752360ff3b7ab7",
|
||||
url: "https://github.com/cloudflare/cloudflared/releases/download/2026.10.0/cloudflared-windows-amd64.exe",
|
||||
sha256: "86aee4017b26625cee8484c113558f48effa4cd47f7aa05fcf425604e5d2b23c",
|
||||
archive: "binary",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user