Conversation
…ecret support event_stream.database_secret and event_persistence.database_secret used 'is defined' guards which break when an empty-string default is added — the same pattern fixed in galaxy-operator PR ansible#283. Replaced with '| default('') | length' so both undefined and '' are treated as unset, allowing VSO-pre-created secrets to be correctly preserved on reconcile. Ref: AAP-91811, ANSTRAT-2212 Signed-off-by: Suyash Nalawade <sunalawa@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PostgreSQL role replaces explicit secret-definedness and length checks with ChangesPostgreSQL secret guard simplification
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No concrete merge-blocking risk is established by the available evidence. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Git: CodeRabbit could not clone the repository, so clone-backed analysis was skipped and this review may be incomplete. Verify repository clone access, such as SSH credentials, before requesting another full review. If clone access is intentionally unavailable, use Comment |
|



event_stream.database_secret and event_persistence.database_secret used
'is defined' guards which break when an empty-string default is added —
the same pattern fixed in galaxy-operator PR #283. Replaced with
'| default('') | length' so both undefined and '' are treated as unset,
allowing VSO-pre-created secrets to be correctly preserved on reconcile.
Ref: AAP-91811, ANSTRAT-2212
Signed-off-by: Suyash Nalawade sunalawa@redhat.com
Summary by CodeRabbit