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

ForumMagnum / ForumMagnum / 24916627575
46%
master: 47%

Build:
Build:
LAST BUILD BRANCH: codex/akismet-bio-triage
DEFAULT BRANCH: master
Ran 24 Apr 2026 11:36PM 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

24 Apr 2026 11:33PM UTC coverage: 48.38% (+0.007%) from 48.373%
24916627575

push

github

claude
Filter rejected posts from server-side query helpers

In preparation for enabling the rejection feature on EA Forum, plug three
places where rejected posts could leak through despite the default Posts
view's rejection filter:

- getViewablePostsSelector: add "rejected" IS NOT TRUE to the SQL helper.
  This selector is used in 18+ queries (sitemap, embeddings, sequences,
  collections, recommendations, user profiles, etc.) that bypass the
  default view, so the omission was a real leak. The header comment on
  the helper already says it must mirror the default view, which has
  filtered rejected since the field was added.

- userPosts view: drop the "rejected: null" override so user profile
  post lists inherit the default view's rejection filter. Previously,
  any visitor to a user's profile would see that user's rejected posts
  mixed into the public list. Authors who want to audit their rejected
  content can use /moderation. The sunshineNewUsersPosts view still
  explicitly opts in via its own "rejected: null", which is correct
  for the moderator review surface.

- PostsRepo.getSearchDocuments / countSearchDocuments: skip rejected
  posts during bulk Elasticsearch reindex. Search queries already
  filter rejected at query time via ElasticConfig, but defense in
  depth is cheap here and avoids inflating reindex counts.

7918 of 10713 branches covered (73.91%)

Branch coverage included in aggregate %.

0 of 3 new or added lines in 2 files covered. (0.0%)

7 existing lines in 2 files now uncovered.

177770 of 373098 relevant lines covered (47.65%)

36.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
14.26
-0.01% packages/lesswrong/server/repos/PostsRepo.ts
1
34.62
-0.68% packages/lesswrong/server/repos/helpers.ts

Coverage Regressions

Lines Coverage ∆ File
5
85.26
-1.18% packages/lesswrong/integrationTests/utils.ts
2
94.04
-0.99% packages/lesswrong/server/collections/posts/mutations.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 24916627575.1 24 Apr 2026 11:36PM UTC 2801
42.83
GitHub Action Run
2 Integration - 24916627575.2 24 Apr 2026 11:38PM UTC 2802
34.18
GitHub Action Run
Source Files on build 24916627575
  • Tree
  • List 2803
  • Changed 15
  • Source Changed 3
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24916627575
  • 4e78c466 on github
  • Prev Build on ea-staging (#24846756565)
  • Next Build on claude/rejected-content-investigation-0WkBz (#25407457020)
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