1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Backup and restore track progress in job (#4503)

* Backup and restore track progress in job

* Change to stage only updates and fix tests

* Leave HA alone if it wasn't restored

* skip check HA stage message when we don't check

* Change to helper to get current job

* Fix tests

* Mark jobs as internal to skip notifying HA
This commit is contained in:
Mike Degatano
2023-08-30 16:01:03 -04:00
committed by GitHub
parent de06361cb0
commit f93b753c03
27 changed files with 888 additions and 211 deletions

View File

@@ -227,7 +227,7 @@ class OSManager(CoreSysAttributes):
)
raise HassOSUpdateError()
@Job(name="os_manager_mark_healthy", conditions=[JobCondition.HAOS])
@Job(name="os_manager_mark_healthy", conditions=[JobCondition.HAOS], internal=True)
async def mark_healthy(self) -> None:
"""Set booted partition as good for rauc."""
try: