0.3.15-pre.015

This commit is contained in:
2026-09-18 21:06:58 +02:00
parent b266019ea8
commit 582a286baa
9 changed files with 323 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-onchain-transport-lib/tests/release_completeness.rs
// version: 47
// version: 48
//! Release-level completeness canaries for staged HTTP and WebSocket Transport coverage.
@@ -1412,3 +1412,25 @@ fn release_v0_3_15_pre_002_websocket_capabilities_are_endpoint_declared_typed_an
assert!(!settings_source.contains("provider().as_str() == \"helius\""));
assert!(!settings_source.contains("provider().as_str() == \"publicnode\""));
}
#[test]
fn release_v0_3_15_pre_015_yellowstone_update_delivery_backpressures_without_local_overflow() {
let stream_source = include_str!("../src/grpc_stream.rs");
let stream_tests = include_str!("../unit_tests/grpc_stream.rs");
let actor_start = stream_source.find("async fn run_subscribe_actor(").expect("Subscribe actor must remain present");
let actor_tail = &stream_source[actor_start..];
let actor_end = actor_tail
.find(
"
enum ReconnectOutcome",
)
.expect("Subscribe actor boundary must remain present");
let actor = &actor_tail[..actor_end];
assert!(actor.contains("result = update_tx.send(std::result::Result::Ok(update)) => result"));
assert!(actor.contains("shutdown_changed = shutdown_rx.changed()"));
assert!(actor.contains("biased;"));
assert!(!actor.contains("Yellowstone subscribe update queue overflowed"));
assert!(stream_source.contains("ERROR_CODE_GRPC_BACKPRESSURE_OVERFLOW"));
assert!(!stream_source.contains("unbounded_channel"));
assert!(stream_tests.contains("yellowstone_slow_receiver_applies_bounded_backpressure_without_terminal_overflow"));
}