tofusoup 2025-10-10
RPC overhaul with rewritten client, server, and Go harness plus cross-language test scripts
56 files · 16,415+ · 683-

Main CLI module restructured for lazy loading

1 file changed
  • cli.py Restructured subcommand organization with lazy loading (142 line changes)
  • Significantly restructured src/tofusoup/cli.py with improved subcommand organization and lazy loading streamline architectural
    1 file
    • cli.py

RPC client and server rewritten with TLS support

5 files changed
  • client.py Reworked connection handling and TLS support (164 line changes)
  • server.py Rewritten with better certificate management and mTLS configuration (123 line changes)
  • cli.py Updated for the new RPC patterns (132 line changes)
  • logic.py Adjusted for new RPC flow (19 line changes)
  • stock_cli.py Updated for new RPC patterns (14 line changes)
  • Major rework of src/tofusoup/rpc/client.py with improved connection handling and TLS support interface internal
    1 file
    • client.py
  • Rewrote src/tofusoup/rpc/server.py with better certificate management and mTLS configuration interface internal
    1 file
    • server.py
  • Updated src/tofusoup/rpc/cli.py, logic.py, and stock_cli.py for the new RPC patterns interface behavioral
    3 files
    • cli.py
    • logic.py
    • stock_cli.py

Crypto utilities removed and consolidated into RPC modules

1 file changed
  • crypto_utils.py Deleted (342 lines) -- crypto functionality consolidated into RPC modules
  • Deleted src/tofusoup/common/crypto_utils.py (342 lines) with crypto functionality consolidated into RPC modules interface internal
    1 file
    • crypto_utils.py

Go harness RPC restructured for better server/client handling

3 files changed
  • rpc.go Restructured RPC server/client handling (249 line changes)
  • rpc_shared.go Updated shared RPC utilities (36 line changes)
  • main.go Updated for new RPC subcommand structure (24 line changes)
  • Restructured src/tofusoup/harness/go/soup-go/rpc.go and rpc_shared.go for improved RPC server/client handling decouple architectural
    2 files
    • rpc.go
    • rpc_shared.go
  • Updated main.go for new RPC subcommand structure interface internal
    1 file
    • main.go

Stir module refactored for improved matrix test execution

5 files changed
  • cli.py Stir CLI updates (45 line changes)
  • display.py Display improvements (84 line changes)
  • runtime.py Runtime refactoring (80 line changes)
  • terraform.py Terraform integration changes (197 line changes)
  • config.py Configuration updates
  • Major refactoring of stir module across cli.py, display.py, runtime.py, and terraform.py for improved matrix test execution qualify behavioral
    4 files
    • cli.py
    • display.py
    • runtime.py
    • terraform.py

Cross-language RPC test scripts added

10 files changed
  • test_ec_curves.py Elliptic curve RPC test script
  • test_go_to_py_direct.sh Direct Go-to-Python RPC test
  • test_go_to_python.py Go-to-Python RPC communication test
  • test_py_go_auto.py Automated Python-Go RPC test
  • test_py_to_go_secp384r1.py SECP384R1 curve Python-to-Go test
  • test_python_to_go_simple.py Simple Python-to-Go RPC test
  • test_python_to_python_pyvider.py Python-to-Python RPC via pyvider test
  • test_rpc_combos.py RPC combination test matrix
  • test_simple_py_go.py Simple Python-Go RPC test
  • souptest_cross_language_interop.py Cross-language interop conformance test (38 line changes)
  • Added multiple standalone RPC test scripts covering Go-Python interop, curve support, and mTLS scenarios qualify internal
    9 files
    • test_ec_curves.py
    • test_go_to_py_direct.sh
    • test_go_to_python.py
    • test_py_go_auto.py
    • test_py_to_go_secp384r1.py
    • test_python_to_go_simple.py
    • test_python_to_python_pyvider.py
    • test_rpc_combos.py
    • test_simple_py_go.py
  • Updated conformance/rpc/souptest_cross_language_interop.py with expanded interop tests interface internal
    1 file
    • souptest_cross_language_interop.py

Other updates across registry, browser, scaffolding, and conformance

6 files changed
  • cli.py Registry CLI updates (17 line changes)
  • __init__.py Browser module init update
  • resource.py.j2 Scaffolding template update
  • logic.py Testing logic updates
  • matrix.py Test matrix updates
  • matrix_profiles.py Matrix profile updates
  • Updated registry CLI, browser module init, scaffolding templates, and conformance test files qualify internal
    5 files
    • cli.py
    • __init__.py
    • resource.py.j2
    • logic.py
    • matrix.py