Closed grvillic closed 3 months ago
Attention: Patch coverage is 84.21053%
with 9 lines
in your changes missing coverage. Please review.
Project coverage is 76.4%. Comparing base (
80cff26
) to head (da07236
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
👋 Hi! It looks like you modified some files in the Detectors
folder.
You may need to bump the detector versions if any of the following scenarios apply:
devDependencies
values than beforeIf none of the above scenarios apply, feel free to ignore this comment 🙂
Context
MvnCLI can hang when scanning directories with significant amount of pom.xmls. At the moment it is hard to tell if this is bug in the detector itself or Mvn CLI APIs.
Solution
We are adding logs to be able to improve troubleshooting the detector, and we are also introducing a build variable called
MvnCLIFileLevelTimeoutSeconds
that will allow users restrict max time execution per each processed file. Screenshot below on how the logs when the build variable sets a very low threshold, and the tool cancels the command's execution.