Skip to content

installer pins: make the first pin PR pass CI (#1620) - #1644

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/installer-pins-gates
Nov 15, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/installer-pins-gates

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Part of #1620. Unblocks #1643.

The first installer-pins.yml run (#1643) failed three CI checks. None of them could fire while the pins were empty:

  • TestEveryGeneratedScriptS3HostIsRegional: the pinned SSM agent download tries the launch region's bucket first, then amazon-ssm-us-east-1, where a new release lands first. s3hosts.Check rejected the second one. It is now a named, documented fallback (SSMAgentFallbackBucket), exactly like FallbackBucket. The gate also renders the pinned download form directly, so an empty compiled pin no longer hides it. Seen failing without the s3hosts change.
  • TestDCVInstallsOnlyVerifiedPackages: its stubs can't produce the real key's fingerprints or the real tarball's sha256. It now runs the unpinned path explicitly; the pinned path already has its own test.
  • gitleaks: the DCV key's public fingerprint matched generic-api-key. It is allowlisted by exact line and value, the same form as the AWS CLI and EFA key fingerprints.

With #1643's commit cherry-picked on top: go test -short ./... passes, and local gitleaks reports no leaks.

…e regional-S3 gate; test the unpinned DCV path explicitly; allowlist the DCV key fingerprint (#1620)
@scttfrdmn scttfrdmn added this to the Hardening milestone Nov 15, 2026
@codecov

codecov Bot commented Nov 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit 2a2602c into main Nov 15, 2026
9 checks passed
@scttfrdmn
scttfrdmn deleted the fix/installer-pins-gates branch November 15, 2026 05:01
@scttfrdmn scttfrdmn mentioned this pull request Nov 16, 2026
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