Skip to content

ref(feedback): Remove unused old LLM module for spam detection - #101297

Merged
srest2021 merged 11 commits into
masterfrom
srest2021/delete-old-spam-detection
Oct 27, 2025
Merged

srest2021 merged 11 commits into
masterfrom
srest2021/delete-old-spam-detection

Conversation

@srest2021

@srest2021 srest2021 commented Oct 9, 2025 •

Copy link
Copy Markdown
Member

relates to REPLAY-651

Seer spam detection is now at 100% GA. Let's remove the old unused LLM module for spam detection.

Tests have been refactored to patch a spam detection response from Seer where they used to be patching the llm module response. The old test_create_feedback_spam_detection_with_seer test has been removed since it's now covered by the existing tests that were previously using the llm module.

DD metrics for old llm module for the past 2 days--no calls since Seer spam detection was GA'd to 100%:
Screenshot 2025-10-17 at 11 09 40 AM

Seer spam detection DD metrics look good, and this PR will transfer @metrics.wraps("feedback.spam_detection") over so we can get latency data as well:
Screenshot 2025-10-17 at 11 10 17 AM

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 9, 2025
@linear

linear Bot commented Oct 9, 2025

Copy link
Copy Markdown

@srest2021
srest2021 marked this pull request as ready for review October 17, 2025 17:22
@srest2021
srest2021 requested review from a team as code owners October 17, 2025 17:22
cursor[bot]

This comment was marked as outdated.

@codecov

codecov Bot commented Oct 17, 2025

Copy link
Copy Markdown

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

@aliu39 aliu39 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, since it just GA'd i wouldn't be hasty about merging, in the unlikely case we need to flip back the rollout flag. Maybe a week from monday?

@srest2021

Copy link
Copy Markdown
Member Author

@sentry review

@srest2021
srest2021 merged commit 41618e4 into master Oct 27, 2025
@srest2021
srest2021 deleted the srest2021/delete-old-spam-detection branch October 27, 2025 22:24
srest2021 added a commit that referenced this pull request Oct 28, 2025
relates to REPLAY-651

depends on #101297 (merged &
deployed ✅ )

Seer spam detection is now at 100% GA and the old unused LLM module for
spam detection has been removed. Let's remove the unused options:
`llm.provider.options` and `llm.usecases.options`.
shashjar pushed a commit that referenced this pull request Nov 4, 2025
relates to REPLAY-651

Seer spam detection is now at 100% GA. Let's remove the old unused LLM
module for spam detection.

Tests have been refactored to patch a spam detection response from Seer
where they used to be patching the llm module response. The old
`test_create_feedback_spam_detection_with_seer` test has been removed
since it's now covered by the existing tests that were previously using
the llm module.

DD metrics for old llm module for the past 2 days--no calls since Seer
spam detection was GA'd to 100%:
<img width="1016" height="209" alt="Screenshot 2025-10-17 at 11 09
40 AM"
src="https://github.com/user-attachments/assets/db957781-acfd-44f8-8fa3-27cee2d9a471"
/>

Seer spam detection DD metrics look good, and this PR will transfer
`@metrics.wraps("feedback.spam_detection")` over so we can get latency
data as well:
<img width="1016" height="209" alt="Screenshot 2025-10-17 at 11 10
17 AM"
src="https://github.com/user-attachments/assets/6e762dfd-6db1-44d6-888a-f275587c8100"
/>
shashjar pushed a commit that referenced this pull request Nov 4, 2025
relates to REPLAY-651

depends on #101297 (merged &
deployed ✅ )

Seer spam detection is now at 100% GA and the old unused LLM module for
spam detection has been removed. Let's remove the unused options:
`llm.provider.options` and `llm.usecases.options`.
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2025

This branch was successfully deployed

1 active deployment
Preview — 7bb972a5 Deployed Oct 27, 2025 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants