Skip to content

chore: remove observability-kit exclusion#5326

Open
tomivirkki wants to merge 1 commit intomainfrom
refactor/remove-observability-kit-exclude
Open

chore: remove observability-kit exclusion#5326
tomivirkki wants to merge 1 commit intomainfrom
refactor/remove-observability-kit-exclude

Conversation

@tomivirkki
Copy link
Member

The change in #4561 excluded observability kit dependency when running on dev mode to eliminate the Observability agent is not running errors.

The fix works but it causes Vaadin to generate the package.json file with a different set of dependencies when running in dev vs production mode. This results with local diffs to the file whenever running dsp:start.

This PR removes the observability-kit exclusion and suppresses the "Observability agent is not running" error in dspublisher-script.js instead.

@tomivirkki tomivirkki requested a review from sissbruecker March 6, 2026 07:55
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO it would be preferable to identify why it's still used in production mode, which was supposed to not be the case with the previous PR. We don't need observability kit at runtime, we only need it for compiling the app.

Copy link
Member Author

Choose a reason for hiding this comment

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

One option would be to not depend on Observability kit at all and exclude the Java classes using it from compilation.

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