Skip to content

Fix failing reproducibility checks - #2003

Merged
spacebear21 merged 1 commit into
payjoin:masterfrom
spacebear21:dart-stage-core-from-revision
Oct 22, 2026
Merged

spacebear21 merged 1 commit into
payjoin:masterfrom
spacebear21:dart-stage-core-from-revision

Conversation

@spacebear21

Copy link
Copy Markdown
Collaborator

Turns out code changes sometimes!

Reviewer: @xstoicunicornx can you please rebase #1971 on top of this to confirm that it fixes CI?

Pull Request Checklist

Please confirm the following before requesting review:

The staged Dart package takes payjoin-ffi from the pinned revision but
payjoin and payjoin-mailroom from crates.io. Staging only switched a
crate to the revision when its required version was missing from
crates.io. A pull request that changes core without a version bump,
which is how core changes normally land, kept the crates.io core, so
the reproducible-linux job compiled the pull request's payjoin-ffi
against an older payjoin and failed. payjoin#1971 hits this with new
Monitor receiver methods.

Add a --core-from-revision option that always patches the sibling
release crates to the pinned revision and writes the UNPUBLISHED_CORE
marker publish.sh refuses, and pass it on pull
request runs only. Release runs keep staging against crates.io, so
an unpublished core still fails there before anything is published.
This also drops the crates.io API probing.
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 39756017738

Coverage remained the same at 87.471%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 17854
Covered Lines: 15617
Line Coverage: 87.47%
Coverage Strength: 319.81 hits per line

💛 - Coveralls

@benalleng benalleng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ACK 9cd951d

@spacebear21

Copy link
Copy Markdown
Collaborator Author

@spacebear21
spacebear21 merged commit 45790ec into payjoin:master Oct 22, 2026
49 checks passed
@xstoicunicornx

Copy link
Copy Markdown
Collaborator

FYI some feedback from claude:

prepare-publish.sh could write duplicate [patch.crates-io.<dep>] tables. The loop now ignores the version requirement (read -r dep _), but de-duplication still runs sort -u on whole dep\treq lines. Today
     payjoin-ffi and payjoin-test-utils both require 1.2.0, so it works. If those requirements ever differ, the same patch table is written twice and the TOML won't parse. Fix: cut -f1 | sort -u. Separately,
     this commit is by another author and fixes CI. If it's meant to land as its own PR, say so in the PR description or rebase onto it.

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.

4 participants