ha-supervisor/supervisor/utils
Mike Degatano 8d18d2d9c6
Use signals to recognize new disks immediately (#5023)
* Use signals to recognize new disks immediately

* Add test for disabled data disk issue

* Add mock of UDisks2 base service to test

* Apply suggestions from code review

* Shutdown manager first to avoid potential race conditions

* Update tests/dbus_service_mocks/udisks2.py

Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
2024-04-22 16:35:03 +02:00
..
__init__.py Make check_port an async function (#4677) 2023-12-05 15:49:35 -05:00
apparmor.py AppArmor tests and fix profile name in flag (#4109) 2023-01-20 23:19:33 +01:00
codenotary.py Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00
common.py Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00
dbus.py Use signals to recognize new disks immediately (#5023) 2024-04-22 16:35:03 +02:00
dt.py Update python to 3.12 (#4815) 2024-01-13 16:35:07 +01:00
json.py Improve json performance by porting core orjson utils (#4816) 2024-01-13 19:19:01 +01:00
log_format.py Sentry only loaded when diagnostics on (#3993) 2022-11-13 21:23:52 +01:00
logging.py Port core async safe logging to supervisor (#4716) 2023-11-20 20:33:36 +01:00
pwned.py Bump tooling to target Python version 3.11 (#4666) 2023-11-03 12:02:55 +01:00
sentinel.py Use backup mounts (#4289) 2023-05-16 14:08:22 -04:00
sentry.py Add log entries of level INFO to Sentry breadcrumbs (#4676) 2023-11-08 12:59:19 +01:00
systemd_journal.py Fix IncompleteReadError happening sometimes when reading Systemd logs (#4974) 2024-03-21 15:58:53 +01:00
validate.py Time handling (#2901) 2021-06-09 09:38:32 +02:00
whoami.py Bump tooling to target Python version 3.11 (#4666) 2023-11-03 12:02:55 +01:00
yaml.py Migrate to Ruff for lint and format (#4852) 2024-02-05 11:37:39 -05:00