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

veeso / mastic / 25099057961
92%

Build:
DEFAULT BRANCH: main
Ran 29 Apr 2026 08:47AM UTC
Jobs 1
Files 95
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

29 Apr 2026 08:37AM UTC coverage: 91.736% (-0.03%) from 91.768%
25099057961

push

github

veeso
feat(directory): implement search_profiles query (UC8)

Implements the `search_profiles` Directory query for user discovery
(WI-1.5, closes #16). Substring case-insensitive match over `users.handle`
with pagination (limit capped at 50). Only Active users with a canister
are returned; CreationPending, CreationFailed, DeletionPending, and the
new Suspended status are excluded.

- Adds `UserCanisterStatus::Suspended` variant + encode/decode/order/display.
- Replaces stale `SearchProfilesError::Unauthorized` with `BadArgs` and
  `Internal(String)`.
- Argument validation in `inspect_search_profiles` (limit bounds, sanitized
  handle); empty queries pass through and return all Active users.
- Updates interface/types.md and architecture.md to reflect the actual
  filter semantics and error variants.
- Tightens CLAUDE.md guidance to always update SUMMARY.md when adding/
  removing docs pages.
- Adds 23 unit tests + 12 pocket-ic integration tests covering exact/
  prefix/middle substring, case-insensitivity, `@`-prefix sanitization,
  pagination, empty query, no-match, every excluded status, anonymous
  caller, and trap on invalid limits.

293 of 324 new or added lines in 8 files covered. (90.43%)

1 existing line in 1 file now uncovered.

9757 of 10636 relevant lines covered (91.74%)

15.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
88.12
crates/canisters/directory/src/domain/users/search_profiles.rs
9
0.0
0.0% crates/canisters/directory/src/inspect.rs
6
87.79
-3.17% crates/canisters/directory/src/api.rs
3
0.0
0.0% crates/canisters/directory/src/lib.rs
1
0.0
0.0% crates/libs/did/src/directory.rs

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% crates/canisters/directory/src/inspect.rs
Jobs
ID Job ID Ran Files Coverage
1 25099057961.1 29 Apr 2026 08:47AM UTC 95
91.74
GitHub Action Run
Source Files on build 25099057961
  • Tree
  • List 95
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25099057961
  • 22aac469 on github
  • Prev Build on main (#25076880780)
  • Next Build on main (#25186551020)
  • 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