Skip to content

Retry pushing attestations and publish the VSA first - #480

Merged
puerco merged 1 commit into
slsa-framework:mainfrom
puerco:att-consistency
Nov 22, 2026
Merged

puerco merged 1 commit into
slsa-framework:mainfrom
puerco:att-consistency

Conversation

@puerco

@puerco puerco commented Nov 22, 2026

Copy link
Copy Markdown
Member

The provenance of a revision now states that its VSA exists, so we need to make sure both get published.

Each configured store is now retried on its own up to three times with a doubling wait. A store that already has the attestations is never written again because another one failed, and when a store reports the envelopes it could not take only those are sent again. Access errors and cancelled contexts are not retried.

VSAs are pushed before the provenance. Stores that upload one envelope at a time, such as the GitHub attestations store, can fail between the two. Publishing the VSA first means a partial failure never leaves a provenance pointing to a VSA that was not published.

The provenance of a revision now states that its VSA exists, so we need
to make sure both get published.

Each configured store is now retried on its own up to three times with
a doubling wait. A store that already has the attestations is never
written again because another one failed, and when a store reports the
envelopes it could not take only those are sent again. Access errors
and cancelled contexts are not retried.

VSAs are pushed before the provenance. Stores that upload one envelope
at a time, such as the GitHub attestations store, can fail between the
two. Publishing the VSA first means a partial failure never leaves a
provenance pointing to a VSA that was not published.

Signed-off-by: Adolfo Garcia Veytia (puerco) <puerco@carabiner.dev>
@puerco
puerco merged commit 761130f into slsa-framework:main Nov 22, 2026
7 checks passed
@puerco
puerco deleted the att-consistency branch November 22, 2026 19:02
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