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

veeso / mastic / 24687878401
92%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2026 08:16PM UTC
Jobs 1
Files 82
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

20 Apr 2026 08:09PM UTC coverage: 92.997% (+1.0%) from 92.022%
24687878401

push

github

veeso
feat(schema): extend database schema for milestone 1

Extends wasm-dbms schemas for the User and Directory canisters with
every entity required by Milestone 1: likes, boosts, blocks, mutes,
bookmarks, tombstones, media attachments, replies, counters, edits,
hashtags, featured tags, pinned statuses, profile metadata, content
warnings, and reports.

Adds shared sanitizer/validator primitives in `db-utils`:

- `bounded_text` — `TrimSanitizer`, `BoundedTextValidator(max_len)`.
- `hashtag`     — `HashtagSanitizer`, `HashtagValidator`.
- `media`       — `MimeValidator`, `BlurhashValidator`.
- `url`         — `NullableUrlValidator` wrapping `UrlValidator`.

Adds a `ReportState` custom type in the Directory canister
(`Open` / `Resolved` / `Dismissed`).

Wires validators to every free-form `Text` column on the new schema,
including spoiler text, reply URIs, media type/alt-text/blurhash,
profile metadata fields, report reason and target URI, and tombstone
handles.

Updates all existing `Status` and `InboxActivity` call sites to set
the new columns.

Adds spec pages under `docs/src/specs/`:

- `hashtags.md`         — tag format and sanitization.
- `media.md`            — MIME, blurhash, alt-text rules.
- `profile-metadata.md` — custom profile field limits.
- `reports.md`          — moderation report column rules.

Extends `status.md` with `spoiler_text`, `in_reply_to_uri`,
`sensitive`, and `edited_at` rules. Cross-links the specs from
`architecture/database-schema.md` and indexes new pages in
`SUMMARY.md` and `specs.md`.

Closes #12.

1288 of 1306 new or added lines in 11 files covered. (98.62%)

2 existing lines in 2 files now uncovered.

8220 of 8839 relevant lines covered (93.0%)

14.25 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
98.38
-0.3% crates/canisters/user/src/schema.rs
2
98.67
0.54% crates/canisters/directory/src/schema.rs
2
80.14
-0.55% crates/canisters/user/src/domain/activity/handle_incoming.rs
2
98.45
crates/libs/db-utils/src/media.rs

Coverage Regressions

Lines Coverage ∆ File
1
98.67
0.54% crates/canisters/directory/src/schema.rs
1
98.38
-0.3% crates/canisters/user/src/schema.rs
Jobs
ID Job ID Ran Files Coverage
1 24687878401.1 20 Apr 2026 08:16PM UTC 82
93.0
GitHub Action Run
Source Files on build 24687878401
  • Tree
  • List 82
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24687878401
  • bc877279 on github
  • Prev Build on main (#24605699019)
  • Next Build on main (#24767913249)
  • 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