provide-terminal 2026-03-14
Server config migrated to Pydantic schema validation and advanced end-to-end hijack tests added
62 files · 9,463+ · 3,180-

Server config schema validation via Pydantic

7 files changed
  • config.py Configuration extracted from raw dicts into Pydantic models with validation
  • models.py New schema models for validated configuration
  • registry.py Registry updated to use new Pydantic model types
  • runtime.py Runtime updated for new config schema
  • server.py MCP server updated for new config models
  • connections.py Hub connections updated for new schema
  • core.py Hub core updated for new schema
  • Configuration extracted from raw dicts into Pydantic models with validation. src/provide/terminal/server/models.py expanded with new schema models. src/provide/terminal/server/registry.py updated to use new model types. decouple internal
    5 files
    • config.py
    • models.py
    • registry.py
    • connections.py
    • core.py

Telnet transport refactoring

3 files changed
  • telnet.py Telnet transport refactored
  • telnet_client.py Telnet client transport
  • telnet_transport.py Base telnet transport
  • Telnet transport split into client and transport variants for cleaner separation. decouple internal
    3 files
    • telnet.py
    • telnet_client.py
    • telnet_transport.py

Advanced end-to-end hijack scenario tests

8 files changed
  • conftest.py E2E tests shared conftest
  • test_live_hub_advanced.py Multi-session hijack scenarios, concurrent connections, reconnection under load (470 lines)
  • test_live_hub_advanced_edge_cases.py Edge cases: partial disconnects, auth expiry mid-session, handler timeout paths (357 lines)
  • test_live_hub_auth.py Live hub auth end-to-end tests
  • test_live_hub_chaos.py Chaos scenario E2E tests
  • test_live_hub_ratelimit.py Rate limit E2E tests
  • test_live_hub_stress.py Stress scenario E2E tests
  • test_live_hub_ws.py WebSocket live hub tests
  • tests/e2e/test_live_hub_advanced.py (470 lines): multi-session hijack scenarios, concurrent connections, reconnection under load. tests/e2e/test_live_hub_advanced_edge_cases.py (357 lines): edge cases including partial disconnects, auth expiry mid-session, and handler timeout paths. qualify internal
    5 files
    • test_live_hub_advanced.py
    • test_live_hub_advanced_edge_cases.py
    • test_live_hub_auth.py
    • test_live_hub_chaos.py
    • test_live_hub_ws.py

Server connector and hub mutation-killing tests

10 files changed
  • test_models_mutation_killing.py Models mutation-killing tests
  • test_hub_mutation_killing.py Hub mutation-killing tests
  • test_hypothesis_ordering.py Hypothesis ordering property tests
  • test_new_features_coverage.py Coverage tests for new features
  • test_base.py Base hijack tests
  • test_base_mutation_killing.py Base mutation-killing tests
  • test_bridge_coverage2.py Bridge coverage 2
  • test_connections_coverage.py Connections coverage tests
  • test_hub_coverage3.py Hub coverage 3
  • test_hub_polling_coverage.py Polling coverage tests
  • Mutation-killing tests for server models, hub core, and hijack base. Hypothesis ordering tests for property-based coverage of hub operations. qualify internal
    3 files
    • test_models_mutation_killing.py
    • test_hub_mutation_killing.py
    • test_hypothesis_ordering.py

Cloudflare package persistence and infrastructure

5 files changed
  • __init__.py DO package init
  • persistence.py Durable Object persistence layer
  • session_runtime.py Session runtime updates
  • test_persistence.py Persistence layer tests
  • wrangler.toml Wrangler deployment configuration
  • Cloudflare Durable Object persistence layer added with tests. Wrangler config updated. instantiate internal
    3 files
    • persistence.py
    • test_persistence.py
    • wrangler.toml