Problem
When DazzleTreeLib adapters are wrapped in ErrorHandlingAdapter, there's no way to introspect what capabilities the underlying adapter stack provides. This causes test failures when code tries to check for features like cache tracking.
Current Workaround
Tests are currently skipped with:
@pytest.mark.skip(reason="Waiting for DazzleTreeLib introspection support")
Proposed Solution
DazzleTreeLib needs to add introspection methods to adapters:
has_capability(capability_name) - Check if adapter stack supports a feature
get_adapter_by_type(adapter_class) - Retrieve specific adapter from stack
list_capabilities() - List all available capabilities
Affected Tests
tests/test_permission_error_handling.py::test_cache_tracking_with_errors
tests/test_permission_error_handling.py::test_visited_tracking_with_permission_errors
Dependencies
- Requires changes in DazzleTreeLib repository
- Will need to update modified_datetime_fix once DazzleTreeLib is updated
Related to DazzleTreeLib v0.9.2 error handling improvements.
Problem
When DazzleTreeLib adapters are wrapped in ErrorHandlingAdapter, there's no way to introspect what capabilities the underlying adapter stack provides. This causes test failures when code tries to check for features like cache tracking.
Current Workaround
Tests are currently skipped with:
@pytest.mark.skip(reason="Waiting for DazzleTreeLib introspection support")Proposed Solution
DazzleTreeLib needs to add introspection methods to adapters:
has_capability(capability_name)- Check if adapter stack supports a featureget_adapter_by_type(adapter_class)- Retrieve specific adapter from stacklist_capabilities()- List all available capabilitiesAffected Tests
tests/test_permission_error_handling.py::test_cache_tracking_with_errorstests/test_permission_error_handling.py::test_visited_tracking_with_permission_errorsDependencies
Related to DazzleTreeLib v0.9.2 error handling improvements.