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

divviup / divviup-api / 26052175204
69%

Build:
DEFAULT BRANCH: main
Ran 18 May 2026 06:23PM UTC
Jobs 1
Files 116
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

18 May 2026 06:21PM UTC coverage: 59.364% (+0.9%) from 58.423%
26052175204

push

github

web-flow
Migrate from Trillium [part 9A]: Replace trillium_client with reqwest (#2265)

* Migrate from Trillium [part 9A]: Replace trillium_client with reqwest

Replace `trillium_client::Client` with a new `HttpClient` wrapper around
`reqwest::Client` that provides the same `with_base()`/`with_default_header()`
API surface the codebase relied on.

Key changes:
- OAuth2 flow now uses oauth2 crate's native reqwest support, eliminating the
  manual `ClientWrapper` that converted between trillium and http types
- `JobError` fields changed from `trillium::Method`/`Status` (which had serde
  support) to `String`/`Option<u16>` for serialization compatibility
- `bin.rs` crypto provider switched from `trillium_rustls::rustls` re-export
  to direct `rustls` dependency, since Tim pointed that out last review
- test-support bridged to start a real TCP mock server and point reqwest at it
- with_base() now appends a trailing slash (matching trillium_client
  behavior) so that Url::join works correctly with path prefixes
- OriginRouter switches to host-only matching (scheme-agnostic) since
  the mock server runs plain HTTP while clients use HTTPS base URLs

HttpClient gains a proxy_base field: when set, all outgoing requests
have their scheme+host+port rewritten to the proxy address while the
original host is preserved in the Host header. This lets tests point
every client at a single mock server that dispatches by Host.

An X-Original-URL header carries the pre-rewrite URL so that
ClientLogs can reconstruct the intended URL for test assertions.

213 of 263 new or added lines in 19 files covered. (80.99%)

6 existing lines in 4 files now uncovered.

4460 of 7513 relevant lines covered (59.36%)

66.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
44.19
7.52% src/handler/oauth2.rs
7
63.03
0.92% src/clients/auth0_client.rs
7
38.51
-0.8% src/config.rs
5
86.78
-2.38% src/entity/aggregator/new_aggregator.rs
5
58.93
4.83% src/queue/job.rs
4
95.92
20.92% src/clients.rs
1
0.0
0.0% src/bin.rs
1
92.11
-2.01% src/entity/aggregator/update_aggregator.rs

Coverage Regressions

Lines Coverage ∆ File
3
44.19
7.52% src/handler/oauth2.rs
1
63.03
0.92% src/clients/auth0_client.rs
1
38.51
-0.8% src/config.rs
1
72.73
-4.55% src/entity/aggregator/role.rs
Jobs
ID Job ID Ran Files Coverage
1 26052175204.1 18 May 2026 06:23PM UTC 116
59.36
GitHub Action Run
Source Files on build 26052175204
  • Tree
  • List 116
  • Changed 23
  • Source Changed 22
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26052175204
  • 8f51d766 on github
  • Prev Build on main (#25874010908)
  • Next Build on main (#26155705487)
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