Skip to content

Fix payjoin-cli v1 coverage #499

Closed

Description

@spacebear21

One thing I noticed is that payjoin-cli v1 is not covered, which is likely due to the missing _danger-local-https in contrib/coverage.sh for the v1 llvm-cov command. This can be addressed in a separate PR.

Originally posted by @spacebear21 in #497 (review)

Follow-up on #475 and #494

There is another issue, which is that payjoin-cli v1 does not handle SIGINT gracefully, so it still gets forcefully shutdown in the e2e tests despite using sigint.

We should add interrupt handlers to payjoin-cli v1 to fix this.

Activity

  1. added a commit that references this issue on Jan 20, 2025
    9b9ee81
  2. added a commit that references this issue on Jan 20, 2025
    7d8116e
  3. spacebear21 commented on Jan 20, 2025

    @spacebear21
    CollaboratorAuthor

    Reopened because payjoin-cli v1 still needs this to properly report coverage:

    There is another issue, which is that payjoin-cli v1 does not handle SIGINT gracefully, so it still gets forcefully shutdown in the e2e tests despite using sigint.

    We should add interrupt handlers to payjoin-cli v1 to fix this.

  4. added 2 commits that reference this issue on Jan 22, 2025
    e370ef5
    3f975c6
  5. nothingmuch commented on Jan 24, 2025

    @nothingmuch
    Contributor

    Related issue: in #497 payjoin-cli resume tries to print after handling SIGINT, resulting in Broken pipe crash.

    After sending sigint, child processes should have their stdout drained, and then waited on asserting that exit status was 0.

  6. added a commit that references this issue on Jan 28, 2025
    ace3cdd
  7. added a commit that references this issue on Feb 7, 2025
    e56520a
  8. added a commit that references this issue on Sep 28, 2025
    8b21b2f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions