Skip to content

Be consistent about that finding no key in the provider is a success #416

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

jeltz
Copy link
Collaborator

@jeltz jeltz commented Jun 10, 2025

All different provider types except Vault treated finding no key as SUCCESS but with NULL as the key. Let's do this for Vault too which slightly simplifies the callers which used to have to understand both ways to handle a key not existing.

@jeltz jeltz requested review from dutow and dAdAbird as code owners June 10, 2025 14:33
All different provider types except Vault treated finding no key as
SUCCESS but with NULL as the key. Let's do this for Vault too which
slightly simplifies the callers which used to have to understand both
ways to handle a key not existing.
@jeltz jeltz force-pushed the tde/get-key-by-name-return branch from 0aa0065 to d4678ca Compare June 10, 2025 15:07
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 84.92%. Comparing base (3fc81cc) to head (d4678ca).

❌ Your project status has failed because the head coverage (84.92%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           TDE_REL_17_STABLE     #416      +/-   ##
=====================================================
- Coverage              85.00%   84.92%   -0.08%     
=====================================================
  Files                     21       21              
  Lines                   2560     2561       +1     
  Branches                 392      394       +2     
=====================================================
- Hits                    2176     2175       -1     
  Misses                   306      306              
- Partials                  78       80       +2     
Components Coverage Δ
access 81.90% <ø> (ø)
catalog 88.60% <0.00%> (-0.22%) ⬇️
common 77.77% <ø> (ø)
encryption 73.45% <ø> (ø)
keyring 72.88% <ø> (-0.07%) ⬇️
src 91.44% <ø> (ø)
smgr 94.88% <ø> (+0.02%) ⬆️
transam ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeltz jeltz merged commit 9f44f1b into percona:TDE_REL_17_STABLE Jun 11, 2025
16 checks passed
@jeltz jeltz deleted the tde/get-key-by-name-return branch June 13, 2025 12:42
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.

3 participants