-
Notifications
You must be signed in to change notification settings - Fork 17.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
x/build/cmd/watchflakes: don't reopen closed issues #57632
Comments
I made a change in my local copy of watchflakes so it won't reopen in this case. #57900 (comment) posted but not reopened. Seems working. |
@cherrymui watchflakes appears to have just reopened a bunch of issues. For example this one: I think the reason is that these were closed as a dupe, before the actual fix. Is that right? |
I've noticed that, because the If you know to look for it, you can manually edit the pattern to add I think a better behavior for closed issues would probably be:
|
Just a note: perhaps the new issue should mention the existing closed issue, to make it easier for people to notice the possible duplication. |
I've recently encountered several instances where watchflakes reopens closed issues, due to a test flake at a commit that actually precedes the fix (example https://go.dev/issue/57512#issuecomment-1371430442).
Watchflakes shouldn't reopen the issue in these cases. Posting to the issue seems fine, but perhaps with a message "not reopening as commit precedes the issue closure".
CC @rsc @cherrymui @bcmills
The text was updated successfully, but these errors were encountered: