Skip to content

fix(core): in health endpoint, filter enabled extension providers#768

Merged
fhussonnois merged 1 commit into
streamthoughts:mainfrom
jeroen92:health-filter-enabled-extensions
May 13, 2026
Merged

fix(core): in health endpoint, filter enabled extension providers#768
fhussonnois merged 1 commit into
streamthoughts:mainfrom
jeroen92:health-filter-enabled-extensions

Conversation

@jeroen92

Copy link
Copy Markdown

The /health endpoint is throwing internal server errors e.g. when only having the jikkou and kafka providers enabled:

Health indicator [iceberg] reported exception: io.jikkou.core.extension.exceptions.NoSuchExtensionException: No extension registered for type 'interface io.jikkou.core.health.HealthIndicator', and qualifier '@Named(iceberg) and @Enabled(true)'

This is caused by the findAllDescriptorsByClass() call not filtering for enabled extensions. This commit implemenents a trivial fix to do such filtering.

The /health endpoint is throwing internal server errors e.g. when only
having the jikkou and kafka providers enabled:
```
Health indicator [iceberg] reported exception: io.jikkou.core.extension.exceptions.NoSuchExtensionException: No extension registered for type 'interface io.jikkou.core.health.HealthIndicator', and qualifier '@nAmed(iceberg) and @enabled(true)'
```

This is caused by the findAllDescriptorsByClass() call not filtering for
enabled extensions. This commit implemenents a trivial fix to do such
filtering.
@jeroen92 jeroen92 requested a review from fhussonnois as a code owner May 12, 2026 14:38
@fhussonnois

Copy link
Copy Markdown
Member

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

@fhussonnois

Copy link
Copy Markdown
Member

Hey, thank you for your contribution ;)

@fhussonnois fhussonnois merged commit e44a3f6 into streamthoughts:main May 13, 2026
1 of 2 checks passed
@jeroen92

Copy link
Copy Markdown
Author

And thank you for maintaining this tool, it's been very helpful :)

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