-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Make restart logic progressive and other small fixes #1129
Conversation
The CI is failing due to a deprecated call that been removed in the beta. Another pr fixes this. |
src/Client/NetDaemon.HassClient/Internal/HomeAssistantRunner.cs
Outdated
Show resolved
Hide resolved
src/Client/NetDaemon.HassClient/Internal/Helpers/ProgressiveTimeout.cs
Outdated
Show resolved
Hide resolved
src/Client/NetDaemon.HassClient/Internal/Helpers/ProgressiveTimeout.cs
Outdated
Show resolved
Hide resolved
0303167
to
bbe824b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1129 +/- ##
====================================
Coverage 81% 81%
====================================
Files 190 191 +1
Lines 3843 3865 +22
Branches 462 464 +2
====================================
+ Hits 3142 3162 +20
- Misses 520 521 +1
- Partials 181 182 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Breaking change
Proposed change
Fixes in this PR:
Progressive reconnect timeouts
To avoid too many tries it will increase the timeout per retry by a factor 2 starting with 5 seconds and max 80 seconds.
The registry updated log will now be a debug log
Recent versions of HA updates the registries more often and possible flooding the outputlog. This log is now made a debug log instead.
Fix the problem that the correct version does not show on start
The github action that push to Nuget did not successfully updated version information. The default message also changed to reflect the actual behaviour. The version is not known when using a local built NetDaemon runtime. The version will then be
local build
. Offical built versions will show the correct version.Small fixes in restart logic
Type of change
Additional information
Checklist
If user exposed functionality or configuration are added/changed: