pyvider 2025-10-13
Branch merge incorporating recent changes: grpcio version bump, encryption module rewrite, CLI...
62 files · 6,569+ · 835-

Grpcio Version Bump

37 files changed
  • settings.local.json Updated settings.local.json (+17/-2 lines)
  • .gitignore Added .gitignore (+2 lines)
  • .venv_darwin_arm64 Added .venv_darwin_arm64 (+1 lines)
  • FOUNDATION_INTEGRATION_PLAN.md Added FOUNDATION_INTEGRATION_PLAN.md (+890 lines)
  • FUTURE_PHASES.md Updated FUTURE_PHASES.md (+2/-2 lines)
  • coverage.json Added coverage.json (+1 lines)
  • pyproject.toml Updated pyproject.toml (+1/-1 lines)
  • __main__.py Updated __main__.py (+7/-2 lines)
  • context.py Updated context.py (+5/-5 lines)
  • utils.py Updated utils.py (+104/-33 lines)
  • encryption.py Updated encryption.py (+356/-65 lines)
  • discovery.py Updated discovery.py (+2/-2 lines)
  • __init__.py Added __init__.py (+69 lines)
  • metrics.py Added metrics.py (+147 lines)
  • apply_resource_change.py Added apply_resource_change.py (+23 lines)
  • call_function.py Added call_function.py (+23 lines)
  • close_ephemeral_resource.py Added close_ephemeral_resource.py (+25 lines)
  • configure_provider.py Added configure_provider.py (+23 lines)
  • get_functions.py Added get_functions.py (+23 lines)
  • get_metadata.py Added get_metadata.py (+23 lines)
  • get_provider_schema.py Added get_provider_schema.py (+23 lines)
  • import_resource_state.py Added import_resource_state.py (+26 lines)
  • move_resource_state.py Added move_resource_state.py (+26 lines)
  • open_ephemeral_resource.py Added open_ephemeral_resource.py (+25 lines)
  • plan_resource_change.py Added plan_resource_change.py (+24 lines)
  • read_data_source.py Added read_data_source.py (+27 lines)
  • read_resource.py Added read_resource.py (+22 lines)
  • renew_ephemeral_resource.py Added renew_ephemeral_resource.py (+25 lines)
  • stop_provider.py Updated stop_provider.py (+23/-1 lines)
  • upgrade_resource_state.py Added upgrade_resource_state.py (+25 lines)
  • validate_data_resource_config.py Added validate_data_resource_config.py (+26 lines)
  • validate_ephemeral_resource_config.py Added validate_ephemeral_resource_config.py (+25 lines)
  • validate_provider_config.py Added validate_provider_config.py (+24 lines)
  • validate_resource_config.py Added validate_resource_config.py (+27 lines)
  • lifecycle.py Updated lifecycle.py (+2/-2 lines)
  • protocol.py Updated protocol.py (+5/-4 lines)
  • uv.lock Updated uv.lock (+2233/-602 lines)
  • Updated grpcio minimum from >=1.73.0 to >=1.75.0 decouple internal
    65 files
    • settings.local.json
    • .gitignore
    • .venv_darwin_arm64
    • FOUNDATION_INTEGRATION_PLAN.md
    • FUTURE_PHASES.md
    • coverage.json
    • pyproject.toml
    • __main__.py
    • context.py
    • provide_command.py
    • utils.py
    • encryption.py
    • discovery.py
    • __init__.py
    • metrics.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • configure_provider.py
    • get_functions.py
    • get_metadata.py
    • get_provider_schema.py
    • import_resource_state.py
    • move_resource_state.py
    • open_ephemeral_resource.py
    • plan_resource_change.py
    • read_data_source.py
    • read_resource.py
    • renew_ephemeral_resource.py
    • stop_provider.py
    • upgrade_resource_state.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • utils.py
    • lifecycle.py
    • protocol.py
    • test_decorators.py
    • test_cli_entrypoints.py
    • test_cli_utils.py
    • test_install_utils.py
    • test_attrs_factory.py
    • test_availability.py
    • test_base_context.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • test_context_package.py
    • test_utils.py
    • test_exceptions_hierarchy.py
    • test_private_state_encryption.py
    • mock_type.py
    • __init__.py
    • test_handler_metrics.py
    • test_metrics.py
    • test_service.py
    • test_exceptions.py
    • test_lifecycle.py
    • test_resource_context.py
    • test_resource_protocol.py
    • test_exceptions.py
    • test_handler.py
    • test_version.py
    • uv.lock
  • Major lock file refresh with 2,835 lines of changes baseline internal
    65 files
    • settings.local.json
    • .gitignore
    • .venv_darwin_arm64
    • FOUNDATION_INTEGRATION_PLAN.md
    • FUTURE_PHASES.md
    • coverage.json
    • pyproject.toml
    • __main__.py
    • context.py
    • provide_command.py
    • utils.py
    • encryption.py
    • discovery.py
    • __init__.py
    • metrics.py
    • apply_resource_change.py
    • call_function.py
    • close_ephemeral_resource.py
    • configure_provider.py
    • get_functions.py
    • get_metadata.py
    • get_provider_schema.py
    • import_resource_state.py
    • move_resource_state.py
    • open_ephemeral_resource.py
    • plan_resource_change.py
    • read_data_source.py
    • read_resource.py
    • renew_ephemeral_resource.py
    • stop_provider.py
    • upgrade_resource_state.py
    • validate_data_resource_config.py
    • validate_ephemeral_resource_config.py
    • validate_provider_config.py
    • validate_resource_config.py
    • utils.py
    • lifecycle.py
    • protocol.py
    • test_decorators.py
    • test_cli_entrypoints.py
    • test_cli_utils.py
    • test_install_utils.py
    • test_attrs_factory.py
    • test_availability.py
    • test_base_context.py
    • test_encryption_unit.py
    • test_launch_context.py
    • test_launch_context_extra.py
    • test_context_package.py
    • test_utils.py
    • test_exceptions_hierarchy.py
    • test_private_state_encryption.py
    • mock_type.py
    • __init__.py
    • test_handler_metrics.py
    • test_metrics.py
    • test_service.py
    • test_exceptions.py
    • test_lifecycle.py
    • test_resource_context.py
    • test_resource_protocol.py
    • test_exceptions.py
    • test_handler.py
    • test_version.py
    • uv.lock

Encryption Module Modernization

1 file changed
  • encryption.py Changes to encryption.py
  • Rewrote encryption module with EncryptionManager class, per-encryption random salt, version bytes, and thread-safe key caching baseline internal
    1 file
    • encryption.py

Foundation API Updates

1 file changed
  • FOUNDATION_INTEGRATION_PLAN.md Changes to FOUNDATION_INTEGRATION_PLAN.md
  • Updated shutdown_foundation_telemetry to shutdown_foundation decouple internal
    1 file
    • FOUNDATION_INTEGRATION_PLAN.md
  • Changed Context to CLIContext base class decouple internal
    1 file
    • FOUNDATION_INTEGRATION_PLAN.md
  • Changed run_command to run in process utilities decouple internal
    1 file
    • FOUNDATION_INTEGRATION_PLAN.md
  • Added CLI debug logging on startup instantiate behavioral
    1 file
    • FOUNDATION_INTEGRATION_PLAN.md
  • Improved provider wrapper script with venv auto-detection decouple internal
    1 file
    • FOUNDATION_INTEGRATION_PLAN.md

New Test Suites

25 files changed
  • test_decorators.py Added test_decorators.py (+99 lines)
  • test_cli_entrypoints.py Added test_cli_entrypoints.py (+64 lines)
  • test_cli_utils.py Added test_cli_utils.py (+180 lines)
  • test_install_utils.py Added test_install_utils.py (+187 lines)
  • test_attrs_factory.py Added test_attrs_factory.py (+89 lines)
  • test_availability.py Added test_availability.py (+83 lines)
  • test_base_context.py Added test_base_context.py (+64 lines)
  • test_encryption_unit.py Updated test_encryption_unit.py (+131/-109 lines)
  • test_launch_context.py Added test_launch_context.py (+163 lines)
  • test_launch_context_extra.py Added test_launch_context_extra.py (+86 lines)
  • test_context_package.py Added test_context_package.py (+14 lines)
  • test_utils.py Added test_utils.py (+65 lines)
  • test_exceptions_hierarchy.py Updated test_exceptions_hierarchy.py (+14/-1 lines)
  • test_private_state_encryption.py Updated test_private_state_encryption.py (+5/-4 lines)
  • __init__.py Added __init__.py (+1 lines)
  • test_handler_metrics.py Added test_handler_metrics.py (+194 lines)
  • test_metrics.py Added test_metrics.py (+358 lines)
  • test_service.py Added test_service.py (+104 lines)
  • test_exceptions.py Added test_exceptions.py (+34 lines)
  • test_lifecycle.py Added test_lifecycle.py (+38 lines)
  • test_resource_context.py Added test_resource_context.py (+40 lines)
  • test_resource_protocol.py Added test_resource_protocol.py (+34 lines)
  • test_exceptions.py Added test_exceptions.py (+56 lines)
  • test_handler.py Added test_handler.py (+98 lines)
  • test_version.py Added test_version.py (+36 lines)
  • Added test suites for capabilities decorators, CLI entrypoints, CLI utilities, install utilities, and version handling qualify behavioral
    3 files
    • provide_command.py
    • utils.py
    • mock_type.py