pyvider 2025-09-04
Integrated provide.foundation error handling and updated encryption tests
109 files · 14,432+ · 246-

Provide.foundation error handling integration

8 files changed
  • encryption.py Added @with_error_handling decorator to encrypt, decrypt, and _get_key functions
  • discovery.py Added @retry_on_error and @with_error_handling decorators
  • validators.py Added @with_error_handling to attach and validate methods
  • apply_resource_change.py Added @with_error_handling decorator
  • configure_provider.py Added @with_error_handling decorator
  • get_provider_schema.py Added @with_error_handling decorator
  • plan_resource_change.py Added @with_error_handling decorator
  • read_resource.py Added @with_error_handling decorator
  • Added @with_error_handling() decorator from provide.foundation to encryption, hub discovery/validators, and protocol handlers harden behavioral
    3 files
    • encryption.py
    • discovery.py
    • validators.py
  • Added @retry_on_error(max_attempts=2, delay=1.0) to component discovery for resilient module loading harden behavioral
    1 file
    • discovery.py

Encryption test updated to use environment variables

1 file changed
  • test_encryption_unit.py Tests key derivation via PYVIDER_PRIVATE_STATE_SHARED_SECRET env var instead of config mocking
  • Updated test_encryption_unit.py to test key derivation using PYVIDER_PRIVATE_STATE_SHARED_SECRET environment variable directly instead of mocking PyviderConfig.get() qualify internal
    1 file
    • test_encryption_unit.py

Foundation review chat log saved

1 file changed
  • 20250904-2111-more-chat-about-foundation.txt 13,703-line Claude Code session transcript reviewing provide-foundation for release
  • Saved a 13,703-line provide-foundation pre-release review session transcript (removed on Sep 7) specify internal
    1 file
    • 20250904-2111-more-chat-about-foundation.txt