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

shinghim / rust-payjoin / 15523349293

06 Jun 2025 10:18PM UTC coverage: 85.147% (+2.9%) from 82.246%
15523349293

push

github

web-flow
Merge parallel feature flag local certificate logic in cli ohttp (#726)

These ohttp functions had parallel methods when running tests vs running
in production. This made it difficult to read as there were two
functions that appeared to do completely different things when a feature
flag was present.

Because localhost relays are not actually able to be proxies here we
still need to opportunistically select them from the config when running
our tests instead of just allowing local cert validation.
```
[2025-05-30T17:17:53Z DEBUG payjoin_cli::app::v2::ohttp] Failed to connect to relay: http://localhost:34391/, Internal(InternalError(Reqwest(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("payjo.in")), port: None, path: "/.well-known/ohttp-gateway", query: None, fragment: None }, source: hyper_util::client::legacy::Error(Connect, "unsuccessful tunnel") })))
```

36 of 36 new or added lines in 2 files covered. (100.0%)

269 existing lines in 16 files now uncovered.

6816 of 8005 relevant lines covered (85.15%)

579.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.61
/payjoin-cli/src/main.rs


Source Not Available

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