forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev,bazel: don't do
nogo
checks by default; have doctor
advise
Up until this point `nogo` has been enabled by default and we've required opting out with `--config nonogo`. Unfortunately `nogo` has a non-negligible performance impact (see cockroachdb#73944) so having it on by default is not what we want to be doing. Preserving the current behavior as opt-in is still desirable though. We have `dev doctor` advise about this case and recommend that you explicitly set one of `--config lintonbuild` or `--config nolintonbuild`. If you have neither or both configured, `doctor` will detect that. (You can still override one with the other on the command line.) We also have `dev lint` build `cockroach-short` with `nogo` if running in non-`short` mode to cover that case for people who have opted out of `nogo`. `--config nonogo` is still supported as an alias for `nolintonbuild`. Closes cockroachdb#73944. Closes cockroachdb#78666. Release note: None
- Loading branch information
1 parent
cf9df80
commit 2892546
Showing
9 changed files
with
95 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters