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

Freegle / Iznik / 5789
70%

Build:
DEFAULT BRANCH: master
Ran 24 Apr 2026 10:42AM UTC
Jobs 4
Files 989
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

24 Apr 2026 09:28AM UTC coverage: 71.626% (+0.01%) from 71.614%
5789

push

circleci

web-flow
fix(message): soft-delete pending message on Withdrawn to prevent mod 403 (#248)

* fix(message): soft-delete pending message on Withdrawn outcome instead of hard DELETE

When a member withdraws a message still in Pending state, the Go API was
issuing DELETE FROM messages, leaving orphaned messages_groups rows.  Any
moderator who had already loaded the pending queue would then get a
misleading 403 on reject/delete because isModForMessage found the orphaned
messages_groups rows, but getMessageModContext's subsequent scan of the
now-absent messages row failed and returned nil.

V1 parity (Message::delete()): sets messages_groups.deleted=1 then
UPDATE messages SET deleted=NOW() — never a hard DELETE.  Switch to the
same soft-delete pattern so the messages row remains scannable and mods
can still act on the message after the member withdraws.

Adds TestPostMessageRejectAfterMemberWithdrawsPending to cover the 403
regression.  Updates TestPostMessageWithdrawnPending to match soft-delete.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(ci): use PORT_FREEGLE_PROD_LOCAL/PORT_MODTOOLS_PROD_LOCAL vars in health check

Hardcoded ports 3012/3013 never matched CI runner's actual ports (12012/12013),
causing the 'Wait for production containers to be healthy' step to always hang
until the 20-minute timeout on the self-hosted runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

13426 of 20352 branches covered (65.97%)

Branch coverage included in aggregate %.

4 of 6 new or added lines in 1 file covered. (66.67%)

12 existing lines in 3 files now uncovered.

96345 of 132904 relevant lines covered (72.49%)

21.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
85.67
-0.06% iznik-server-go/message/message.go

Coverage Regressions

Lines Coverage ∆ File
10
48.48
-42.42% iznik-nuxt3/components/FreeglerPhotoGrid.vue
1
49.35
2.34% iznik-nuxt3/components/ChatFooter.vue
1
35.27
1.03% iznik-nuxt3/pages/browse/[[term]].vue
Jobs
ID Job ID Ran Files Coverage
5789 vitest - 5789 24 Apr 2026 10:42AM UTC 686
64.59
CircleCI Job 5789
5789 go - 5789 24 Apr 2026 10:42AM UTC 118
80.7
CircleCI Job 5789
5789 playwright - 5789 24 Apr 2026 10:42AM UTC 228
45.83
CircleCI Job 5789
5789 laravel - 5789 24 Apr 2026 10:42AM UTC 180
66.68
CircleCI Job 5789
Source Files on build 5789
  • Tree
  • List 989
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #5789
  • 3f50b7b3 on github
  • Prev Build on master (#5738)
  • Next Build on master (#5804)
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