Stefan Agner
5d9d33c9fa
Wait for Home Assistant Core to start
2025-10-27 12:36:48 +01:00
Stefan Agner
e4959b4f10
Log rejected WebSocket messages to Home Assistant Core
2025-10-27 11:46:04 +01:00
Stefan Agner
78353220de
Reject Core Backup if sending backup start WebSocket message fails
...
If sending the WebSocket message to Home Assistant Core to inform it
about the start of a backup fails, we should reject the backup process
entirely. This prevents taking a backup without Home Assistant Core
being aware of it.
As a side effect, this likely prevents situation where Core does not
learn about the backup progress since we also won't be able to send
WebSocket messages about Job progress updates.
2025-10-27 11:36:25 +01:00
Mike Degatano
131cc3b6d1
Prevent float drift error on progress update ( #6267 )
2025-10-24 09:37:19 -04:00
Michel Nederlof
b92f5976a3
If D-Bus to UDisks2 is not connected, return None ( #6265 )
...
When fetching the host info without UDisks2 D-Bus connected it would raise an exception and disable managing addons via home assistant (and other GUI functions that need host info status).
2025-10-24 10:22:02 +02:00
dependabot[bot]
370c961c9e
Bump ruff from 0.14.1 to 0.14.2 ( #6268 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.14.1...0.14.2 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 09:46:04 +02:00
dependabot[bot]
b903e1196f
Bump sigstore/cosign-installer from 3.10.0 to 4.0.0 ( #6256 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.10.0 to 4.0.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](d7543c93d8...faadad0cce )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-version: 4.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-23 08:37:59 +02:00
dependabot[bot]
9f8e8ab15a
Bump home-assistant/wheels from 2025.09.1 to 2025.10.0 ( #6260 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 23:17:38 +02:00
dependabot[bot]
56bffc839b
Bump aiohttp from 3.13.0 to 3.13.1 ( #6261 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 23:14:01 +02:00
dependabot[bot]
952a553c3b
Bump pylint from 4.0.1 to 4.0.2 ( #6263 )
2025-10-22 10:20:35 +02:00
dependabot[bot]
717f1c85f5
Bump sentry-sdk from 2.42.0 to 2.42.1 ( #6264 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.42.0 to 2.42.1.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.42.0...2.42.1 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-version: 2.42.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 09:25:14 +02:00
dependabot[bot]
ffd498a515
Bump sentry-sdk from 2.41.0 to 2.42.0 ( #6253 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-18 23:30:45 +02:00
dependabot[bot]
35f0645cb9
Bump cryptography from 46.0.2 to 46.0.3 ( #6255 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-18 22:04:32 +02:00
dependabot[bot]
15c6547382
Bump coverage from 7.10.7 to 7.11.0 ( #6254 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-17 23:42:02 +02:00
dependabot[bot]
adefa242e5
Bump colorlog from 6.9.0 to 6.10.1 ( #6258 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-17 09:14:38 +02:00
dependabot[bot]
583a8a82fb
Bump ruff from 0.14.0 to 0.14.1 ( #6257 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-17 09:12:47 +02:00
dependabot[bot]
322df15e73
Bump pylint from 4.0.0 to 4.0.1 ( #6251 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-15 19:58:36 +02:00
dependabot[bot]
51490c8e41
Bump pylint from 3.3.9 to 4.0.0 and astroid from 3.3.11 to 4.0.1 ( #6248 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Agner <stefan@agner.ch >
2025-10-14 10:45:17 +02:00
dependabot[bot]
3c21a8b8ef
Bump sentry-sdk from 2.40.0 to 2.41.0 ( #6246 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.40.0 to 2.41.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.40.0...2.41.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-version: 2.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 08:38:17 +02:00
Jan Čermák
ddb8588d77
Treat containerd snapshotter/overlayfs driver as supported ( #6242 )
...
* Treat containerd snapshotter/overlayfs driver as supported
With home-assistant/operating-system#4252 the storage driver would
change to "overlayfs". We don't want the system to be marked as
unsupported. It should be safe to treat it as supported even now, so add
it to the list of allowed values.
* Flip the logic
(note for self: don't forget to check for unstaged changes before push)
* Set valid storage for invalid logging test case
2025-10-09 18:47:06 +02:00
dependabot[bot]
81e46b20b8
Bump pyudev from 0.24.3 to 0.24.4 ( #6244 )
...
Bumps [pyudev](https://github.com/pyudev/pyudev ) from 0.24.3 to 0.24.4.
- [Changelog](https://github.com/pyudev/pyudev/blob/master/CHANGES.rst )
- [Commits](https://github.com/pyudev/pyudev/compare/v0.24.3...v0.24.4 )
---
updated-dependencies:
- dependency-name: pyudev
dependency-version: 0.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 09:48:34 +02:00
dependabot[bot]
5041a1ed5c
Bump types-docker from 7.1.0.20250916 to 7.1.0.20251009 ( #6243 )
...
Bumps [types-docker](https://github.com/typeshed-internal/stub_uploader ) from 7.1.0.20250916 to 7.1.0.20251009.
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits )
---
updated-dependencies:
- dependency-name: types-docker
dependency-version: 7.1.0.20251009
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 09:38:12 +02:00
Stefan Agner
337731a55a
Let only bugs go stale ( #6239 )
...
Let's apply the stale label only to issues which are bugs. Tasks are
more long lived and should not be marked as stale automatically.
2025-10-08 15:56:35 +02:00
Stefan Agner
53a8044aff
Add support for ulimit in addon config ( #6206 )
...
* Add support for ulimit in addon config
Similar to docker-compose, this adds support for setting ulimits
for addons via the addon config. This is useful e.g. for InfluxDB
which on its own does not support setting higher open file descriptor
limits, but recommends increasing limits on the host.
* Make soft and hard limit mandatory if ulimit is a dict
2025-10-08 12:43:12 +02:00
Jan Čermák
c71553f37d
Add AGENTS.md symlink ( #6237 )
...
Add AGENTS.md along the CLAUDE.md for agents that support it. While
CLAUDE.md is still required and specific to Claude Code, AGENTS.md
covers various other agents that implemented this proposed standard.
Core already adopted the same approach recently.
2025-10-08 10:44:49 +02:00
dependabot[bot]
c1eb97d8ab
Bump ruff from 0.13.3 to 0.14.0 ( #6238 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.13.3 to 0.14.0.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.3...0.14.0 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 09:47:19 +02:00
Mike Degatano
190b734332
Add progress reporting to addon, HA and Supervisor updates ( #6195 )
...
* Add progress reporting to addon, HA and Supervisor updates
* Fix assert in test
* Add progress to addon, core, supervisor updates/installs
* Fix double install bug in addons install
* Remove initial_install and re-arrange order of load
2025-10-07 16:54:11 +02:00
dependabot[bot]
559b6982a3
Bump aiohttp from 3.12.15 to 3.13.0 ( #6234 )
...
---
updated-dependencies:
- dependency-name: aiohttp
dependency-version: 3.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 12:29:47 +02:00
dependabot[bot]
301362e9e5
Bump attrs from 25.3.0 to 25.4.0 ( #6235 )
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 25.3.0 to 25.4.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
dependency-version: 25.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 12:29:03 +02:00
dependabot[bot]
fc928d294c
Bump sentry-sdk from 2.39.0 to 2.40.0 ( #6233 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.39.0 to 2.40.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.39.0...2.40.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-version: 2.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 09:47:03 +02:00
dependabot[bot]
f42aeb4937
Bump dbus-fast from 2.44.3 to 2.44.5 ( #6232 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.44.3 to 2.44.5.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.44.3...v2.44.5 )
---
updated-dependencies:
- dependency-name: dbus-fast
dependency-version: 2.44.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 11:37:22 +02:00
dependabot[bot]
fd21886de9
Bump pylint from 3.3.8 to 3.3.9 ( #6230 )
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.3.8 to 3.3.9.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.8...v3.3.9 )
---
updated-dependencies:
- dependency-name: pylint
dependency-version: 3.3.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 11:36:03 +02:00
dependabot[bot]
e4bb415e30
Bump actions/stale from 10.0.0 to 10.1.0 ( #6229 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](3a9db7e6a4...5f858e3efb )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-version: 10.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 11:35:49 +02:00
dependabot[bot]
622dda5382
Bump ruff from 0.13.2 to 0.13.3 ( #6228 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.2...0.13.3 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.13.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-03 14:42:13 +02:00
Stefan Agner
78a2e15ebb
Replace non-UTF-8 characters in log messages ( #6227 )
2025.10.0
2025-10-02 10:35:50 +02:00
Stefan Agner
f3e1e0f423
Fix CID file handling to prevent directory creation ( #6225 )
...
* Fix CID file handling to prevent directory creation
It seems that under certain conditions Docker creates a directory
instead of a file for the CID file. This change ensures that
the CID file is always created as a file, and any existing directory
is removed before creating the file.
* Fix tests
* Fix pytest
2025-10-02 09:24:19 +02:00
Stefan Agner
5779b567f1
Optimize API connection handling by removing redundant port checks ( #6212 )
...
* Simplify ensure_access_token
Make the caller of ensure_access_token responsible for connection error
handling. This is especially useful for API connection checks, as it
avoids an extra call to the API (if we fail to connect when refreshing
the token there is no point in calling the API to check if it is up).
Document the change in the docstring.
Also avoid the overhead of creating a Job object. We can simply use an
asyncio.Lock() to ensure only one coroutine is refreshing the token at
a time. This also avoids Job interference in Exception handling.
* Remove check_port from API checks
Remove check_port usage from Home Assistant API connection checks.
Simply rely on errors raised from actual connection attempts. During a
Supervisor startup when Home Assistant Core is running (e.g. after a
Supervisor update) we make about 10 successful API checks. The old code
path did a port check and then a connection check, causing two socket
creation. The new code without the separate port check safes 10 socket
creations per startup (the aiohttp connections are reused, hence do not
cause only one socket creation).
* Log API exceptions on call site
Since make_request is no longer logging API exceptions on its own, we
need to log them where we call make_request. This approach gives the
user more context about what Supervisor was trying to do when the error
happened.
* Avoid unnecessary nesting
* Improve error when ingress panel update fails
* Add comment about fast path
2025-10-02 08:54:50 +02:00
dependabot[bot]
3c5f4920a0
Bump cryptography from 46.0.1 to 46.0.2 ( #6224 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 46.0.1 to 46.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/46.0.1...46.0.2 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-version: 46.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 09:41:38 +02:00
Mike Degatano
64f94a159c
Add progress syncing from child jobs ( #6207 )
...
* Add progress syncing from child jobs
* Fix pylint issue
* Set initial progress from parent and end at 100
2025-09-30 14:52:16 -04:00
dependabot[bot]
ab3b147876
Bump docker/login-action from 3.5.0 to 3.6.0 ( #6219 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](184bdaa072...5e57cd1181 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 3.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-30 09:56:29 +02:00
github-actions[bot]
e9cac9db06
Update frontend to version 20250925.1 ( #6120 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025.09.3
2025-09-26 12:42:39 +02:00
dependabot[bot]
67c15678c6
Bump sentry-sdk from 2.38.0 to 2.39.0 ( #6213 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.38.0 to 2.39.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.38.0...2.39.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-version: 2.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-26 11:29:06 +02:00
dependabot[bot]
b0145a8507
Bump pyyaml from 6.0.2 to 6.0.3 ( #6215 )
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3 )
---
updated-dependencies:
- dependency-name: pyyaml
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-26 11:28:51 +02:00
dependabot[bot]
9f6b154097
Bump home-assistant/wheels from 2025.09.0 to 2025.09.1 ( #6216 )
...
Bumps [home-assistant/wheels](https://github.com/home-assistant/wheels ) from 2025.09.0 to 2025.09.1.
- [Release notes](https://github.com/home-assistant/wheels/releases )
- [Commits](https://github.com/home-assistant/wheels/compare/2025.09.0...2025.09.1 )
---
updated-dependencies:
- dependency-name: home-assistant/wheels
dependency-version: 2025.09.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-26 11:03:51 +02:00
dependabot[bot]
90c0d014db
Bump ruff from 0.13.1 to 0.13.2 ( #6214 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.1...0.13.2 )
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.13.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-26 09:04:22 +02:00
Stefan Agner
fabfe760fb
Fix flaky test_get_dir_structure_sizes_ebadmsg_error ( #6211 )
2025-09-25 12:29:18 +02:00
dependabot[bot]
092013e457
Bump home-assistant/wheels from 2025.07.0 to 2025.09.0 ( #6209 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-25 10:43:28 +02:00
dependabot[bot]
e13f216b2e
Bump actions/cache from 4.2.4 to 4.3.0 ( #6208 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-25 10:42:51 +02:00
Stefan Agner
97c7686b95
Simplify API validation by removing confusing origin parameter ( #6203 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025.09.2
2025-09-23 22:10:48 +02:00
Mike Degatano
42f93d0176
Remove message_template field from errors ( #6205 )
2025-09-23 17:07:38 +02:00