Repository navigation
Resume partial release drafts from verified existing artifacts - #593
waveywaves wants to merge 13 commits into
Conversation
Recognize DSSE provenance entries and fail when no provenance can be found instead of substituting an image-signature entry. Pin the shared release task with corrected attestation instructions. Depends on tektoncd/plumbing#3807. Assisted-by: OmO Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Check metadata, bucket copies, image platforms and signed provenance before retaining immutable verification receipts. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Remove latest inputs and publication paths; reject legacy promotion before side effects and verify the shipped guard during release configuration checks. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Install the immutable manifest and image, require webhook mutation, admission and PipelineRun success, and retain diagnostics while cleaning only the owned cluster. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Use PipelineRunPending from the actual admission response and reject the incorrect Pending value in the deterministic boundary test. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Verify the exact candidate and smoke its published artifacts before optional latest promotion. Bind repaired provenance notes to verified payloads and retain publication state during repair. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Watch old Pod deletion and the Service endpoint switch after rollout instead of relying only on Deployment availability. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Print candidate identifiers without Markdown command delimiters so the required workflow shell lint accepts the summary. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Verify the signed versioned bundle before restoring only missing draft assets; reject conflicting source and bytes. Wire authenticated preflight and retain all existing build evidence. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #593 +/- ##
===========================================
+ Coverage 55.69% 73.81% +18.12%
===========================================
Files 16 16
Lines 1203 1203
===========================================
+ Hits 670 888 +218
+ Misses 497 253 -244
- Partials 36 62 +26
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Peel existing tags and fail on source conflicts or lookup errors. Permit missing tags only for candidates that have not been published. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Append the attestation boundary so a finalized recovery draft can be repaired repeatedly without losing its generated notes. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Reuse the verifier tag check before promotion and after publishing, and reject a tag changed during candidate checks. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Use the same checked tag lookup for recovery, artifact verification and finalization instead of retaining a separate implementation. Assisted-by: OpenAI Signed-off-by: Vibhav Bobade <vibhav.bobde@gmail.com>
Changes
Resume a missing or partial release draft from existing signed artifacts,
instead of deleting partial state or rebuilding the same version.
image digest and independently configured signing key before any mutation.
actual
tekton-robotrepository access.reject published releases, ambiguous state and conflicting attachments.
assets, and upload only missing verified files without clobbering.
to the separately approved finalization workflow.
paths reject conflicting lightweight and annotated tags consistently.
versioned container image as well as tags, drafts and all three bucket files.
Incomplete or unsigned bundles fail closed: recovery does not invent missing
artifacts or signatures. The existing builder state must be preserved in that
case.
Deterministic regression suites cover recovery, trust and conflict boundaries.
All 30 recovery, 83 verifier and 23 finalization cases pass, including repeated
repair of recovery-generated notes.
The bucket verification mode also passed against the actual public v0.4.3
artifacts and signatures; the QA key is not a production trust bootstrap.
No live recovery, publication, promotion or infrastructure apply ran.
Dependencies: merge #592 and tektoncd/plumbing#3809 first. Provision the
approval environment and independent signing trust from
tektoncd/plumbing#3808 before running recovery.
/kind feature
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes