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

payjoin / rust-payjoin / 12814449771
83%

Build:
DEFAULT BRANCH: master
Ran 16 Jan 2025 05:37PM UTC
Jobs 1
Files 32
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

16 Jan 2025 05:36PM UTC coverage: 60.489% (-0.3%) from 60.766%
12814449771

push

github

web-flow
Separate receive::{v1,v2} error modules (#482)

This big move isolates v1/v2 module-specific error variants into clean
module v1/v2 error modules.

There are probably too many `impl<From>` for error variants, but this
addresses the module structure first with this PR and will be followed by
taking a magnifying glass to the way specific variants are handled.

This still also leaves `OutputSubstitutionError`, `SelectionError` and
`InputContributionError` from producing JSON error responses to cancel a
session with a v2 receiver. We're going to need to address that as part
of #403. v2 Error variants also improperly produce JSON errors, but I
think the way this was done by abusing `fmt::Display` is also an
antipattern to fix at the same time that's addressed. I'd like to leave
the JSON receiver error fixes to a follow up since what gets revealed is
potentially sensitive and we should be reviewing that change with extra
scrutiny.

See: #312, #392, #403

48 of 188 new or added lines in 7 files covered. (25.53%)

2 existing lines in 2 files now uncovered.

2947 of 4872 relevant lines covered (60.49%)

950.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
20.0
0.0% payjoin/src/receive/v2/error.rs
9
91.01
payjoin/src/receive/v1/mod.rs
9
86.14
1.37% payjoin/src/receive/v2/mod.rs
16
0.0
0.0% payjoin-cli/src/app/v2.rs
27
0.0
0.0% payjoin-cli/src/app/v1.rs
36
21.28
10.09% payjoin/src/receive/error.rs
36
0.0
payjoin/src/receive/v1/error.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
21.28
10.09% payjoin/src/receive/error.rs
1
0.0
0.0% payjoin-cli/src/app/v1.rs
Jobs
ID Job ID Ran Files Coverage
1 12814449771.1 16 Jan 2025 05:37PM UTC 32
60.49
GitHub Action Run
Source Files on build 12814449771
  • Tree
  • List 32
  • Changed 8
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12814449771
  • e439b69a on github
  • Prev Build on master (#12795849419)
  • Next Build on master (#12832868611)
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