Replace f-string adapter log messages with structlog keyword fields across ConnectionAwareAdapter, RedisAdapter, and MinioAdapter.
Use static event messages with structured context fields (for example connection_name, key, bucket, object_name)
Log Redis metadata instead of full payloads (data_keys, found, count) to improve aggregation and avoid logging large values verbatim
Update integration test assertions to match the new structured log output
Test plan
uv run pytest tests/integration/redis_adapter_test.py tests/integration/minio_adapter_test.py -k "log"
uv run pytest tests/integration/minio_adapter_test.py::test_connect_creates_bucket_when_create_bucket_if_missing_enabled
## Summary
Replace f-string adapter log messages with structlog keyword fields across `ConnectionAwareAdapter`, `RedisAdapter`, and `MinioAdapter`.
- Use static event messages with structured context fields (for example `connection_name`, `key`, `bucket`, `object_name`)
- Log Redis metadata instead of full payloads (`data_keys`, `found`, `count`) to improve aggregation and avoid logging large values verbatim
- Update integration test assertions to match the new structured log output
## Test plan
- [x] `uv run pytest tests/integration/redis_adapter_test.py tests/integration/minio_adapter_test.py -k "log"`
- [x] `uv run pytest tests/integration/minio_adapter_test.py::test_connect_creates_bucket_when_create_bucket_if_missing_enabled`
Replace f-string log messages with structlog keyword fields so events aggregate cleanly and Redis payloads are not logged verbatim.
Co-authored-by: Cursor <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Replace f-string adapter log messages with structlog keyword fields across
ConnectionAwareAdapter,RedisAdapter, andMinioAdapter.connection_name,key,bucket,object_name)data_keys,found,count) to improve aggregation and avoid logging large values verbatimTest plan
uv run pytest tests/integration/redis_adapter_test.py tests/integration/minio_adapter_test.py -k "log"uv run pytest tests/integration/minio_adapter_test.py::test_connect_creates_bucket_when_create_bucket_if_missing_enabledTest Coverage Report:
Test Coverage Report: