-
Notifications
You must be signed in to change notification settings - Fork 50
fix: deployment failure because no tests were run by VMLens #1634
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: deployment failure because no tests were run by VMLens #1634
Conversation
fix: for open-feature#1611 Signed-off-by: ThomasKrieger <[email protected]>
Summary of ChangesHello @ThomasKrieger, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request resolves a critical deployment failure by upgrading the VMLens dependencies to a version that correctly handles scenarios where no tests are defined. This ensures that the build process no longer halts unexpectedly due to VMLens's behavior in such situations, leading to more robust and reliable deployments. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request updates the VMLens dependency and maven plugin to version 1.2.15 to resolve a build failure. The change is correct and addresses the issue described. I've added one suggestion to improve maintainability by using a Maven property for the VMLens version, which will make future updates easier and prevent version inconsistencies.
| <groupId>com.vmlens</groupId> | ||
| <artifactId>api</artifactId> | ||
| <version>1.2.14</version> | ||
| <version>1.2.15</version> |
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.
To improve maintainability and avoid potential version mismatches, consider defining the VMLens version as a property in the <properties> section and using it for both this dependency and the vmlens-maven-plugin (line 354). This is a common practice in this pom.xml for other dependencies like Mockito.
For example:
- Add
<vmlens.version>1.2.15</vmlens.version>to the<properties>block at the top of the file. - Use
${vmlens.version}for the version here and for the plugin.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1634 +/- ##
============================================
+ Coverage 91.80% 93.41% +1.60%
- Complexity 487 491 +4
============================================
Files 46 46
Lines 1184 1184
Branches 105 105
============================================
+ Hits 1087 1106 +19
+ Misses 66 48 -18
+ Partials 31 30 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@ThomasKrieger why were no vmlens tests run, and don't we want the build to fail if no tests were run (as this could indicate a problem with out test setup)? |
|
@chrfwow this was during the release.yml github step deploy line 63: Which led to the build failure for the last pipeline. |
|
I'll approve this as it is only a library update. Please re-request a review if you do change something in the github actions |
|
@chrfwow I added vmlens/vmlens#45 to fix this in VMLens |
|



fix: for #1611 and following build error
This PR
moved to a new VMLens version which can handle no tests
How to test
mvn -DskipTests clean verify should run