-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
doc: allow test-only changes in security point releases #18163
Comments
Perhaps we just need a way for all.bash to explicitly ignore certain know
failing tests passed on command line.
|
@minux, that would not reduce all the duplicate bug reports we've received, because users would need to know the magic incantation to skip tests, and which to skip. |
The point of the restrictions is to reduce the risk of introducing a bug. There is no risk of introducing a production bug by editing a *_test.go file. There is some risk of breaking all.bash that might have worked before, but adding a t.Skip will not do that. Seems fine. Does anyone object to relaxing this to allow updating *_test.go files to fix/skip tests in point releases? |
See: golang/go#17276 Granted, gvm doesn't normally run the tests, but I like to run them to ensure a build is healthy: $ gvm install <some-version> $ gvm use <some-version> $ go tool dist test -no-rebuild (Hey, maybe this test step could become a future `gvm install` option?) Also per golang/go#18163, test fixes may eventually be permitted for security point releases, at which point patches like these can possibly go away (since the fix would then be to use a later point release on affected platforms).
No one seems to object. |
Leaving to Brad to figure out what the right new prefix (not "proposal:") is. |
I propose we modify the minor point release policy for security point releases to explicitly allow non-security changes, if the change is only in a test file.
That would have permitted us to bundle a fix to #17276 (see #17276 (comment)) in the latest Go 1.6.4 and Go 1.74 releases. As a result of that bug, many people can't run
all.bash
because their machines have updated tzdata files, and thetime
package now fails to pass.The text was updated successfully, but these errors were encountered: