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

Bot replied with error message after succesfull backport #423

Open
Antreesy opened this issue Feb 22, 2024 · 3 comments
Open

Bot replied with error message after succesfull backport #423

Antreesy opened this issue Feb 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Antreesy
Copy link

  • Error:
Failed to create pull request: Validation Failed:
{
"resource":"PullRequest",
"code":"custom",
"message":"A pull request already exists for nextcloud-libraries:backport/5282/next."
}
@Antreesy Antreesy added the bug Something isn't working label Feb 22, 2024
@skjnldsv
Copy link
Member

You were too fast, you commented and merged, so the webhook got sent almost at the same time and the close triggered a backport and your comment triggered another one.
It's a tough race condition 🙈

@Antreesy
Copy link
Author

Hm, I'm almost sure I left a comment after branch was merged and deleted. Is closing the PR suppose to trigger a backport, if it wasn't requested?

@skjnldsv
Copy link
Member

You clicked merge and commented within a few seconds each.

  • Merging will trigger the bot and parse all comments looking for a backport request (can take a few seconds)
  • Commenting on a merged PR will also trigger a backport instantly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants