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

roachtest: build artifacts with PGO #138703

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rickystewart
Copy link
Collaborator

Epic: CRDB-41952
Release note: None

The `ci` configuration is overloaded and is used for a few different
things. It is used in builds to enable `lintonbuild`, and it's used in
tests to set some configurations that are useful in TeamCity (increased
verbosity, etc.)

While running lints every time we build in a paranoid, repetitive
fashion does mean that lint issues cannot go unnoticed, it does have a
performance impact (see cockroachdb#136626). Going forward, we will not have this
configuration imply `lintonbuild` and provide the option to disable
`nogo` for certain builds in automation. For example, `roachtest`s will
benefit from having lints disabled as well to speed up the build.

Here, we do the following:

1. Have `--config=ci` not imply enabling lints
2. Now, `--config=ci` has no specific meaning for builds (it's only
   meaningful for tests). So, I go through all the scripts and
   automation and remove it for builds specifically.
3. Disable `nogo` for release builds to reduce the likelihood of an OOM.

Part of: cockroachdb#136626
Epic: CRDB-41952
Release note: None
Part of: cockroachdb#136626
Epic: None
Release note: None
Epic: CRDB-41952
Release note: None
@rickystewart rickystewart requested a review from a team as a code owner January 8, 2025 23:56
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rickystewart
Copy link
Collaborator Author

rickystewart commented Jan 8, 2025

First commit is from #138698
Second commit is from #138702

Not to be merged before those two PR's

To be merged around the time #138700 is merged

@rickystewart rickystewart requested review from rail and jlinder January 8, 2025 23:57
@rickystewart
Copy link
Collaborator Author

bors r=rail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants