Skip to content

Add native support for yaml files - #525

Merged
ricardozanini merged 1 commit into
quarkiverse:mainfrom
fjtirado:add_native_support_for_yaml
May 5, 2026
Merged

ricardozanini merged 1 commit into
quarkiverse:mainfrom
fjtirado:add_native_support_for_yaml

Conversation

@fjtirado

@fjtirado fjtirado commented May 5, 2026 •

Copy link
Copy Markdown
Contributor

After open-workflow-specification/sdk-java#1370, reading of yaml files on native mode should start working.

This adds a native test that fails with the current sdk version, remove the native classes that are not declared by the SDK and add a new L4CJ temporary fix.

Try this PR when Qflow is updated to the latest version

@fjtirado
fjtirado requested a review from a team as a code owner May 5, 2026 17:48
Comment on lines +52 to +53
"org.hibernate.validator.internal.constraintvalidators.bv.PatternValidator",
"org.hibernate.validator.internal.constraintvalidators.bv.NotNullValidator")

@fjtirado fjtirado May 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hibernate is not declaring these classes as native sensitive, so we need them in the native set


quarkus.native.resources.includes=openapi/problematic.json
quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkiverse.langchain4j.QuarkusJsonCodecFactory$ObjectMapperHolder No newline at end of file
quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkiverse.langchain4j.QuarkusJsonCodecFactory$ObjectMapperHolder\\,io.quarkiverse.langchain4j.QuarkusJsonCodecFactory$SnakeCaseObjectMapperHolder No newline at end of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Another class that need runtime initialization for L4cj

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The test that is failing on native with the current sdk version (because that one is testing a yaml definition)

@ricardozanini
ricardozanini merged commit 35f657c into quarkiverse:main May 5, 2026
8 checks passed
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

🙈 The PR is closed and the preview is expired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants