tofusoup 2025-09-16
Major refactoring across conformance tests, RPC infrastructure, and source modules
123 files · 2,350+ · 2,715-

Conformance test overhaul

17 files changed
  • souptest_cli_parity.py Improved Python-Go parity validation (197 line changes)
  • shared_cli_utils.py Updated CLI test helpers
  • souptest_cli_cty.py Improved assertion patterns
  • souptest_cli_hcl.py Improved assertion patterns
  • souptest_cli_wire.py Improved assertion patterns
  • conftest.py Updated CTY test fixtures
  • python_fixture_generator.py Refactored fixture generation
  • souptest_cty_interop.py Restructured CTY interop tests (83 lines changed)
  • souptest_cty_logic.py Updated CTY logic tests
  • souptest_cty_compat.py Updated CTY compat tests
  • souptest_hcl_logic.py Revised HCL test patterns
  • souptest_hcl_to_cty.py Revised HCL-to-CTY tests
  • souptest_codec.py Updated wire codec tests
  • souptest_edge_cases.py Updated wire edge case tests
  • souptest_property_based.py Updated property-based tests
  • souptest_wire_logic.py Updated wire logic tests
  • souptest_wire_python_vs_go.py Updated cross-language wire tests
  • Refactored CLI verification tests with improved assertion patterns and updated all CTY, HCL, and Wire conformance tests with revised test patterns decouple behavioral
    5 files
    • souptest_cli_parity.py
    • souptest_cty_interop.py
    • souptest_cty_logic.py
    • souptest_hcl_logic.py
    • souptest_codec.py

RPC test infrastructure rewrite

12 files changed
  • harness_factory.py Improved harness lifecycle management (285 line changes)
  • cert_manager.py Better certificate generation and mTLS handling (95 line changes)
  • complete_matrix_test.py Updated RPC matrix tests
  • comprehensive_matrix_test.py Updated RPC matrix tests
  • focused_matrix_test.py Updated RPC matrix tests
  • test_config.py Simplified test configuration (153 line changes)
  • test_rpc_kv_matrix.py Restructured KV matrix tests (398 line changes)
  • test_simple_matrix.py Revised simple matrix tests
  • souptest_cross_language_interop.py Updated cross-language interop tests
  • matrix_config.py Updated matrix configuration
  • run_matrix_tests.py Updated matrix test runner
  • automtls_test.py Updated auto-mTLS tests
  • Major refactoring of RPC harness factory for improved lifecycle management and certificate manager for better mTLS handling decouple behavioral
    2 files
    • harness_factory.py
    • cert_manager.py
  • Updated all RPC matrix tests with revised patterns and simplified test configuration qualify internal
    5 files
    • complete_matrix_test.py
    • comprehensive_matrix_test.py
    • focused_matrix_test.py
    • test_config.py
    • test_rpc_kv_matrix.py

Source module quality improvements

17 files changed
  • cli.py Major simplification (145 line reduction)
  • client.py Simplified RPC client (120 line reduction)
  • state.py Simplified state module (66 line reduction)
  • config.py Revised configuration loading
  • crypto_utils.py Revised crypto utilities
  • cli.py Updated HCL CLI
  • cli.py Updated CTY CLI
  • logic.py Updated CTY logic
  • cli.py Updated harness CLI
  • logic.py Updated harness logic
  • logic.py Updated RPC logic
  • server.py Updated RPC server
  • stock_cli.py Updated stock CLI
  • runtime.py Updated stir runtime
  • matrix.py Updated matrix testing
  • matrix_profiles.py Updated matrix profiles
  • workenv_integration.py Updated workenv integration
  • Major simplification of registry CLI (145 line reduction), RPC client (120 line reduction), and state module (66 line reduction) decouple internal
    3 files
    • cli.py
    • client.py
    • state.py
  • Updated numerous source modules across browser, CLI, common utilities, harness, HCL, RPC, stir, testing, and wire subsystems with code quality improvements decouple internal
    7 files
    • cli.py
    • config.py
    • cli.py
    • cli.py
    • cli.py
    • logic.py
    • runtime.py

Documentation and configuration

8 files changed
  • README.md Removed old README (199 lines)
  • index.md API documentation index (15 lines)
  • index.md Documentation index (39 lines)
  • mkdocs.yml MkDocs configuration (97 lines)
  • defaults.py Updated configuration value
  • conftest.py Updated root conftest
  • verify_harness_cli.py Updated verification script
  • pyproject.toml Added dependency entries
  • Replaced docs/README.md (199 lines removed) with proper MkDocs setup including mkdocs.yml (97 lines), docs/index.md, and docs/api/index.md specify internal
    4 files
    • README.md
    • index.md
    • index.md
    • mkdocs.yml
  • Updated test infrastructure including conformance conftest, test conftest, and multiple test files across browser, harness, registry, stir, and wire subsystems qualify internal
    8 files
    • conftest.py
    • conftest.py
    • test_registry_cli.py
    • test_models.py
    • test_opentofu_registry.py
    • test_search_engine.py
    • test_terraform_registry.py
    • test_harness_conformance.py