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

fix scala plugins args order causing cache issues #16228

Merged
merged 2 commits into from Jul 19, 2022

Conversation

somdoron
Copy link
Contributor

@somdoron somdoron commented Jul 19, 2022

Use OrderedSet instead of set to solve non-determinstic order of targets. See #14195 (comment) for followup.

[ci skip-rust]
[ci skip-build-wheels]

@somdoron somdoron marked this pull request as draft July 19, 2022 19:31
@stuhood stuhood added the category:bugfix Bug fixes for released features label Jul 19, 2022
@stuhood stuhood added this to the 2.12.x milestone Jul 19, 2022
[ci skip-rust]

[ci skip-build-wheels]
Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

src/python/pants/jvm/compile.py Outdated Show resolved Hide resolved
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@somdoron somdoron requested a review from stuhood July 19, 2022 20:09
@somdoron somdoron marked this pull request as ready for review July 19, 2022 20:23
Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks a lot for investigating this!

As discussed offline, I'd like to prevent these issues holistically via #14195 (comment), so I'm fine not having a test for now.

@stuhood stuhood enabled auto-merge (squash) July 19, 2022 20:38
@stuhood stuhood merged commit 4246950 into pantsbuild:main Jul 19, 2022
stuhood pushed a commit to stuhood/pants that referenced this pull request Jul 19, 2022
Use `OrderedSet` instead of `set` to solve non-determinstic order of targets. See pantsbuild#14195 (comment) for followup.

[ci skip-rust]
[ci skip-build-wheels]
stuhood pushed a commit to stuhood/pants that referenced this pull request Jul 19, 2022
Use `OrderedSet` instead of `set` to solve non-determinstic order of targets. See pantsbuild#14195 (comment) for followup.

[ci skip-rust]
[ci skip-build-wheels]
Eric-Arellano pushed a commit that referenced this pull request Jul 19, 2022
) (#16234)

fix scala plugins args order causing cache issues (#16228)

Use `OrderedSet` instead of `set` to solve non-determinstic order of targets. See #14195 (comment) for followup.

[ci skip-rust]
[ci skip-build-wheels]

Co-authored-by: Doron Somech <somdoron@gmail.com>
stuhood added a commit that referenced this pull request Jul 20, 2022
) (#16233)

Use `OrderedSet` instead of `set` to solve non-determinstic order of targets. See #14195 (comment) for followup.

[ci skip-rust]
[ci skip-build-wheels]
jyggen pushed a commit to jyggen/pants that referenced this pull request Jul 27, 2022
Use `OrderedSet` instead of `set` to solve non-determinstic order of targets. See pantsbuild#14195 (comment) for followup.

[ci skip-rust]
[ci skip-build-wheels]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants