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.go Monolithic RPC file removed (548 lines deleted)
  • rpc_client.go New dedicated Go RPC client implementation (262 lines)
  • rpc_server.go New dedicated Go RPC server (126 lines)
  • rpc_tls.go New TLS certificate handling module (224 lines)
  • main.go Updated for modular RPC structure (91 line changes)
  • rpc_shared.go Updated shared utilities (145 line changes)
  • hcl.go HCL module updates
  • Removed monolithic rpc.go and replaced with dedicated rpc_client.go, rpc_server.go, and rpc_tls.go modules interface architectural
    4 files
    • rpc.go
    • rpc_client.go
    • rpc_server.go
    • rpc_tls.go
  • Updated main.go and rpc_shared.go for the new modular RPC structure interface internal
    2 files
    • main.go
    • rpc_shared.go

Python RPC server expanded with lifecycle and TLS improvements

3 files changed
  • server.py Expanded with improved server lifecycle, TLS configuration, and connection management (289 line changes)
  • cli.py Restructured RPC commands (172 line changes)
  • client.py Minor client fixes
  • Significantly expanded src/tofusoup/rpc/server.py with improved server lifecycle, TLS configuration, and connection management interface architectural
    1 file
    • server.py
  • Restructured src/tofusoup/rpc/cli.py with updated RPC commands decouple architectural
    1 file
    • cli.py

TLS test and debug scripts added

5 files changed
  • test_server_cert.py TLS certificate validation test (84 lines)
  • test_server_cert_with_stderr.py TLS cert test with stderr capture (45 lines)
  • test_tls_matrix.py TLS matrix test (90 lines)
  • debug_notls_test.py Debug script for non-TLS testing (57 lines)
  • debug_tls_test.py Debug script for TLS testing (67 lines)
  • Added standalone TLS test scripts for certificate validation and TLS matrix testing qualify internal
    3 files
    • test_server_cert.py
    • test_server_cert_with_stderr.py
    • test_tls_matrix.py
  • Added debug test scripts for TLS and non-TLS scenarios qualify internal
    2 files
    • debug_notls_test.py
    • debug_tls_test.py

Obsolete test scripts removed and consolidated

2 files changed
  • test_go_to_py_direct.sh Removed (24 lines) -- functionality consolidated
  • test_cross_language_matrix.py Removed (137 lines) -- functionality consolidated
  • Removed test_go_to_py_direct.sh and tests/integration/test_cross_language_matrix.py as functionality was consolidated decouple internal
    2 files
    • test_go_to_py_direct.sh
    • test_cross_language_matrix.py

Conformance test markers and RPC CLI test added

2 files changed
  • souptest_cli_rpc.py New RPC CLI verification conformance test
  • conftest.py RPC conformance test configuration added
  • Updated RPC conformance tests with markers and added souptest_cli_rpc.py qualify internal
    2 files
    • souptest_cli_rpc.py
    • conftest.py