tofusoup
2025-10-26
Go harness RPC split into client, server, and TLS modules
210 files · 29,395+ · 6,254-
Go harness RPC architecture split into modular files
7 files changed
rpc.goMonolithic RPC file removed (548 lines deleted)rpc_client.goNew dedicated Go RPC client implementation (262 lines)rpc_server.goNew dedicated Go RPC server (126 lines)rpc_tls.goNew TLS certificate handling module (224 lines)main.goUpdated for modular RPC structure (91 line changes)rpc_shared.goUpdated shared utilities (145 line changes)hcl.goHCL module updates
- Removed monolithic
rpc.goand replaced with dedicatedrpc_client.go,rpc_server.go, andrpc_tls.gomodules interface architectural4 files
rpc.gorpc_client.gorpc_server.gorpc_tls.go
- Updated
main.goandrpc_shared.gofor the new modular RPC structure interface internal2 files
main.gorpc_shared.go
Python RPC server expanded with lifecycle and TLS improvements
3 files changed
server.pyExpanded with improved server lifecycle, TLS configuration, and connection management (289 line changes)cli.pyRestructured RPC commands (172 line changes)client.pyMinor client fixes
- Significantly expanded
src/tofusoup/rpc/server.pywith improved server lifecycle, TLS configuration, and connection management interface architectural1 file
server.py
- Restructured
src/tofusoup/rpc/cli.pywith updated RPC commands decouple architectural1 file
cli.py
TLS test and debug scripts added
5 files changed
test_server_cert.pyTLS certificate validation test (84 lines)test_server_cert_with_stderr.pyTLS cert test with stderr capture (45 lines)test_tls_matrix.pyTLS matrix test (90 lines)debug_notls_test.pyDebug script for non-TLS testing (57 lines)debug_tls_test.pyDebug script for TLS testing (67 lines)
Obsolete test scripts removed and consolidated
2 files changed
test_go_to_py_direct.shRemoved (24 lines) -- functionality consolidatedtest_cross_language_matrix.pyRemoved (137 lines) -- functionality consolidated
Conformance test markers and RPC CLI test added
2 files changed
souptest_cli_rpc.pyNew RPC CLI verification conformance testconftest.pyRPC conformance test configuration added