You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a task is executed from the IDE with the debugger enabled, the total build time reported will include all the debugging.
While this is expected, it might introduce some artificial outliers in the data. When looking into the p95, searching for long builds or aggregating results this might induce to a wrong analysis of the build health of a project.
I detected this by debugging some unit tests, which I believe is a pretty common use case when developing.
I noticed that IntellijIdea (checked with Android Studio) attaches 2 environment properties when debugging that are not present in normal runs:
Hi, @rolgalan. Thanks for taking the time to create this issue and corresponding PR.
Having an indicator that a build was using a debugger would be a good addition to CCUD.
We need to ensure the solution will work in all cases. It needs to work for the sibling CCUD Maven extension and other IDEs. It's also possible to attach a debugger to the build itself.
After taking a quick look at your PR, I don't see any reason your changes couldn't be ported to the Maven extension, but they don't support debugging from Eclipse.
We will continue having discussions internally about the direction we want to take with these changes and report back.
Hi! 👋
When a task is executed from the IDE with the debugger enabled, the total build time reported will include all the debugging.
While this is expected, it might introduce some artificial outliers in the data. When looking into the p95, searching for long builds or aggregating results this might induce to a wrong analysis of the build health of a project.
I detected this by debugging some unit tests, which I believe is a pretty common use case when developing.
I noticed that IntellijIdea (checked with Android Studio) attaches 2 environment properties when debugging that are not present in normal runs:
Any of these properties can be used to add a new tag like
IDE debugging
to identify (and filter out when required) these scans.I've added a draft PR #312 with a proposal to solve this. Let me know if you want to move it forward with this improvement :)
Thanks!
The text was updated successfully, but these errors were encountered: