Fixed failing client lifecycle tests, improved server lifecycle man...
43 files · 1,897+ · 1,220-

Server and Config Improvements

4 files changed
  • config.py Updated config.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • types.py Updated types.py
  • Major server.py update (343 lines) with improved lifecycle management and shutdown decouple internal
    5 files
    • ch02_dummy_server.py
    • ch05_echo_server.py
    • ch15_e2e_server.py
    • server.py
    • server.py
  • Updated config.py (123 lines) with refined configuration handling baseline internal
    2 files
    • config.py
    • test_config.py
  • Updated handshake.py (69 lines) with protocol improvements decouple internal
    1 file
    • handshake.py

Client Lifecycle Fix

4 files changed
  • config.py Updated config.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • types.py Updated types.py
  • Reworked test_client_init.py (207 lines) with better initialization tests qualify internal
    1 file
    • test_client_init.py
  • Simplified test_client_lifecycle.py (774 lines of changes) fixing mock and log issues qualify behavioral
    2 files
    • test_client_lifecycle.py
    • mocks.py
  • Updated conftest with additional fixture qualify internal
    5 files
    • conftest.py
    • __init__.py
    • client.py
    • mocks.py
    • server.py
4 files changed
  • config.py Updated config.py
  • handshake.py Updated handshake.py
  • server.py Updated server.py
  • types.py Updated types.py
  • Updated chapter-based examples with corrected patterns remediate internal
    5 files
    • ch05_implementing_a_service.md
    • ch07_echo_client.md
    • ch15_e2e_example.md
    • ch17_api_reference.md
    • ch18_configuration_variables.md
  • Updated example_utils.py (20 lines) and run_all_examples.py (8 lines) decouple internal
    2 files
    • example_utils.py
    • run_all_examples.py