- 
                Notifications
    You must be signed in to change notification settings 
- Fork 2.8k
[WEB-5263] chore: removed the tracking of sanitized HTML #8023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes exception tracking for HTML sanitization removals. The change eliminates redundant logging where sanitization differences were being both logged as warnings and tracked as exceptions.
Key Changes:
- Removed log_exception()call that was tracking sanitization removals as warnings
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Linked to Plane Work Item(s) This comment was auto-generated by Plane | 
| WalkthroughTwo changes: removed a  Changes
 Sequence Diagram(s)sequenceDiagram
    participant Client
    participant API as TransferCycleIssueAPIEndpoint
    participant Now as "Current time check"
    Client->>API: POST transfer request (old_cycle_id, ...)
    API->>Now: fetch now()
    Note right of API #DDEBF7: Validation (changed)
    API-->>Now: compare old_cycle.end_date > now?
    alt end_date in future (true)
        API->>Client: 400/blocked (transfer not allowed)
    else end_date past or null (false)
        API->>Client: proceed with transfer (allowed)
    end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 
 Poem
 Pre-merge checks and finishing touches❌ Failed checks (1 warning)
 ✅ Passed checks (2 passed)
 ✨ Finishing touches
 🧪 Generate unit tests (beta)
 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
 🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-10-17T10:46:13.825ZApplied to files: 
 ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment  | 
Description
removed the tracking (from two places) of sanitized HTML after it is sanitized.
Type of Change
Summary by CodeRabbit