Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: Disable HotSwap endpoint changes by default #2434

Merged
merged 2 commits into from
May 20, 2024

Conversation

taefi
Copy link
Contributor

@taefi taefi commented May 16, 2024

Description

As of 24.4 that Hilla is part of the Vaadin Platform, the Hilla automatic registration for reloading the Endpoint changes (when HotSwapAgent is enabled) makes unnecessary noise in general Vaadin applications that not may not have any Endpoints at all, so it is disabled by default and could be enabled on demand by adding the following to the application.properties:

hilla.endpoint.hot-reload.enabled=true

This approach is going to be removed and replaced with a better support for reloading the changes in general for both Hilla and Flow.

As of 24.4 that Hilla is part of the Vaadin Platform
the Hilla automatic registration for reloading the
Endpoint changes (when HotSwapAgent is enabled)
makes unnecessary noise in general Vaadin applications
that not necessarily using any Endpoints at all, so
it is disabled by default and could be enabled on
demand by adding the following to the
application.properties:

hilla.endpoint.hot-reload.enabled=true

This approach is going to be removed and replaced
with a better support for reloading the changes in
general for both Hilla and Flow.
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (24.4@7128b0f). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             24.4    #2434   +/-   ##
=======================================
  Coverage        ?   95.11%           
=======================================
  Files           ?       66           
  Lines           ?     4507           
  Branches        ?      645           
=======================================
  Hits            ?     4287           
  Misses          ?      179           
  Partials        ?       41           
Flag Coverage Δ
unittests 95.11% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented May 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@taefi taefi enabled auto-merge (squash) May 20, 2024 08:23
@taefi taefi merged commit 604ee0d into 24.4 May 20, 2024
15 checks passed
@taefi taefi deleted the taefi/disable-hotswap-endpoint-changes-polling-by-default branch May 20, 2024 08:34
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Hilla 24.4.0.beta4 and is also targeting the upcoming stable 24.4.0 version.

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

Successfully merging this pull request may close these issues.

None yet

3 participants