Skip to content

Skip mirror SHASUM when local_install_only - #21

Merged
coreybutler merged 1 commit into
mainfrom
fix/local-only-skip-mirror
Oct 27, 2026
Merged

coreybutler merged 1 commit into
mainfrom
fix/local-only-skip-mirror

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

What

  • When local_install_only is on, skip live mirror SHASUM fetches for a staged archive.

Why

After exact-version catalog skip, Community air-gap installs still downloaded SHASUMS256.txt. That second network call failed the same hosts. Trust the staged archive the same way machine-policy LocalInstallDir already does.

Testing

  • TestVerifyCachedNodeArchiveIntegrityLocalOnlySkipsMirror
  • TestCLIInstallLocalOnlyMissingArchive now asserts zero catalog HTTP hits
  • Existing local SHASUM, trusted-policy, and online mirror SHASUM tests

Risk

Low. Online installs still verify via mirror SHASUM. A bad local SHASUM sidecar still fails closed.

Local-only installs must not fetch SHASUMS256.txt after resolving an exact version from a staged archive.

Signed-off-by: Corey Butler <[email protected]>
@coreybutler
coreybutler merged commit 55a4c66 into main Oct 27, 2026
9 of 10 checks passed
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