SOU-70: client-side context redaction#12
Conversation
Mirror the backend denylist so secret-shaped keys never leave the process; scrub automatically in record() and expose scrub_context for callers.
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
Warning Review limit reached
Next review available in: 1 minute Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds client-side context redaction using a case-insensitive denylist and 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 34c5581f-5cf1-4bbf-868d-243e8f693148
📒 Files selected for processing (4)
burnwatch/__init__.pyburnwatch/client.pyburnwatch/redact.pytests/test_redact.py
Align with denylist matching so keys like _BW_meta cannot bypass client-side redaction.
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
scrub_context/dangerous_context_keysmirroring backend_CONTEXT_DENYLIST(case-insensitive; also drop_bw*keys)contextinBurnwatchClient.record()before buffering so secrets never leave the processCloses #2
Closes Linear SOU-70
Test plan
pytest -q— 26 passed