fix: address code review feedback (log warnings, redact Redis URL credentials, add doc comment)

Agent-Logs-Url: https://github.com/katanemo/plano/sessions/6a75240b-4578-409d-b8c7-eff47dba8a03

Co-authored-by: adilhafeez <13196462+adilhafeez@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-09 03:54:21 +00:00 committed by GitHub
parent 66f8230dd5
commit f1e2876a8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 44 additions and 6 deletions

View file

@ -18,6 +18,8 @@ pub enum SessionCacheType {
pub struct SessionCacheConfig {
#[serde(rename = "type")]
pub cache_type: SessionCacheType,
/// Redis connection URL (e.g. `redis://localhost:6379`).
/// Required when `cache_type` is [`SessionCacheType::Redis`]; ignored otherwise.
pub url: Option<String>,
}