Comprehensive update across the entire codebase fixing TypeGuards, ...
106 files · 5,550+ · 2,751-

Major Module Updates

10 files changed
  • base.py Updated client/base.py
  • connection.py Updated client/connection.py
  • types.py Updated client/types.py
  • config.py Updated config.py
  • certificate.py Updated crypto/certificate.py
  • constants.py Updated crypto/constants.py
  • debug.py Updated crypto/debug.py
  • generators.py Updated crypto/generators.py
  • types.py Updated crypto/types.py
  • exception.py Updated exception.py
  • Expanded client/base.py (240 lines) with retry logic and improved error handling remediate internal
    1 file
    • base.py
  • Rewrote crypto/certificate.py (339 lines) with cleaner certificate management harden internal
    1 file
    • certificate.py
  • Enhanced server.py (311 lines) with robust lifecycle management decouple internal
    4 files
    • echo_server.py
    • py_kv_server.py
    • server.py
    • server.py
  • Expanded protocol/service.py (178 lines) with improved service registration decouple internal
    5 files
    • service.py
    • test_service.py
    • grpc_broker_pb2.pyi
    • grpc_stdio_pb2.pyi
    • grpctest_pb2.pyi
  • Updated handshake.py (181 lines) with refined negotiation protocol decouple internal
    5 files
    • handshake.py
    • test_client_handshake.py
    • handshake.py
    • test_server_handshake.py
    • grpc_broker_pb2.pyi
  • Updated factories.py (55 lines), config.py (47 lines), exception.py (25 lines) baseline internal
    5 files
    • factories.py
    • test_factories.py
    • config.py
    • test_config.py
    • exception.py

Transport and Types

10 files changed
  • base.py Updated client/base.py
  • connection.py Updated client/connection.py
  • types.py Updated client/types.py
  • config.py Updated config.py
  • certificate.py Updated crypto/certificate.py
  • constants.py Updated crypto/constants.py
  • debug.py Updated crypto/debug.py
  • generators.py Updated crypto/generators.py
  • types.py Updated crypto/types.py
  • exception.py Updated exception.py
  • Updated transport/tcp.py (77 lines) with connection improvements decouple internal
    5 files
    • tcp.py
    • test_transport_tcp_close.py
    • test_transport_tcp_connect.py
    • test_transport_tcp_handle_client.py
    • test_transport_tcp_validation.py
  • Updated transport types and unix transport decouple internal
    3 files
    • base.py
    • connection.py
    • types.py
  • Updated protocol type stubs for broker and stdio decouple internal
    3 files
    • grpc_broker_pb2.pyi
    • grpc_stdio_pb2.pyi
    • grpctest_pb2.pyi

Examples and Documentation

3 files changed
  • .gitignore Updated .gitignore
  • mypy.ini Updated mypy.ini
  • uv.lock Updated lock file

Broad Updates

10 files changed
  • base.py Updated client/base.py
  • connection.py Updated client/connection.py
  • types.py Updated client/types.py
  • config.py Updated config.py
  • certificate.py Updated crypto/certificate.py
  • constants.py Updated crypto/constants.py
  • debug.py Updated crypto/debug.py
  • generators.py Updated crypto/generators.py
  • types.py Updated crypto/types.py
  • exception.py Updated exception.py
  • Updated 60+ test files with improved patterns and assertions qualify internal
    3 files
    • base.py
    • connection.py
    • types.py
  • Updated fixtures, conftest, and mock infrastructure qualify internal
    5 files
    • mocks.py
    • client.py
    • crypto.py
    • dummy.py
    • handshake.py