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

Release wizard to split clean and check calls to separate calls #13843

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

javanna
Copy link
Contributor

@javanna javanna commented Oct 1, 2024

While preparing Lucene 10 RC1, I had an issue running the release script from branch_10_0. It reproduces on branch_10x as well. The ./gradle clean check command fails with the following gradle error and some huge tasks dependency output:

Unable to make progress running work. There are items queued for execution but none of them can be started

@ChrisHegarty confirmed that he could reproduce the same issue on his machine as well. I worked around this by splitting the clean and check into two separate calls, in which case everything works fine. I pushed that work-around to branch_10_0 to unblock the release process, and I am opening this to discuss whether this is a change that we should make to main and branch_10_0, at least until we have figured out what causes the issue and we have a fix.

This works around a gradle issue when calling `clean check` from a single command.
Copy link
Member

@rmuir rmuir left a comment

Choose a reason for hiding this comment

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

There have been known issues with invoking clean at the same time as other targets like this. FYI: I do see the same idiom in releaseWizard.yaml as well.

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

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

LGTM

@javanna
Copy link
Contributor Author

javanna commented Oct 1, 2024

Thanks for the feedback, then it sounds like it's a thing that may have happened on branch_9x as well in the past? I have never experienced it and I assumed that it must have been caused by some change we made in main, but that's quite hard to track.

@javanna javanna merged commit bb2d09f into apache:main Oct 1, 2024
2 of 3 checks passed
javanna added a commit that referenced this pull request Oct 1, 2024
While preparing Lucene 10 RC1, I had an issue running the release script from branch_10_0. It reproduces on branch_10x as well. The ./gradle clean check command fails with the following gradle error and some huge tasks dependency output:

Unable to make progress running work. There are items queued for execution but none of them can be started

I worked around this by splitting the clean and check into two separate calls, in which case everything works fine.am making this change at least until we have figured out what causes the issue and we have a fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants