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

Freegle / iznik-server-go / 576dab18-0ae5-4d67-b0b7-939e0b9039c2
77%
master: 89%

Build:
Build:
LAST BUILD BRANCH: fix/deploy-watch-inactive
DEFAULT BRANCH: master
Ran 05 Apr 2026 08:50PM UTC
Jobs 1
Files 101
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

05 Apr 2026 08:40PM UTC coverage: 76.573%. First build
576dab18-0ae5-4d67-b0b7-939e0b9039c2

Pull #61

circleci

edwh
fix(session): gate newsletterstories behind Newsletter permission

Regular moderators without Newsletter permission were seeing
newsletterstories included in their total work count, causing phantom
badge counts of 1 (or more) on iOS and Android mod apps.

Gate the newsletterstories query behind auth.HasPermission(myid,
auth.PERM_NEWSLETTER) so only users with the Newsletter permission
see this count.

Updated TestWorkCountNewsletterStories to grant Newsletter permission.
Added TestWorkCountNewsletterStoriesRequiresPermission asserting
regular mods see newsletterstories=0.

Fixes https://community.ilovefreegle.org/t/9547

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #61: fix(session): gate newsletterstories behind Newsletter permission

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

19566 of 25552 relevant lines covered (76.57%)

23.37 hits per line

Jobs
ID Job ID Ran Files Coverage
869 869 05 Apr 2026 08:50PM UTC 101
76.57
CircleCI Job 869
Source Files on build 576dab18-0ae5-4d67-b0b7-939e0b9039c2
  • Tree
  • List 101
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #576DAB18...
  • Pull Request #61
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