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

Remove adding test options to the project/build target name hash #3107

Merged
merged 4 commits into from
Aug 21, 2024

Conversation

MaciejG604
Copy link
Contributor

@MaciejG604 MaciejG604 commented Aug 15, 2024

The hash in the build target name is used to introduce caching when buildOptions are changed from the CLI. Otherwise, if options are changed from sources, Bloop recompiles the project anyway because the sources changed. Adding this new hash that comes from sources possibly creates new build targets every time somebody fiddles with some test scope options. It's just nonsense.

Also look at the comments in the code, we've made a rule and then stopped following it.

I understand those are changes with potentially weird consequences - let's see if CI is green

…is should not be put there. The hash in the build target name is used to introduce hashing when buildOptions are changed from the CLI. Otherwise, if options are changed from sources, Bloop recompiles the project anyway because the sources changed. Adding this new hash that comes from sources possibly creates new build targets every time somebody fiddles with some test scope options. It's just nonsense.

Also look at the comments in the code, we've made a rule and then stopped following it.
@Gedochao
Copy link
Contributor

The CI is green... although maybe adding some tests could increase our confidence about this 🤔

Copy link
Contributor

@Gedochao Gedochao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Gedochao Gedochao merged commit 6826e67 into VirtusLab:main Aug 21, 2024
78 checks passed
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.

2 participants