Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
|
Upgrade Rust dependencies and align Spanner/reqwest integrations This PR upgrades Rust workspace dependencies, notably It also adjusts OpenTelemetry tracer initialization for the latest SDK builder API, pins This summary was automatically generated by @propel-code-bot |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
e2221a5 to
9c7997e
Compare
| ..Default::default() | ||
| endpoint: google_cloud_spanner::apiv1::conn_pool::SPANNER.to_string(), | ||
| environment: Environment::Emulator(emulator.grpc_endpoint()), | ||
| disable_route_to_leader: false, |
There was a problem hiding this comment.
what are the semantics of this config?
There was a problem hiding this comment.
It will create a connection to an emulated spanner. It also doesn't have a .. Default::default(), which I consider a robustness win.
9c7997e to
df07735
Compare
df07735 to
8dfeb66
Compare
|
Found 3 test failures on Blacksmith runners: Failures
|
Update the Rust workspace to the newer reqwest and google-cloud-rust releases, and adjust affected call sites to match the new APIs. - bump reqwest to 0.13 and switch rustls/query features to the current names - bump google-cloud-rust to v20260319 and populate the new channel keepalive fields in spanner client configs - pin fastrace crates to compatible versions and update tracing setup for the current OpenTelemetry SDK builder API - fix test/emulator helpers impacted by upstream API changes, including tempfile persistence handling Co-authored-by: AI annotate as bytes rather than [u8] explicit config of new params incompatibility that does not surface on OS X; try it fix(wal3): retry aborted spanner transactions The Spanner emulator only supports one transaction at a time, causing tests to fail with Aborted errors when running in parallel. The publish_fragment method already had an external retry loop, but init and apply_garbage did not. - Add retry-with-backoff loop to ManifestManager::init for Aborted transactions, matching the pattern in publish_fragment - Add retry-with-backoff loop to apply_garbage for Aborted transactions - Add Error::is_aborted() helper to detect Aborted status from both TonicError and SpannerSessionError variants - Update hardcoded parquet fragment sizes in tests (1044 -> 1092) to match new parquet output size from upgraded crate Co-authored-by: AI
8dfeb66 to
5b78c16
Compare
Description of changes
Update the Rust workspace to the newer reqwest and google-cloud-rust
releases, and adjust affected call sites to match the new APIs.
current names
keepalive fields in spanner client configs
for the current OpenTelemetry SDK builder API
including tempfile persistence handling
Test plan
CI
Migration plan
N/A
Observability plan
N/A
Documentation Changes
N/A
Co-authored-by: AI