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

Freegle / Iznik / 21094 / 21094
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2026 09:03PM UTC
Files 128
Run time 3s
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

13 Jun 2026 08:38PM UTC coverage: 83.421% (-0.02%) from 83.437%
21094

push

circleci

web-flow
fix(message): partner-key-only Promise/Renege acts as message owner (#735)

The V2 Go POST /message handler required an email or tnuserid query param
to resolve the acting user for partner-key requests, returning 403 for a
bare partner key. V1 (the migration reference) lets a partner with a valid
key act as a message's owner when the message fromaddr is in the partner
domain (getRolesForMessages -> ROLE_OWNER -> acts as fromuser). Trash
Nothing relies on this for Promise/Renege, so Promise -> Renege -> Promise
failed with 403 on V2.

Add partner-owner mode: when a partner key is valid and no email/tnuserid is
given, act as the message's fromuser, but only when its fromaddr host matches
the partner domain (exact, case-insensitive). Applies per-message in the
tnpostid batch path too.

Adds Go regression tests for the partner Promise / Renege /
Promise-Renege-Promise sequence and wrong-domain rejection.

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

26698 of 32004 relevant lines covered (83.42%)

64.43 hits per line

Source Files on job go - 21094
  • Tree
  • List 128
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21094
  • CircleCI Build #21094
  • e1258373 on github
  • Prev Job for on master (#21079)
  • Next Job for on master (#21151)
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