Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

ci: Add graalvm presubmit configs#3077

Merged
lqiu96 merged 46 commits into
mainfrom
create-graalvm-configs
Aug 26, 2025
Merged

ci: Add graalvm presubmit configs#3077
lqiu96 merged 46 commits into
mainfrom
create-graalvm-configs

Conversation

@lqiu96

@lqiu96 lqiu96 commented Aug 20, 2025

Copy link
Copy Markdown
Member

Add the missing graalvm configs that is required for PRs

image

Requires the corresponding cl/797418719


There is a temp issue created to handle the workaround in owlbot: googleapis/google-cloud-java#11965

@lqiu96 lqiu96 requested review from a team and Linchin August 20, 2025 19:28
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Aug 20, 2025
@lqiu96 lqiu96 requested a review from mpeddada1 August 20, 2025 19:32
@lqiu96 lqiu96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 20, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 20, 2025
@lqiu96 lqiu96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 20, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 20, 2025
mpeddada1
mpeddada1 previously approved these changes Aug 20, 2025
@product-auto-label product-auto-label Bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Aug 22, 2025
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels Aug 22, 2025
@product-auto-label product-auto-label Bot added size: xl Pull request size is extra large. and removed size: l Pull request size is large. labels Aug 25, 2025
@product-auto-label product-auto-label Bot added size: l Pull request size is large. and removed size: xl Pull request size is extra large. labels Aug 25, 2025
@lqiu96 lqiu96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 26, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 26, 2025

@diegomarquezp diegomarquezp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but a couple of questions I hope we can clarify in the description before continuing.

For the customNative vs native provided by shared-config, a separate issue makes sense to me since the change here is just moving the config inside the gapic bom.

</includes>
</configuration>
</plugin>
<plugin>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq:
https://github.com/googleapis/java-shared-config/blob/367086dc97b2eb91661ae48e46705368a0e64337/native-image-shared-config/pom.xml#L252
also declares a similar config for the native-maven-plugin. Do the customNative and native profiles cancel each other?

Also, did placing the customNative profile in the parent pom break the build?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're two separate profiles. For some reason BQStorage has non-default configs so it looks like it has a custom profile to use.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. I'll create a tracking issue to investigate this.

<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
<plugin>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq: how did this plugin become unnecessary?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java-shared-config defines it here: https://github.com/googleapis/java-shared-config/blob/367086dc97b2eb91661ae48e46705368a0e64337/java-shared-config/pom.xml#L596-L601

It is also activated by the EnableAutoValue.txt file which seems to generate it properly for JDK 24. I'm not entirely sure why it worked for JDK 11, 17, and 21, but not 24. Using the file method to activate it works.

@lqiu96 lqiu96 merged commit 1e24dd8 into main Aug 26, 2025
24 of 25 checks passed
@lqiu96 lqiu96 deleted the create-graalvm-configs branch August 26, 2025 16:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants