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

veeso / mastic / 23955444534
92%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 05:34PM UTC
Jobs 1
Files 53
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

03 Apr 2026 05:29PM UTC coverage: 92.441% (+0.2%) from 92.227%
23955444534

push

github

veeso
feat(user): implement publish_status and federation send_activity stub

Implement the publish_status method on the User Canister which stores a
status in the user's outbox and sends Create(Note) activities to followers
via the Federation Canister. Expose send_activity on the Federation Canister
as a no-op stub returning SendActivityResponse::Ok.

Key changes:
- Snowflake ID generator (48-bit timestamp + 16-bit sequence) for statuses
- Status storage with content validation (chars, not bytes) and sanitization
- ContentEmpty/ContentTooLong error variants for precise error reporting
- Follower querying and batch Create(Note) activity dispatch
- Federation canister send_activity endpoint with typed SendActivityResponse
- Default impl for BaseObject to reduce ActivityPub boilerplate
- AP-to-DID conversions moved from did crate to federation canister
- inspect handler fix: early return after msg_reject

Closes #7

710 of 763 new or added lines in 15 files covered. (93.05%)

7 existing lines in 2 files now uncovered.

4060 of 4392 relevant lines covered (92.44%)

8.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% crates/libs/did/src/user.rs
3
97.89
crates/canisters/federation/src/conversions.rs
3
0.0
0.0% crates/canisters/federation/src/lib.rs
3
0.0
crates/canisters/user/src/api/inspect.rs
3
0.0
0.0% crates/canisters/user/src/lib.rs
4
0.0
0.0% crates/libs/did/src/federation.rs
6
85.71
-7.24% crates/canisters/user/src/api.rs
8
0.0
0.0% crates/canisters/user/src/inspect.rs
10
97.39
crates/canisters/user/src/domain/status/publish.rs
12
60.0
crates/canisters/user/src/schema/status.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% crates/libs/did/src/federation.rs
6
0.0
0.0% crates/canisters/federation/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 23955444534.1 03 Apr 2026 05:34PM UTC 53
92.44
GitHub Action Run
Source Files on build 23955444534
  • Tree
  • List 53
  • Changed 10
  • Source Changed 10
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23955444534
  • cd1bc18f on github
  • Prev Build on main (#23945599441)
  • Next Build on main (#23959826624)
  • 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