-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
k8s-ci-robot closes PR in different repo without right to reopen it #5032
Comments
/cc @cjwagner |
is the original comment text something like |
regardless of why it was closed, they cannot reopen the PR, which is itself a bug |
I just checked the logs and it doesn't look like Prow closed the PR, I think its because the issue was linked in the PR body.
The relevant bit:
|
This nailed us as well ... :( It is reading all of the linked issues and closing them |
This is just an annoying GitHub feature. If a PR body or commit message says "fixes someorg/somerepo#12345" then when that PR is merged GitHub will close the thing. This is particularly annoying in commit messages, because sometimes when I sync my k/k fork I'll close random issues in other repos. |
@cjwagner ah, I think I have an open issue about catching that error and reporting it to the user. |
I did not do that, don't blame me 😞 How about I tell you a joke |
@k8s-ci-robot: I bought shoes from a drug dealer once. I don't know what he laced them with, but I was tripping all day. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Yah this may be different. The issue was just mentioned, and the merge bot closed the issue NOT GitHub. |
GitHub closes it as whoever merged the PR or pushed the commit. See this example where I supposedly closed an issue. Actually all I did was sync my fork of kubernetes.
That's strange. Maybe the author edited the PR body? |
I'm ok with closing issues by PR, but why PR A is closed when PR B is merged, considering that PR B was just mentioned in PR A. By mentioned I mean no one used keyword as fixes, closes, etc. |
This is a GitHub feature. "k8s-ci-robot closed this in..." is misleading.
The robot merged the PR which caused *GitHub* to close the mentioned PR in
response because to GitHub PRs are also issues. We cannot change this
behavior unfortunately since it is internal to GitHub.
…On Oct 19, 2017 00:29, "Marian Lobur" ***@***.***> wrote:
I'm ok with closing issues by PR, but why PR A is closed when PR B is
merged, considering that PR B was just mentioned in PR A. By mentioned I
mean no one used keyword as fixes, closes, etc.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5032 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA4Bq71CE026nh2hAMBcYI3DRnTjuPdlks5stvpogaJpZM4P7uOu>
.
|
If the robot had just closed it on its own you would see something like "closed by k8s-ci-robot" whereas "@user closed this in " means merging the linked PR caused GitHub to close it. |
Wow, that's really terrible feature. I'm surprised that I can't actually mention other PR's from the comments of different PR. @BenTheElder Thanks for the explanation, I think that we can close it now. |
@loburm I think the problem is mention |
We should disallow commit messages with fixes #foo |
Heh, I wish. |
We could block PRs with commits that contain messages like that. It could just manage a new |
The "annoying feature" https://help.github.com/articles/closing-issues-using-keywords/
|
The coresponding issue? This is not corresponding. This smells like a github bug |
kubernetes/enhancements#383 :( |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Recently we've had people looking at blocking merges that would trigger this behavior cc @nikhita |
/close |
@spiffxp: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This has happened in kubernetes-retired/heapster#1844. Author has referenced in one of his comments PR from the test-infra. Once PR in test-infra was merged original PR was closed by the k8s-ci-robot, and looks like no one has a permission to reopen it.
The text was updated successfully, but these errors were encountered: