plating 2025-08-29
Configuration management, error handling, and type definitions added
8 files · 396+ · 24-

Configuration management system

1 file changed
  • config.py New attrs-based GarnishConfig class with environment variable mapping (124 lines)
  • Added src/garnish/config.py (124 lines) with GarnishConfig attrs-based configuration class baseline internal
    1 file
    • config.py
  • Supports Terraform binary auto-detection, plugin cache directory, test timeout/parallelism settings instantiate internal
    1 file
    • config.py
  • Environment variable mapping (GARNISH_TF_BINARY, TF_PLUGIN_CACHE_DIR, etc.) via from_env() classmethod instantiate internal
    1 file
    • config.py
  • Global configuration singleton pattern with get_config() accessor instantiate internal
    1 file
    • config.py

Error handling infrastructure

1 file changed
  • error_handling.py Centralized error handling utilities (125 lines)
  • Added src/garnish/error_handling.py (125 lines) with centralized error handling utilities harden internal
    1 file
    • error_handling.py

Type definitions

1 file changed
  • types.py Shared type definitions for the garnish package (71 lines)
  • Added src/garnish/types.py (71 lines) with shared type definitions for the garnish package baseline internal
    1 file
    • types.py

Test runner and test updates

5 files changed
  • test_runner.py Minor adjustments to execution flow
  • test_stir_migration.py Additional test cases
  • pyproject.toml Dependency updates
  • settings.local.json Updated settings
  • uv.lock Lock file updated
  • Minor adjustments to src/garnish/test_runner.py execution flow decouple internal
    1 file
    • test_runner.py
  • Updated tests/test_stir_migration.py with additional test cases qualify internal
    1 file
    • test_stir_migration.py