-
Notifications
You must be signed in to change notification settings - Fork 467
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
[WFCORE-7031] Do not provision unstable annotation module for stabili… #6218
Conversation
@@ -30,7 +30,7 @@ | |||
<module name="org.wildfly.extension.core-management-client"/> | |||
<module name="org.wildfly.security.elytron-private"/> | |||
<module name="org.wildfly.service"/> | |||
<module name="org.wildfly.unstable.annotation.api.indexer"/> | |||
<module name="org.wildfly._internal.unstable-api-annotation-index"/> | |||
<module name="org.wildfly.unstable.annotation.api.indexer" optional="true"/> |
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'm not totally familiar with how this works.
Does being optional AND the dependency having jboss.stability=preview
mean it gets provisioned?
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.
When core-management is transformed onto a Galleon package, dependencies on optional modules are ignored. An optional module is expected to be provisioned from another root. For example, a layer, a subsystem, ...
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.
Looking for 'org.wildfly._internal.unstable-api-annotation-index' and 'org.wildfly.unstable.annotation.api.indexer' in the wildfly-core sources, I don't see those being referenced anywhere that could make a difference apart from via this module dependency
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've added the packages via model.xml, let's see how it goes
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@yersan Failures seem related |
@yersan I think that the inclusion thanks to model.xml of these 2 modules need to be replicated in WildFly Full repo. |
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.
Other than the WildFly full failure that should require changes in WildFly itself, that is good with me.
This comment was marked as outdated.
This comment was marked as outdated.
@jfdenise @kabir I am missing something here. If we add packages via model.xml, are those packages provisioned when we are trimming the server using layers? I mean, the error:
Looks legit to me, but I guess adding them to model.xml won't fix it in WildFly. Also, I don't get why the Galleon Jobs passed under the current situation for WildFly Core, I would expect them to fail due the above assumption where packages are not added to layers if they are declared only in model.xml What I am missing? |
@yersan , when included in standalone/model.xml, layers will benefit from them. Layers based provisioning inherits from model.xml content. |
Integration Jobs (until the WildFly Counterpart gets merged) https://ci.wildfly.org/viewLog.html?buildId=462644 (Linux integration) |
…ty levels higher than preview
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This one needs wildfly/wildfly#18287 merged first |
wildfly/wildfly#18287 was merged, so kicking off the integration Jobs again |
Hello @kabir , now CI looks green, so I think we are ready to go, would you mind reviewing it again and approved from your side? thanks! |
Hi, According to my understanding it now looks correct. From @jfdenise previous comment:
|
Yes, this is what we did here and in WildFly with the @kabir based on your feedback, I assume this is approved from your side (I don't see the green tick under your review though) |
…ty levels higher than preview
Jira issue: https://issues.redhat.com/browse/WFCORE-7031