-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus.jacoco.excludes doesn't work since 3.17.0 #44811
Comments
Can you please attach a sample that worked in previous versions and doesn't in Thanks |
Hi @geoand i am preparing a pet project and i noticed, that when using application.properties then it works, but if you use applicaton.yaml the it is not working. Seems to be an issue of quarkus yaml config |
Cool, let me know when you have something |
@geoand
i found out, that if you exchange in application-test.yaml in 3.17.0
to
than it works again Seems, that yaml extension in 3.17.0 handles yaml arrays on different way than 3.16.1 |
Interesting, thanks. @radcortez does that ring a bell? |
Yes, caused by this: smallrye/smallrye-config#1203, which we did to reduce some allocs. This shouldn't be required, because to populate a As a workaround, one can use the already found solution described in the issue or downgrade I'll see what I can do. Sorry for the inconvenience. |
Thanks for the info @radcortez! |
@radcortez so you're saying it would be fixed if we switched to |
Yes, that would fix it for this case. But there may be other root classes that have the same issue. |
Yes, what I'm saying is that depending on the complexity of the fix, it might be better to invest this time in migrating more config roots, given that's our ultimate goal. |
I was thinking of reverting the YAML source change and adding a note only to remove it once we remove all the old roots. |
Do we agree to proceed with the revert? I did try it, and it reverts to the previous behavior without any additional changes. I can release a new version of SR Config today and update it to this Tuesday's release. |
Yeah, sounds fine to me |
Yeah, sure, that would work for me! |
Describe the bug
does not take effect by creating jacoco report
Expected behavior
exclude subdirectories listed in yaml config
Actual behavior
generated classes excluded in yaml are in the code coverage calculation
How to Reproduce?
mvn clean test
look into jacoco report
Output of
uname -a
orver
Windows 10
Output of
java -version
21
Quarkus version or git rev
3.17.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)maven 3.9.9
Additional information
No response
The text was updated successfully, but these errors were encountered: