-
Notifications
You must be signed in to change notification settings - Fork 50
Add support for providing a raw commit SHA to compare against as a new comparison strategy #279
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
Add support for providing a raw commit SHA to compare against as a new comparison strategy #279
Conversation
| detector.affectedProjects, | ||
| CoreMatchers.`is`( | ||
| emptySet() | ||
| emptySet<Map<ProjectPath, Project>>() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this line may be causing a test failure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted the change here, 8ac7364, to test if it passes on CI. It might be a build incompatibility with my machine if it's not happening on main. Without this change I get:
> Task :affectedmoduledetector:compileTestKotlin FAILED
e: file:///Users/ivanalvarado/Developer/AffectedModuleDetector/affectedmoduledetector/src/test/kotlin/com/dropbox/affectedmoduledetector/AffectedModuleDetectorImplTest.kt:358:17 Not enough information to infer type variable T
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange, not sure what is going on for you locally looking at that buildscan but it appears this fixed CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even stranger, this passed on CI but then failed. going to investigate a bit more when i have a minute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it was introduced by #255. I'll also take a look when I have a chance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Figured it out, still not sure how this passed on your PR but resolved in #281
This reverts commit 2586a3d.
Summary
Usage