Skip to content

Commit 72cbca7

Browse files
committed
tests: Add jsonrpsee interoperability tests
Add integration tests that verify wire-format compatibility with jsonrpsee when file descriptors are not present. Tests cover: - Round-trip message exchange over Unix socket pairs - Notification handling with proper synchronization - Error response formatting per JSON-RPC 2.0 spec - Sequential request handling - Raw JSON parsing from external sources - String and null ID handling - Array params (positional parameters) Also enable async-client feature for jsonrpsee and add async-trait dev dependency. Assisted-by: OpenCode (Sonnet 4)
1 parent a0e9006 commit 72cbca7

2 files changed

Lines changed: 494 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ thiserror = "1.0"
1515
tokio = { version = "1.40", features = ["full"] }
1616
tracing = "0.1"
1717
tracing-subscriber = "0.3"
18-
jsonrpsee = { version = "0.24", features = ["server", "client-core"], default-features = false }
18+
jsonrpsee = { version = "0.24", features = ["server", "client-core", "async-client"], default-features = false }
1919

2020
[dev-dependencies]
2121
tempfile = "3.0"
22+
async-trait = "0.1"

0 commit comments

Comments
 (0)