Skip to content

feat(comment-spam): add OSS deep-link to the 3-tier Telegram alerts#4861

Merged
mashbean merged 1 commit into
developfrom
feat/comment-spam-alert-oss-link
Jun 20, 2026
Merged

feat(comment-spam): add OSS deep-link to the 3-tier Telegram alerts#4861
mashbean merged 1 commit into
developfrom
feat/comment-spam-alert-oss-link

Conversation

@mashbean

Copy link
Copy Markdown
Contributor

Adds a 進 OSS 處理 link to the spam_detection (A/B/C) Telegram alerts — previously the only report-alert source without one. Links to ${ossSiteDomain}/comments?id=<commentGlobalId> (the OSS comments triage page; the id param deep-links where supported, harmless otherwise).

Pairs with the prod/dev MATTERS_OSS_SITE_DOMAIN fix (was wrongly matters.town, now oss.matters.town / oss.matters.icu).

🤖 Generated with Claude Code

The spam_detection (A/B/C) alerts were the only report-alert source without a
"進 OSS 處理" link — moderators had to find the comment manually. Add an ossUrl
pointing at the OSS comments triage page with the comment's global id
(`${ossSiteDomain}/comments?id=<globalId>`), matching the link affordance the
direct/community_watch alerts already have. Uses the shared ossSiteDomain (now
correctly `oss.matters.town` in prod / `oss.matters.icu` in dev).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mashbean mashbean requested a review from a team as a code owner June 19, 2026 12:34
@codecov

codecov Bot commented Jun 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.77%. Comparing base (e77d8a2) to head (15cacc5).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4861   +/-   ##
========================================
  Coverage    72.77%   72.77%           
========================================
  Files         1071     1071           
  Lines        21306    21307    +1     
  Branches      4657     4657           
========================================
+ Hits         15505    15506    +1     
  Misses        5324     5324           
  Partials       477      477           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mashbean mashbean merged commit f072eb5 into develop Jun 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant