-
Notifications
You must be signed in to change notification settings - Fork 137
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
[#3547] Migrate to Quarkus 3.2.6.Final #3556
[#3547] Migrate to Quarkus 3.2.6.Final #3556
Conversation
Is it possible to run Hono native image integration tests from this PR code? It would ease my work with native image support a lot if I would get results from automated build here. |
Wow, thanks for working on this 👍 Most of the changes seem to be related to simply replacing the package names (which is good). Anyway, since there are quite some files affected, I will need some time to review ... |
Well, you can always run them on your workspace, right? |
Well I am having issues with native tasks on both my Windows and macOS dev environments actually;
Anyway, I can still compile the native images on Windows and see that succeeds at least and what warnings etc there might be. |
Ok, so you are not able to run the integration tests locally on your dev machine(s) and that is why you would like the https://github.com/eclipse-hono/hono/actions/workflows/native-images-tests.yml workflow to be run on your pull request, did I get that right? |
In a sense yes, but I am not familiar with these Github Actions at all, and I am rather asking is it possible to run this PR changes on that integration test pipeline you linked at all. And if it is it would be enough to do it only once there is changes in this PR, on a request basis for example. |
Ok, got it. Let me see what I can do ... |
I pushed the changes which works on my dev environment to build the native Hono images and there is some native image compiler check warnings only if I made the commit ok. I have not had time to run native image integration tests on these changes yet though. |
@harism sorry for messing up your branch. I was trying to fix a conflict with the master branch using GitHub's web based tooling. However, that resulted in a merge commit which I'd rather not have. Can you please remove my commit from your branch and rebase on current master's HEAD revision? |
@sophokles73 no worries, I did those steps you asked to. |
I am afraid your latest commit didn't do anything at all. |
@sophokles73 you're correct, I didn't do the rebase on master, hope it's better now. |
service-base/src/main/java/org/eclipse/hono/service/metric/MicrometerBasedMetrics.java
Show resolved
Hide resolved
@sophokles73 thank you for the thorough review effort, I think I got all your comments fixed. Truthfully, those comments you needed to mention multiple times why not use Quarkus default version, it just did not occur to me to remove whole depency and its version setting in bom/pom.xml until you told me to. |
service-base/src/main/java/org/eclipse/hono/service/tracing/SamplerProducer.java
Outdated
Show resolved
Hide resolved
cli/src/main/resources/META-INF/native-image/org.eclipse.hono/hono-cli/native-image.properties
Outdated
Show resolved
Hide resolved
service-base/src/main/java/org/eclipse/hono/service/metric/MicrometerBasedMetrics.java
Show resolved
Hide resolved
...n/resources/META-INF/native-image/org.eclipse.hono/hono-service-base/native-image.properties
Outdated
Show resolved
Hide resolved
...n/resources/META-INF/native-image/org.eclipse.hono/hono-adapter-base/native-image.properties
Outdated
Show resolved
Hide resolved
@harism can you please make sure to use an email address in your commit that matches your Eclipse account, otherwise the ECA check will fail. Please refer to https://www.eclipse.org/projects/handbook/#resources-commit for details ... |
...n/resources/META-INF/native-image/org.eclipse.hono/hono-service-base/native-image.properties
Outdated
Show resolved
Hide resolved
@harism this looks pretty good 👍 Would you mind adding yourself and/or the organization you are affiliated with to the list of copyright holders in @calohmn IMHO we should take a closer look at the changes to the |
@sophokles73 I will add copyright holder as part of [#3557] PR since it was first in queue to submit this change. |
@sophokles73 I'm currently having a look. There are some changes needed - they could be integrated in this PR still, I think. |
service-base/src/main/java/org/eclipse/hono/service/tracing/SamplerProducer.java
Outdated
Show resolved
Hide resolved
service-base/src/main/java/org/eclipse/hono/service/tracing/SamplerProducer.java
Outdated
Show resolved
Hide resolved
service-base/src/main/java/org/eclipse/hono/service/tracing/SamplerProducer.java
Outdated
Show resolved
Hide resolved
service-base/src/main/java/org/eclipse/hono/service/tracing/SamplerProducer.java
Show resolved
Hide resolved
A note on the property names in the
My intuition was to use the corresponding |
Looking good from my point of view 👍 |
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.
LGTM
Thanks a lot for your time and effort @harism 👍
We really appreciate it!
This PR is still slightly in progress.
Native image build is totally untested yet but there is so many changes already I think it's better make a PR now.
Please keep me posted on any improvements there might be and questions too.