Skip to content

fix: retry missing attestation hashes#101

Merged
DaniPopes merged 8 commits into
masterfrom
dani/attestation-diagnostics
Jul 10, 2026
Merged

fix: retry missing attestation hashes#101
DaniPopes merged 8 commits into
masterfrom
dani/attestation-diagnostics

Conversation

@DaniPopes

Copy link
Copy Markdown
Member

This makes foundryup treat an attestation payload that is missing hashes for the configured binaries as a retryable semantic failure, using the same FOUNDRYUP_MAX_RETRIES setting as HTTP retries. If the payload remains unusable, the error now reports which binary hashes were missing and which attestation subjects were present.

It also accepts path-shaped attestation subjects by matching the final path component, so attestations that include target paths can still verify the installed binary names.

@DaniPopes DaniPopes enabled auto-merge (squash) July 9, 2026 17:49
Comment thread src/install.rs Outdated
Comment thread src/install.rs Outdated
Comment thread src/install.rs

@mablr mablr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaniPopes DaniPopes merged commit c4fba93 into master Jul 10, 2026
12 checks passed
@DaniPopes DaniPopes deleted the dani/attestation-diagnostics branch July 10, 2026 13:31
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.

4 participants