• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ForumMagnum / ForumMagnum / 25464730841
48%
master: 47%

Build:
Build:
LAST BUILD BRANCH: ea-deploy
DEFAULT BRANCH: master
Ran 06 May 2026 10:30PM UTC
Jobs 2
Files 2803
Run time 4min
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

06 May 2026 10:29PM UTC coverage: 48.384% (+0.002%) from 48.382%
25464730841

Pull #12497

github

claude
Revert redundant rejected filters in getCommentsWithReacts and getRecentCommentsOnPosts

Two more places where the original "rejected" filter I added isn't doing
useful work:

- getCommentsWithReacts: not used on EA Forum at all. The query also
  doesn't filter deleted/retracted/spam, so a rejected-only filter was
  asymmetric anyway. Drop the change (and the inner-subquery JOIN to
  Comments that I added to make LIMIT honor it).

- getRecentCommentsOnPosts: the caller in lib/collections/posts/helpers.ts
  builds its filter starting with getDefaultViewSelector("Comments"), which
  already includes rejected/deleted/draft handling and is then compiled
  into the SQL via SelectQuery. The hardcoded "rejected" IS NOT TRUE clause
  I added was redundant with the compiled filter. Same flavor of mistake
  as the bulk-indexer fix: half-implementing a backstop pattern at a layer
  that doesn't need it. If a future caller passes a filter without the
  default view, the fix belongs at that call site.
Pull Request #12497: Filter rejected content from shared queries and clean up notifications

7926 of 10717 branches covered (73.96%)

Branch coverage included in aggregate %.

29 of 36 new or added lines in 9 files covered. (80.56%)

92 existing lines in 6 files now uncovered.

177794 of 373125 relevant lines covered (47.65%)

36.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
10.44
-0.04% packages/lesswrong/server/repos/CommentsRepo.ts
1
51.54
0.0% packages/lesswrong/server/callbacks/postCallbackFunctions.tsx
1
14.27
0.0% packages/lesswrong/server/repos/PostsRepo.ts
1
34.62
-0.68% packages/lesswrong/server/repos/helpers.ts

Coverage Regressions

Lines Coverage ∆ File
53
13.28
-36.48% packages/lesswrong/server/akismet.ts
17
11.39
-4.3% packages/lesswrong/server/ckEditor/ckEditorWebhook.ts
7
21.05
-2.02% packages/lesswrong/lib/ckEditorUtils.ts
6
95.39
0.46% packages/lesswrong/server/collections/users/mutations.ts
5
84.76
0.97% packages/lesswrong/server/notificationCallbacksHelpers.tsx
4
84.85
-0.77% packages/lesswrong/server/sql/Query.ts
Jobs
ID Job ID Ran Files Coverage
1 Integration - 25464730841.1 06 May 2026 10:32PM UTC 2802
34.18
GitHub Action Run
2 Unit - 25464730841.2 06 May 2026 10:30PM UTC 2801
42.83
GitHub Action Run
Source Files on build 25464730841
  • Tree
  • List 2803
  • Changed 29
  • Source Changed 18
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25464730841
  • Pull Request #12497
  • PR Base - ea-staging (#25456600642)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc