Skip to content

Revert "Fail fast on invalid certificates at TLS config load (#2999)"#3572

Merged
madolson merged 1 commit into
valkey-io:9.1from
sarthakaggarwal97:revert-pr-2999-from-9.1
Apr 27, 2026
Merged

Revert "Fail fast on invalid certificates at TLS config load (#2999)"#3572
madolson merged 1 commit into
valkey-io:9.1from
sarthakaggarwal97:revert-pr-2999-from-9.1

Conversation

@sarthakaggarwal97

Copy link
Copy Markdown
Contributor

This reverts commit eb3f465.

As discussed in the TSC Core Meeting, this PR reverts #2999 from Valkey 9.1. We plan to do in next major version as it's a breaking change.

Note: Merge conflicts in src/tls.c includes were resolved due to overlapping changes from PR #2913, which added tlsUpdateCertInfoFromDir() with shared header dependencies.

…io#2999)"

This reverts commit eb3f465.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
@sarthakaggarwal97 sarthakaggarwal97 marked this pull request as ready for review April 27, 2026 18:40
@codecov

codecov Bot commented Apr 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.46%. Comparing base (6b85ca4) to head (93237ba).
⚠️ Report is 68 commits behind head on 9.1.

Additional details and impacted files
@@            Coverage Diff             @@
##              9.1    #3572      +/-   ##
==========================================
- Coverage   74.57%   74.46%   -0.11%     
==========================================
  Files         130      130              
  Lines       72731    72731              
==========================================
- Hits        54239    54161      -78     
- Misses      18492    18570      +78     
Files with missing lines Coverage Δ
src/tls.c 17.64% <ø> (ø)

... and 23 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@madolson madolson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests seem unrelated, we should be able to just merge this.

@madolson

Copy link
Copy Markdown
Member

Not going to wait for valgrind.

@madolson madolson merged commit 6997657 into valkey-io:9.1 Apr 27, 2026
48 of 76 checks passed
sarthakaggarwal97 added a commit to sarthakaggarwal97/valkey that referenced this pull request Apr 27, 2026
…o#3572)

Revert of valkey-io#2999 (Prevent invalid TLS certificates from being loaded)
was decided by TSC as it is a breaking change, deferred to next major.

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
@sarthakaggarwal97 sarthakaggarwal97 added the release-notes This issue should get a line item in the release notes label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes This issue should get a line item in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants