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

ForumMagnum / ForumMagnum / 29823446608
48%
master: 47%

Build:
Build:
LAST BUILD BRANCH: claude/multiple-choice-polls-i5xqas
DEFAULT BRANCH: master
Ran 21 Jul 2026 10:46AM UTC
Jobs 2
Files 2796
Run time 5min
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

21 Jul 2026 10:45AM UTC coverage: 48.367% (-0.03%) from 48.4%
29823446608

Pull #12663

github

claude
Store multiple-choice poll votes like the slider (unify storage)

Match the ea-forum simplification: multiple-choice poll votes are stored
at the top level of publicData keyed by userId, exactly like the slider,
instead of nested under a separate `publicData.votes` object. Since the
MC poll feature is unmerged there is no data to migrate.

- ForumEventsRepo: drop getMcUserVote/addMcVote/removeMcVote; MC voting
  reuses the slider's getUserVote/addVote/removeVote. setMcPollOptions
  becomes a top-level publicData merge that preserves existing votes.
- AddForumEventMcVote resolver uses addVote/removeVote.
- The voteCount resolver and the poll-notification cron's getVoterUserIds
  now use one shared "keys minus reserved config keys" rule instead of
  branching on poll format.
- getMcPollPublicData gathers per-user votes from the top level; inline
  the single-use getMcPollAnswers helper.
- Update the ForumEventsRepo integration test to the shared vote methods.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017xoYSRMi8i81xf362x5vF5
Pull Request #12663: Add multiple-choice polls (available in the post editor)

7931 of 10748 branches covered (73.79%)

Branch coverage included in aggregate %.

342 of 916 new or added lines in 14 files covered. (37.34%)

52 existing lines in 6 files now uncovered.

177179 of 371971 relevant lines covered (47.63%)

34.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
339
36.75
packages/lesswrong/components/forumEvents/ForumEventMcPoll.tsx
94
36.83
-4.87% packages/lesswrong/server/callbacks/forumEventCallbacks.ts
52
12.43
-3.6% packages/lesswrong/server/resolvers/forumEventResolvers.ts
26
24.79
-7.08% packages/lesswrong/components/comments/CommentsItem/CommentPollVote.tsx
22
54.32
1.2% packages/lesswrong/lib/collections/forumEvents/helpers.ts
12
0.0
0.0% packages/lesswrong/lib/generated/fragmentTypes.d.ts
11
10.53
0.09% packages/lesswrong/server/repos/CommentsRepo.ts
6
0.0
0.0% packages/lesswrong/lib/generated/databaseTypes.d.ts
5
44.81
-0.33% packages/lesswrong/components/forumEvents/ForumEventPostPagePollSection.tsx
5
12.24
-0.26% packages/lesswrong/server/polls/pollNotificationsCron.ts
2
18.77
-0.05% packages/lesswrong/components/forumEvents/ForumEventStickers.tsx

Coverage Regressions

Lines Coverage ∆ File
24
54.24
-10.91% packages/lesswrong/server/utils/slugUtil.ts
19
45.55
-3.68% packages/lesswrong/server/callbacks/userCallbackFunctions.tsx
5
53.99
-3.02% packages/lesswrong/server/testingSqlClient.ts
2
36.83
-4.87% packages/lesswrong/server/callbacks/forumEventCallbacks.ts
1
71.5
0.26% packages/lesswrong/server/debouncer.ts
1
12.24
-0.26% packages/lesswrong/server/polls/pollNotificationsCron.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 29823446608.1 21 Jul 2026 10:46AM UTC 2794
42.81
GitHub Action Run
2 Integration - 29823446608.2 21 Jul 2026 10:48AM UTC 2795
34.21
GitHub Action Run
Source Files on build 29823446608
  • Tree
  • List 2796
  • Changed 28
  • Source Changed 13
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29823446608
  • Pull Request #12663
  • PR Base - ea-staging (#29100515293)
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