Skip to content

docs(install): download published .gz CLI binaries with atomic SHA-256 verification on Windows - #1017

Merged
slayerjain merged 5 commits into
mainfrom
fix/cli-download-gz
Nov 28, 2026
Merged

slayerjain merged 5 commits into
mainfrom
fix/cli-download-gz

Conversation

@slayerjain

Copy link
Copy Markdown
Member

Summary

Updates CLI installation docs to download the published .gz binaries (cutting ~232 MB per install) across Windows PowerShell snippets, manual Linux/macOS download commands, and HowTo JSON-LD metadata. Companion to https://github.com/keploy/enterprise/pull/3611.

Changes

  • Windows PowerShell snippets (installation/windows.md, keploy-explained/dev-guide.md, server/installation_tabs.md, server/windows/installation.md — kept byte-identical):
    • Sets $ErrorActionPreference = 'Stop', resolves the release version from latest/release.txt, downloads versioned enterprise_windows_amd64.exe.gz + enterprise_${ver}_checksums.txt, decompresses to keploy.exe.new, verifies SHA-256 via Get-FileHash, unblocks, atomically replaces via Move-Item -Force, and disposes all streams and removes .gz/.new temp files in finally so a failed/truncated/corrupt download or locked running binary never destroys an existing keploy.exe.
  • Linux/macOS manual downloads & HowTo JSON-LD (concepts/installation.md, server/installation.md, server/windows/installation.md):
    • Updated remaining raw binary URLs to .gz with decompression.

Verification

  • Live Windows VM test matrix (both Windows PowerShell 5.1.26100 and PowerShell 7.4.6): 6/6 cases PASS (fresh live CDN install Keploy 3.9.27, HTTP 404, truncated .gz, corrupt .gz, running keploy.exe, and valid update).
  • Prettier, yarn build (Docusaurus), and all 5 docs verification scripts (verify-linkedin-tag, verify-schema-graph, verify-lastmod, verify-ui-capture-sdk-links, verify-moved-urls): PASS.

…n on Windows

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
…ate, add snippet test

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
…-in .NET APIs

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
…et test width-independent

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
… clean up immediately

Signed-off-by: slayerjain <shubhamkjain@outlook.com>
@slayerjain
slayerjain marked this pull request as ready for review November 28, 2026 11:48
@slayerjain
slayerjain merged commit e7cc394 into main Nov 28, 2026
8 checks passed
@slayerjain
slayerjain deleted the fix/cli-download-gz branch November 28, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant