Closed msk closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The changes enhance the certificate loading process in the TrustedDomain
class, allowing it to continue loading valid certificates even if some fail. A new method update(self)
is introduced. Additionally, the rustls-native-certs
dependency version is updated from 0.7
to 0.8
, and the logic for loading native certificates in the ConnectionPoolType
implementation is simplified, focusing on logging errors instead of granular error handling.
Files | Change Summary |
---|---|
CHANGELOG.md | Added a new method update(self) in the TrustedDomain class and summarized changes made. |
Cargo.toml | Updated rustls-native-certs dependency version from 0.7 to 0.8 . |
src/backends/postgres.rs | Simplified the certificate loading logic in ConnectionPoolType by iterating over certs and errors , logging warnings for errors instead of granular handling. |
In the meadow, I hop with glee,
Certificates load, as smooth as can be!
With updates and changes, we dance and play,
Valid certs shine bright, come what may.
A new method blooms, like flowers in spring,
Hooray for the changes, let the rabbits sing! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 0%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 65.19%. Comparing base (
72c2cf2
) to head (598f9c7
).
Files with missing lines | Patch % | Lines |
---|---|---|
src/backends/postgres.rs | 0.00% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Improved the platform certificate loading process to skip individual certificates that fail to load, allowing the rest of the certificates to be loaded successfully. Previously, the entire platform certificate loading process would fail if any certificate failed to load.
Summary by CodeRabbit
New Features
TrustedDomain
class for better management.Dependency Updates
rustls-native-certs
library to version 0.8, which may introduce new features and bug fixes.Bug Fixes