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

veeso / mastic / 25076880780 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 08:59PM UTC
Files 93
Run time 2s
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

28 Apr 2026 08:47PM UTC coverage: 91.768% (-0.3%) from 92.022%
25076880780.1

push

github

veeso
feat(user): implement unfollow_user flow (UC6)

Implements WI-1.5 (#15). Adds the owner-only `unfollow_user` endpoint
that removes the target from the `following` table and dispatches an
`Undo(Follow)` activity to the target inbox via the Federation Canister.
Behaviour is idempotent: unfollowing a target that is not in `following`
is a silent no-op.

The same row covers both states: a `Pending` row represents an outbound
follow request that has not been accepted yet, and an `Accepted` row
represents an established follow. Unfollow removes the row regardless
of status — there is no separate outbound row in `follow_requests`,
which is strictly inbound.

Adds the inbound `Undo(Follow)` handler in `receive_activity`. It
removes the sender from `followers` (accepted inbound) and from
`follow_requests` (pending inbound). Both deletions are idempotent and
`Undo` of any inner activity other than `Follow` is silently ignored.

Adds unit coverage for the new flow and three integration tests:
follow → accept → unfollow, follow → unfollow before accept, and
unfollow when not following.

9464 of 10313 relevant lines covered (91.77%)

14.23 hits per line

Source Files on job 25076880780.1
  • Tree
  • List 93
  • Changed 10
  • Source Changed 10
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25076880780
  • eb50f52a on github
  • Prev Job for on main (#24797475601.1)
  • Next Job for on main (#25099057961.1)
  • Delete
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