GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor(web): remove unused server update guidance · pingdotgg/t3code@395b12c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src
    • versionSkew.test.ts
    • versionSkew.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/web/src/versionSkew.test.ts‎

Copy file name to clipboardExpand all lines: apps/web/src/versionSkew.test.ts
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
resolveServerConfigVersionMismatch,
1818
resolveServerSelfUpdateCapability,
1919
resolveVersionMismatch,
20-
serverUpdateGuidance,
2120
supportsDesktopAppUpdate,
2221
} from "./versionSkew";
2322

@@ -236,9 +235,4 @@ describe("versionSkew", () => {
236235
expect(supportsDesktopAppUpdate(descriptor())).toBe(false);
237236
expect(supportsDesktopAppUpdate(null)).toBe(false);
238237
});
239-
240-
it("matches version-drift guidance to the advertised update path", () => {
241-
expect(serverUpdateGuidance("respawn")).toBe("Update to stay in sync");
242-
expect(serverUpdateGuidance("desktop-managed")).toBe("Update the desktop app");
243-
});
244238
});
Collapse file

‎apps/web/src/versionSkew.ts‎

Copy file name to clipboardExpand all lines: apps/web/src/versionSkew.ts
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,6 @@ export function manualServerUpdateCommand(
114114
return `${runner} t3@${targetVersion}`;
115115
}
116116

117-
export function serverUpdateGuidance(capability: ServerSelfUpdateCapability): string {
118-
return capability === "desktop-managed" ? "Update the desktop app" : "Update to stay in sync";
119-
}
120-
121117
export function buildVersionMismatchDismissalKey(
122118
environmentId: EnvironmentId,
123119
mismatch: Pick<VersionMismatch, "clientVersion" | "serverVersion">,

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.