You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Harden secret handling and passthrough fallbacks (#5799)
# What does this PR do?
This PR hardens OAuth2 introspection secret handling by using
`SecretStr` in config and unwrapping secret values only when sending
introspection requests.
It tightens messages passthrough fallbacks by catching only expected
lookup errors and adding debug logs instead of silently swallowing
failures.
It also improves vector-store provider lookup error logging, removes a
duplicate `ResponseNotFoundError` export, and drops an outdated TODO
comment.
## Test Plan
- `uv run pytest tests/unit/server/test_auth_oauth2_introspection.py
tests/unit/providers/inline/messages/test_impl.py
tests/unit/telemetry/test_vector_io_metrics.py -q --maxfail=1`
- Result: `36 passed in 0.32s`
Signed-off-by: Sébastien Han <seb@redhat.com>
0 commit comments