Skip to content

Retriggering tests with builds from another pull request using GitHub url #2866

@kontura

Description

@kontura

Description

Retriggering with builds from another PR uses:

/packit test <namespace>/<repo>#<pr_id>

the problem is GitHub automatically picks up on <namespace>/<repo>#<pr_id> and makes it into an URL.
This would be a nice feature except when I copy the correct retriggering comment and paste it to a new comment GitHub changes it to:

/packit test https://github.com/<namespace>/<repo>/pull/<pr_id>

I believe this silently no longer uses the builds from <pr_id>.
To make matters worse GitHub hides the url and shows exactly the packit expected syntax. If I want to see what is actually used I have to go edit the comment.

For example these (unrelated PR) links look identical but one specifies full url:
kontura/librepo#4
vs
kontura/librepo#4

It would be nice if it worked with both or provided some feedback if the pr specification is not recognized.

Benefit

Less confusion why it doesn't pick up the expected builds.

Importance

No response

What is the impacted category (job)?

Testing Farm tests

Workaround

  • There is an existing workaround that can be used until this feature is implemented.

Participation

  • I am willing to submit a pull request for this issue. (Packit team is happy to help!)

Metadata

Metadata

Assignees

Labels

kind/featureA request, idea, or new functionality

Type

No type

Projects

Status

new

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions