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

Freegle / Iznik / 22940
71%
master: 72%

Build:
Build:
LAST BUILD BRANCH: fix/autorepost-skips-removed-membership
DEFAULT BRANCH: master
Ran 23 Jun 2026 09:52AM UTC
Jobs 4
Files 1311
Run time 2min
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

23 Jun 2026 09:26AM UTC coverage: 71.157% (-0.009%) from 71.166%
22940

Pull #851

circleci

edwh
fix(admin): restore sent-admin archive in Previous tab + stop cross-group leak

ModTools "Previous" admin tab showed only stale, approved-but-never-sent
admins (mods saw a years-old Christmas message as the newest), and Admin/
Support users saw pending admins for groups they aren't on.

Root cause: the V2 Go ListAdmins query filtered `complete IS NULL`, which
excludes every *sent* admin (those have `complete` set) - the opposite of
what the Previous archive needs. And the Admin/Support branch applied no
group scoping at all, so with no group selected it swept every group's
admins into the Pending tab.

Fix:
- Drop the `complete IS NULL` filter so sent admins appear again, matching
  V1 Admin::listForGroup (all admins for the group, newest first).
- Scope the default listing to the caller's active mod groups for everyone
  (matching V1 Admin::listPending); Admin/Support may still view a specific
  group's history when they explicitly request a groupid.

Tests: TestListAdminsIncludesCompleted (completed admins are returned);
TestListAdminsSystemAdmin reworked to assert no cross-group leak with no
group, and access to a specific requested group.

## Discourse

https://discourse.ilovefreegle.org/t/admin-messages/9816/4

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #851: fix(admin): restore sent-admin archive in Previous tab + stop cross-group leak

11141 of 14808 branches covered (75.24%)

Branch coverage included in aggregate %.

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

125 existing lines in 7 files now uncovered.

121881 of 172134 relevant lines covered (70.81%)

37.38 hits per line

Coverage Regressions

Lines Coverage ∆ File
36
78.35
0.0% iznik-batch/app/Services/Ripple/ExpandService.php
32
88.56
0.82% iznik-nuxt3/modtools/components/ModSysAdminRippling.vue
29
87.84
0.0% iznik-nuxt3/modtools/components/ModMessage.vue
15
92.93
-0.46% iznik-batch/app/Mail/Digest/UnifiedDigest.php
10
64.91
-12.55% iznik-batch/app/Console/Commands/Ripple/ExpandCommand.php
2
98.68
2.79% iznik-server-go/rippling/metrics.go
1
97.67
-2.33% iznik-server-go/abtest/abtest.go
Jobs
ID Job ID Ran Files Coverage
22940 playwright - 22940 23 Jun 2026 09:52AM UTC 73
23.03
CircleCI Job 22940
22940 vitest - 22940 23 Jun 2026 09:52AM UTC 715
68.97
CircleCI Job 22940
22940 go - 22940 23 Jun 2026 09:52AM UTC 139
83.23
CircleCI Job 22940
22940 laravel - 22940 23 Jun 2026 09:52AM UTC 456
68.07
CircleCI Job 22940
Source Files on build 22940
  • Tree
  • List 1311
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #22940
  • Pull Request #851
  • PR Base - master (#22943)
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