pyvider-rpcplugin
2025-04-17
Major refactoring across client, crypto, server, and transport layers
50 files · 1,523+ · 2,319-
Crypto: Certificate Module Simplification
6 files changed
certificate.pyModified (+352/-647)debug.pyModified (+174/-36)test_certificate_loading.pyModified (+15/-15)test_certificate_properties.pyModified (+4/-4)test_certificate_verify.pyModified (+2/-2)crypto.pyModified (+2/-2)
- Rewrote
crypto/certificate.py(999 lines of changes, net reduction) with cleaner API interface behavioral2 files
certificate.pycrypto.py
- Expanded
crypto/debug.py(210 lines) with better diagnostic capabilities decouple internal2 files
debug.pycrypto.py
- Simplified certificate creation and verification interfaces
harden
internal
1 file
certificate.py
Lifecycle Improvements
6 files changed
base.pyModified (+229/-54)handler.pyRemoved (-16)handshake.pyModified (+2/-43)server.pyModified (+149/-35)base.pyModified (+32/-2)client.pyRemoved (-3)
- Enhanced
client/base.py(283 lines) with improved subprocess and gRPC channel management interface internal3 files
base.pybase.pyclient.py
- Expanded
server.py(184 lines) with better lifecycle management and shutdown handling decouple internal1 file
server.py
- Updated
handshake.pywith refined negotiation flow decouple internal1 file
handshake.py
- Removed
handler.py(16 lines) as its functionality was absorbed elsewhere decouple internal1 file
handler.py
Interface Expansion
6 files changed
base.pyModified (+229/-54)__init__.pyAdded (+20)base.pyModified (+32/-2)types.pyAdded (+18)unix.pyModified (+33/-6)types.pyModified (+43/-141)
- Added 20 lines to
transport/__init__.pyfor better module exports instantiate internal1 file
__init__.py
- Enhanced
transport/base.py(34 lines) with interface improvements interface internal2 files
base.pybase.py
- Added transport type definitions (18 lines) in
types.pyinstantiate internal2 files
types.pytypes.py
- Updated unix transport with socket management fixes
remediate
internal
1 file
unix.py
Gemini Test Removal and Cleanup
17 files changed
config.pyModified (+97/-100)service.pyAdded (+6)types.pyAdded (+18)unix.pyModified (+33/-6)types.pyModified (+43/-141)test_integration_extended.pyRemoved (-103)test_protocol_extended.pyRemoved (-102)test_protocol_integration.pyRemoved (-46)test_protocol_integration_fixed.pyRemoved (-102)test_service.pyRemoved (-118)test_service_advanced.pyRemoved (-65)test_service_edge_cases.pyRemoved (-77)test_service_improvements.pyRemoved (-40)test_transport_types_direct.pyRemoved (-21)test_transport_unix_close.pyRemoved (-85)test_transport_unix_listen.pyRemoved (-55)test_transport_suite_2.pyAdded (+328)
- Removed 8 Gemini-generated test files:
test_integration_extended.py,test_protocol_extended.py,test_protocol_integration.py,test_protocol_integration_fixed.py,test_service.py,test_service_advanced.py,test_service_edge_cases.py,test_service_improvements.py,test_transport_types_direct.py,test_transport_unix_close.py,test_transport_unix_listen.pyqualify internal15 files
service.pytypes.pyunix.pytypes.pytest_integration_extended.pytest_protocol_extended.pytest_protocol_integration.pytest_protocol_integration_fixed.pytest_service.pytest_service_advanced.pytest_service_edge_cases.pytest_service_improvements.pytest_transport_types_direct.pytest_transport_unix_close.pytest_transport_unix_listen.py
- Cleaned up remaining test imports and fixtures
qualify
internal
35 files
test_client_grpc.pytest_client_handshake.pytest_client_init.pytest_client_lifecycle.pytest_client_stubs.pytest_client_transport.pytest_connection.pytest_certificate_loading.pytest_certificate_properties.pytest_certificate_verify.pyclient.pycrypto.pytest_integration_extended.pytest_protocol_extended.pytest_protocol_integration.pytest_protocol_integration_fixed.pytest_service.pytest_service_advanced.pytest_service_edge_cases.pytest_service_improvements.pytest_transport_types_direct.pytest_transport_unix_close.pytest_transport_unix_listen.pytest_handshake_certificate.pytest_handshake_integration.pytest_handshake_network.pytest_handshake_process_io.pytest_handshake_utils.pytest_server_critical.pytest_server_handshake.pytest_server_signals.pytest_server_tls.pytest_server_transport.pytest_transport_suite.pytest_transport_suite_2.py
- Simplified
types.pyby removing 184 lines moved to config decouple internal3 files
config.pytypes.pytypes.py