Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

fix: graceful handling of failures during sigstore init#1302

Merged
flavio merged 3 commits intokubewarden:mainfrom
flavio:graceful-handling-of-failures-during-sigstore-init
Oct 13, 2025
Merged

fix: graceful handling of failures during sigstore init#1302
flavio merged 3 commits intokubewarden:mainfrom
flavio:graceful-handling-of-failures-during-sigstore-init

Conversation

@flavio
Copy link
Copy Markdown
Member

@flavio flavio commented Oct 13, 2025

This PR implements graceful handling of Sigstore init failures. Policy Server will no longer panic when something is wrong with Sigstore's TUF repository, it will simply inform the user that verification capabilities are not going to work at thei full potential.

This is required to fix issue #1300.

Once merged, we can tag a patch release of Policy Server.

We will investigate the TUF issue without leaving our users with a broken system.

Do not crash when Sigstore initialization fails.

Fixes kubewarden#1300

Signed-off-by: Flavio Castelli <[email protected]>
We need to tag a patch release of Policy Server, but one of our tests
fails because of a Sigstore issue.

Temporarily skip the broken test to allow a quick patch release.

Signed-off-by: Flavio Castelli <[email protected]>
Prepare the 1.29.1 patch release that addresses issue kubewarden#1300

Signed-off-by: Flavio Castelli <[email protected]>
@flavio flavio requested a review from a team as a code owner October 13, 2025 09:04
@flavio flavio changed the title graceful handling of failures during sigstore init fix: graceful handling of failures during sigstore init Oct 13, 2025
@flavio flavio self-assigned this Oct 13, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 13, 2025

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.55%. Comparing base (28152ae) to head (b2d6f5a).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/lib.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1302      +/-   ##
==========================================
- Coverage   51.60%   50.55%   -1.06%     
==========================================
  Files          17       17              
  Lines        1087     1090       +3     
==========================================
- Hits          561      551      -10     
- Misses        526      539      +13     
Flag Coverage Δ
integration-tests 46.84% <0.00%> (-0.52%) ⬇️
unit-tests 25.78% <0.00%> (-0.84%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@flavio flavio merged commit ffd07b4 into kubewarden:main Oct 13, 2025
14 of 16 checks passed
@github-project-automation github-project-automation bot moved this from Pending review to Done in Kubewarden Admission Controller Oct 13, 2025
@flavio flavio deleted the graceful-handling-of-failures-during-sigstore-init branch October 13, 2025 09:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Development

Successfully merging this pull request may close these issues.

2 participants