Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backports opened against wrong parent PR #502

Open
JoeSzymanskiFAN opened this issue May 8, 2024 · 0 comments
Open

Backports opened against wrong parent PR #502

JoeSzymanskiFAN opened this issue May 8, 2024 · 0 comments

Comments

@JoeSzymanskiFAN
Copy link

I've run into a strange scenario every once in a while that I haven't been able to track down.

Rarely, we will have the backport script run and one backport PRs that have the correct commits, but are associated with the wrong parent PR.

For example, PR 1234 will merge, which kicks off the script. It runs with a command similar to:

backport --repo "repo" \
                --accessToken "${GITHUB_TOKEN}" \
                --pullNumber 1234 \
                --noFork \
                --nonInteractive \
                --commitConflicts \
                --label "automated backport" \
                --source-branch "sourceBranch" \
                --target-branch "targetBranch"

the output of the backport job correctly lists the commits from PR 1234, but incorrectly lists the source PR as something different, say 2345 (which is a still-open PR).

Any debugging suggestions would be helpful. I haven't been able to track down why this mismatch is occurring, and it's been causing some confusion when it happens.

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

No branches or pull requests

1 participant