Skip to content

Disable stable checkpoint by default #2487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

haydentherapper
Copy link
Contributor

The current default setting means that deployers are required to spin up a Redis instance alongside Rekor. With this now disabled by default, deployers can choose whether they actually want to use stable checkpoints.

I'm also tempted to remove the stable checkpoint feature entirely because I'm not sure anyone uses it in the intended way to enable witnessing, but since it's not supported in Rekor v2, I'll leave this as-is to avoid a breaking change.

Summary

Release Note

Documentation

The current default setting means that deployers are required to spin up
a Redis instance alongside Rekor. With this now disabled by default,
deployers can choose whether they actually want to use stable
checkpoints.

I'm also tempted to remove the stable checkpoint feature entirely
because I'm not sure anyone uses it in the intended way to enable
witnessing, but since it's not supported in Rekor v2, I'll leave this
as-is to avoid a breaking change.

Signed-off-by: Hayden B <[email protected]>
@haydentherapper haydentherapper requested a review from a team as a code owner May 23, 2025 20:17
Copy link

codecov bot commented May 23, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 16.37%. Comparing base (488eb97) to head (ef6d8fa).
Report is 409 commits behind head on main.

Files with missing lines Patch % Lines
cmd/rekor-server/app/root.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2487       +/-   ##
===========================================
- Coverage   66.46%   16.37%   -50.09%     
===========================================
  Files          92      191       +99     
  Lines        9258    24789    +15531     
===========================================
- Hits         6153     4060     -2093     
- Misses       2359    20323    +17964     
+ Partials      746      406      -340     
Flag Coverage Δ
e2etests ?
unittests 16.37% <0.00%> (-31.31%) ⬇️

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.

@haydentherapper haydentherapper marked this pull request as draft May 23, 2025 22:33
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