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

divviup / divviup-api / 25528517822
69%

Build:
DEFAULT BRANCH: main
Ran 07 May 2026 11:57PM 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

07 May 2026 11:53PM UTC coverage: 58.564% (-0.3%) from 58.845%
25528517822

push

github

web-flow
Migrate from Trillium [part 7B]: aggregators and tasks (#2246)

Migrate all aggregator and task routes from Trillium to Axum. These are
the "hard handlers" — they make outbound HTTP calls to DAP aggregator
services via trillium_client::Client.

Notable changes:
- Split aggregators::index into index_shared (GET /api/aggregators) and
  index_for_account (GET /api/accounts/{id}/aggregators) instead of
  checking conn.param("account_id") at runtime
- admin_create checks actor.is_admin() inline, returns NotFound for
  non-admins (matching existing behavior of hiding admin endpoints)
- tasks::delete uses Query<DeleteParams> instead of QueryStrong for the
  ?force=true parameter
- tasks::show uses httpdate for Last-Modified header

That change to the `force` query makes it strict: before, any unparseable value
(e.g. ?force=garbage, ?force=) silently became false, while now if it's not a bool,
serde is going to error it out. I think that's an improvement, but I want to call
it out.

The Trillium router now contains only admin routes. All Trillium handler
functions for aggregators and tasks are removed. Test assertions updated
from assert_not_found to assert_response 403 for routes that now go
through the Axum extract_entity / FromRequestParts path.

210 of 212 new or added lines in 6 files covered. (99.06%)

42 existing lines in 6 files now uncovered.

4510 of 7701 relevant lines covered (58.56%)

65.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
67.19
0.0% src/routes/collector_credentials.rs
1
88.89
-2.84% src/routes/tasks.rs

Coverage Regressions

Lines Coverage ∆ File
8
79.49
-10.26% src/permissions.rs
8
89.74
-3.89% src/routes/aggregators.rs
8
88.89
-2.84% src/routes/tasks.rs
7
81.03
-12.07% src/routes/accounts.rs
6
64.41
-5.08% src/handler/error.rs
5
26.32
-26.32% src/handler/opentelemetry.rs
Jobs
ID Job ID Ran Files Coverage
1 25528517822.1 07 May 2026 11:57PM UTC 119
58.56
GitHub Action Run
Source Files on build 25528517822
  • Tree
  • List 119
  • Changed 11
  • Source Changed 6
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25528517822
  • 91680da3 on github
  • Prev Build on main (#25418182582)
  • Next Build on main (#25568019997)
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