• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

umputun / remark42 / 33350319029
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.17.1
DEFAULT BRANCH: master
Ran 08 Sep 2026 08:45PM UTC
Jobs 1
Files 54
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Aug 2026 02:09AM UTC coverage: 85.434% (+0.007%) from 85.427%
33350319029

Pull #2241

github

syahnur197
Announce edited comments the way new ones are announced

notifyService.Submit was called only from createCommentCtrl, so an edit reached no destination at all. Since admin copies ride inside the same Request that carries user notifications (AdminEmails in email.go, AdminChannelID in telegram.go), that left a gap an ordinary user could walk through: post something innocuous, let it clear the admin notification channels, then swap the text with a PUT inside the five-minute edit window and have nothing emitted anywhere. Editing needs no privileges beyond owning the comment, so the sequence was available to anyone who could post.

updateCommentCtrl now submits the edited comment. The value returned by EditComment is already sanitized and carries Locator, ParentID and the edit mark, so Submit resolves ancestor recipients exactly as it does on create, and destinations render the new text.

A delete is deliberately not announced. It already emits admin.EvDelete from the service, and mailing the removed text out to every ancestor and admin channel would defeat the removal.

The tradeoff is that thread ancestors now get a second notification for any edit, typo fixes included. The alternative, routing edits to the admin destinations only, needs a new field on notify.Request plus template changes across all four destinations, and is left for later.
Pull Request #2241: Announce edited comments the way new ones are announced

4 of 4 new or added lines in 1 file covered. (100.0%)

6669 of 7806 relevant lines covered (85.43%)

38.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33350319029.1 08 Sep 2026 08:45PM UTC 54
85.43
GitHub Action Run
Source Files on build 33350319029
  • Tree
  • List 54
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2241
  • PR Base - master (#33284422016)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc