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

divviup / divviup-api / 25222483819
59%

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 04:26PM UTC
Jobs 1
Files 119
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

01 May 2026 04:24PM UTC coverage: 58.828% (+1.0%) from 57.824%
25222483819

push

github

web-flow
Migrate from Trillium [part 7A]: API sub-router and CRUD routes (#2235)

Wire the Axum `/api` sub-router and migrate 17 simple CRUD handlers
for users, accounts, memberships, API tokens, and collector
credentials. Trillium remains primary and handles MIME type
validation, auth gating, and session management during the proxy
transition period.

Key changes:
- Add `extract_entity` helper for permission-checked entity lookups
- Add `Json<T>` extractor using serde_path_to_error for error parity
- Add test-user injection shim so integration tests work through proxy
- Ensure `User::from_parts` always populates admin flag
- Return 404 (not 403) on permission failures to hide resource existence

157 of 177 new or added lines in 11 files covered. (88.7%)

22 existing lines in 4 files now uncovered.

4518 of 7680 relevant lines covered (58.83%)

62.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
80.0
80.0% src/handler/extract.rs
6
67.19
-12.18% src/routes/collector_credentials.rs
3
36.67
-0.25% src/handler/oauth2.rs
2
97.33
11.62% src/user.rs

Coverage Regressions

Lines Coverage ∆ File
12
67.19
-12.18% src/routes/collector_credentials.rs
8
75.56
-10.81% src/routes/api_tokens.rs
1
77.27
4.55% src/entity/aggregator/role.rs
1
69.49
0.46% src/handler/error.rs
Jobs
ID Job ID Ran Files Coverage
1 25222483819.1 01 May 2026 04:26PM UTC 119
58.83
GitHub Action Run
Source Files on build 25222483819
  • Tree
  • List 119
  • Changed 16
  • Source Changed 13
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25222483819
  • a2ba5082 on github
  • Prev Build on main (#25222136258)
  • Next Build on main (#25223044562)
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