Skip to content

Fold ohttp relay into mailroom#1409

Merged
spacebear21 merged 4 commits intopayjoin:masterfrom
spacebear21:fold-ohttp-relay-into-mailroom
Mar 13, 2026
Merged

Fold ohttp relay into mailroom#1409
spacebear21 merged 4 commits intopayjoin:masterfrom
spacebear21:fold-ohttp-relay-into-mailroom

Conversation

@spacebear21
Copy link
Collaborator

@spacebear21 spacebear21 commented Mar 12, 2026

Follow up on #1361 by folding the ohttp-relay crate into payjoin-mailroom and deleting the now-defunct crate.

The internal path dependency on ../ohttp-relay was the last thing preventing us from publishing payjoin-mailroom to crates.io, so this PR clears the way for a published release.

Authored with Claude

Pull Request Checklist

Please confirm the following before requesting review:

The internal path dependency on `../ohttp-relay` was the last thing
preventing us from publishing payjoin-mailroom to crates.io.

This commit folds all relay logic into the mailroom crate so that we can
simplify the dependency tree and delete the obsolete ohttp-relay crate
in a follow-up.
There are no dependents on the ohttp-relay crate outside of
payjoin-mailroom, which now houses all the relay logic.
@coveralls
Copy link
Collaborator

coveralls commented Mar 12, 2026

Pull Request Test Coverage Report for Build 23031061980

Details

  • 30 of 32 (93.75%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 84.125%

Changes Missing Coverage Covered Lines Changed/Added Lines %
payjoin-mailroom/src/lib.rs 10 12 83.33%
Totals Coverage Status
Change from base Build 23006553249: 0.3%
Covered Lines: 10646
Relevant Lines: 12655

💛 - Coveralls

@spacebear21 spacebear21 force-pushed the fold-ohttp-relay-into-mailroom branch 2 times, most recently from 0be5380 to ff17031 Compare March 13, 2026 00:19
These were previously necessary for the integration test, but we can now
use an actual mailroom instance instead of a custom ohttp_relay
listener.

The unix socket test wasn't adding much value AFAICT so I deleted it.
Unix sockets are supported by the mailroom `listener` parameter but we'd
just be testing an external dependency, not internal logic.
@spacebear21 spacebear21 force-pushed the fold-ohttp-relay-into-mailroom branch from ff17031 to 63e62ea Compare March 13, 2026 00:51
@spacebear21 spacebear21 marked this pull request as ready for review March 13, 2026 01:00
Copy link
Collaborator

@zealsham zealsham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack!

@spacebear21 spacebear21 merged commit 719bdd6 into payjoin:master Mar 13, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants