Skip to content

chore: update dependencies and improve SSL connection tests - #176

Merged
isdaniel merged 1 commit into
mainfrom
fix/v0.10.0-review-findings
Dec 2, 2026
Merged

isdaniel merged 1 commit into
mainfrom
fix/v0.10.0-review-findings

Conversation

@isdaniel

@isdaniel isdaniel commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner
  • Updated bytes from 1.12.1 to 1.12.2 and smallvec from 1.16.5 to 1.16.6 in Cargo.lock files for fuzz and load-tests.
  • Updated pq-sys from 0.7.8 to 0.7.10 in load-tests Cargo.lock.
  • Added a new test test_ssl_verify_full_checks_host_not_hostaddr to verify SSL hostname checks against host instead of hostaddr.
  • Enhanced connection handling in native/connection.rs to warn when reading from a different runtime than the one that created the connection.
  • Modified native/conninfo.rs to clarify the roles of host and hostaddr in connection strings.
  • Updated connection logic in native/startup.rs to utilize the new address and tls_name methods from ConnInfo.
  • Improved LSN tests in lsn.rs to ensure correct visibility of written data across threads.

- Updated `bytes` from 1.12.1 to 1.12.2 and `smallvec` from 1.16.5 to 1.16.6 in Cargo.lock files for fuzz and load-tests.
- Updated `pq-sys` from 0.7.8 to 0.7.10 in load-tests Cargo.lock.
- Added a new test `test_ssl_verify_full_checks_host_not_hostaddr` to verify SSL hostname checks against `host` instead of `hostaddr`.
- Enhanced connection handling in `native/connection.rs` to warn when reading from a different runtime than the one that created the connection.
- Modified `native/conninfo.rs` to clarify the roles of `host` and `hostaddr` in connection strings.
- Updated connection logic in `native/startup.rs` to utilize the new `address` and `tls_name` methods from `ConnInfo`.
- Improved LSN tests in `lsn.rs` to ensure correct visibility of written data across threads.
- Updated documentation for upgrading from 0.10 to 0.11 to reflect changes in error handling, connection string parsing, and runtime behavior.
@codspeed

codspeed Bot commented Dec 2, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 12.43%

1 warning

⚠️ 1 benchmark with a significant change ran on different hardware

Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚡ 1 improved benchmark
✅ 49 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ zero_copy_path 527.5 ns 469.2 ns +12.43%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing fix/v0.10.0-review-findings (22a6e8c) with main (8cd4fc0)

Open in CodSpeed

@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.38095% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.10%. Comparing base (8cd4fc0) to head (22a6e8c).

Files with missing lines Patch % Lines
src/connection/native/connection.rs 88.88% 5 Missing ⚠️
src/connection/native/startup.rs 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #176      +/-   ##
==========================================
- Coverage   97.11%   97.10%   -0.01%     
==========================================
  Files          38       38              
  Lines       30997    31084      +87     
==========================================
+ Hits        30103    30185      +82     
- Misses        894      899       +5     
Flag Coverage Δ
integration 69.12% <53.84%> (-0.01%) ⬇️
unit 95.16% <91.42%> (-0.03%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 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.

@isdaniel
isdaniel merged commit 8c93c32 into main Dec 2, 2026
26 checks passed
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