Skip to content

Conversation

@radcortez
Copy link
Member

We cache the list of property names because they are expensive to calculate on every call to org.eclipse.microprofile.config.Config#getPropertyNames (the spec, leaves that open to the implementation).

Now, because in Quarkus, we mutate configuration during tests, we cannot cache the list of names, so we need to call io.smallrye.config.SmallRyeConfig#getLatestPropertyNames.

With this PR, we can disable the caching for the test config and rely solely on getPropertyNames.

@radcortez radcortez force-pushed the cache-property-names-in-builder branch from afde15f to 4b47ed5 Compare December 4, 2025 00:50
@radcortez radcortez merged commit 3b2dd2b into smallrye:main Dec 4, 2025
8 checks passed
@github-actions github-actions bot added this to the 3.14.2 milestone Dec 4, 2025
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.

1 participant