-
Notifications
You must be signed in to change notification settings - Fork 8
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
Automatic version detection fails when there are warnings #429
Comments
Note that if graal master is being built with JDK 24+3 EA, the warning doesn't happen and all should be good. So perhaps graalvm/mandrel#749 should be the actual fix for this? |
|
Re-opening the issue since I'm not aware we fixes the warnings handling. |
Indeed we don't fix the warning handling, but do we need to? The warning rightfully shows up when using an incompatible version. Do you suggest we should fail the mandrel build all together or bypass the warning and craft a version? |
Yes, we should. It would have avoided me going down the rabbit whole of why this is happening. We'd have similar info once we notice this in the version output: Before:
After:
I'm arguing producing this version output isn't helpful. The warning shown on the build doesn't have sufficient info:
My experiments showed that if we handled stdout/stderr output of this appropriately, we'd at least get a parsable version:
Example:
We could consume the full warning output and print that after a build of mandrel. For example like so:
Most solutions that come to mind would be better than the status quo, IMO. |
This issue appears to be stale because it has been open 30 days with no activity. This issue will be closed in 7 days unless |
This usually doesn't surface for release builds since they pass explicit version info using |
Currently, when one builds graal master with a JDK 23 build (e.g.
23+28
ea),mx graalvm-version
looks like this:This results in the following version output of a Mandrel build in CI:
We should handle this better as this results in parse errors on the Quarkus side when native integration tests run. E.g.
https://github.com/graalvm/mandrel/actions/runs/9637589282/job/26577524364#step:13:2945
The text was updated successfully, but these errors were encountered: