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

divviup / divviup-api / 24482858125
69%

Build:
DEFAULT BRANCH: main
Ran 15 Apr 2026 11:05PM UTC
Jobs 1
Files 118
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

15 Apr 2026 11:03PM UTC coverage: 58.092% (+0.6%) from 57.469%
24482858125

push

github

web-flow
Migrate from Trillium [part 3]: Axum middleware and error handling (#2199)

Build the Axum-side middleware stack so that migrated routes (part 5+)
will behave identically to their Trillium counterparts. No routes are
migrated in this change -- all existing tests pass unchanged.

- Add `IntoResponse` impl for the `Error` enum, mirroring the Trillium
  `ErrorHandler::before_send` status-code mapping (403, 404, 406, 400,
  500).
- Add `TowerSessionStore` implementing `tower_sessions_core::SessionStore`
  against the same `session` database table (wired in part 6 when auth
  routes migrate).
- Add `axum_cors_layer()` returning a `tower_http::cors::CorsLayer`
  matching the existing Trillium CORS behavior.
- Add `ReplaceMimeTypesLayer` / `ReplaceMimeTypesService` Tower
  middleware replicating the custom MIME type negotiation (wired onto the
  API sub-router in part 7).
- Wire compression, cache-control, and CORS layers onto the Axum router
  via `ServiceBuilder`.
- Add unit tests for error response mapping and MIME type middleware.

187 of 239 new or added lines in 5 files covered. (78.24%)

1 existing line in 1 file now uncovered.

4336 of 7464 relevant lines covered (58.09%)

60.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
51
26.13
-22.21% src/handler/session_store.rs
1
68.0
30.0% src/handler/error.rs

Coverage Regressions

Lines Coverage ∆ File
1
68.18
-4.55% src/entity/aggregator/role.rs
Jobs
ID Job ID Ran Files Coverage
1 24482858125.1 15 Apr 2026 11:05PM UTC 118
58.09
GitHub Action Run
Source Files on build 24482858125
  • Tree
  • List 118
  • Changed 7
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24482858125
  • 697ef591 on github
  • Prev Build on main (#24482835503)
  • Next Build on main (#24492602094)
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