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

Unexpected internal resolution failure with capability conflict handling #29208

Closed
big-guy opened this issue May 17, 2024 · 2 comments
Closed
Assignees
Labels
a:regression This used to work in:dependency-resolution engine metadata
Milestone

Comments

@big-guy
Copy link
Member

big-guy commented May 17, 2024

Current Behavior

When resolving a particular configuration with capability conflicts, the build fails with an internal error:

Execution failed for task ':dependencies'. |  
Problems reading data from Binary store in /Users/bene/.gradle/.tmp/gradle14690425166727664849.bin offset 0 exists? true |  

Expected Behavior

No exception

Context (optional)

No response

Steps to Reproduce

Bisected to cdb7868 which was introduced in 8.8

Gradle version

8.8 RC1

Gradle version that used to work

8.7

Build scan URL (optional)

https://scans.gradle.com/s/sfzjpw47aqvda/tests/task/:test/details/org.gradlex.jvm.dependency.conflict.samples.SamplesTest/sample-all_build.sample?top-execution=1

Your Environment (optional)

No response

@big-guy big-guy added a:regression This used to work in:dependency-resolution engine metadata to-triage labels May 17, 2024
@big-guy big-guy added this to the 8.8 RC2 milestone May 17, 2024
@ljacomet ljacomet self-assigned this May 22, 2024
@ljacomet
Copy link
Member

We discussed this, and I will revert the fix done in #28218 because while it fixes some broken builds, it also breaks working ones.
Capability conflict handling needs a complete solution to become more reliable.
We will start working on this right now for an upcoming release.

@ljacomet
Copy link
Member

"Fixed" with #29249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:regression This used to work in:dependency-resolution engine metadata
Projects
None yet
Development

No branches or pull requests

3 participants