dependabot[bot]
9afb50242b
Bump setuptools from 77.0.1 to 77.0.3 ( #5772 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 77.0.1 to 77.0.3.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v77.0.1...v77.0.3 )
---
updated-dependencies:
- dependency-name: setuptools
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>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2025-03-21 21:27:44 +01:00
dependabot[bot]
52b02d1235
Bump actions/upload-artifact from 4.6.1 to 4.6.2 ( #5767 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.6.1...v4.6.2 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
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-03-21 21:07:23 +01:00
dependabot[bot]
84bc72d485
Bump ruff from 0.11.0 to 0.11.1 ( #5771 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.11.0 to 0.11.1.
- [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.11.0...0.11.1 )
---
updated-dependencies:
- dependency-name: ruff
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-03-21 21:01:54 +01:00
dependabot[bot]
bd772bb28a
Bump pylint from 3.3.4 to 3.3.6 ( #5773 )
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 3.3.4 to 3.3.6.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.4...v3.3.6 )
---
updated-dependencies:
- dependency-name: pylint
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-03-21 20:59:17 +01:00
dependabot[bot]
fd2c7c3cc3
Bump getsentry/action-release from 3.1.0 to 3.1.1 ( #5775 )
2025-03-21 07:38:27 +01:00
dependabot[bot]
a7f139d3e1
Bump setuptools from 76.1.0 to 77.0.1 ( #5766 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 76.1.0 to 77.0.1.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v76.1.0...v77.0.1 )
---
updated-dependencies:
- dependency-name: setuptools
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-03-20 11:31:11 +01:00
dependabot[bot]
8a45e0fd85
Bump blockbuster from 1.5.23 to 1.5.24 ( #5764 )
...
Bumps [blockbuster](https://github.com/cbornet/blockbuster ) from 1.5.23 to 1.5.24.
- [Release notes](https://github.com/cbornet/blockbuster/releases )
- [Commits](https://github.com/cbornet/blockbuster/commits )
---
updated-dependencies:
- dependency-name: blockbuster
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-03-20 11:08:57 +01:00
dependabot[bot]
52290b485b
Bump actions/cache from 4.2.2 to 4.2.3 ( #5768 )
2025-03-20 08:19:33 +01:00
dependabot[bot]
525d0fd8ea
Bump pre-commit from 4.1.0 to 4.2.0 ( #5765 )
2025-03-19 08:27:43 +01:00
dependabot[bot]
40c83f4c1e
Bump actions/download-artifact from 4.1.9 to 4.2.0 ( #5763 )
2025-03-19 07:34:25 +01:00
dependabot[bot]
99088ad880
Bump sentry-sdk from 2.22.0 to 2.23.1 ( #5760 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.22.0 to 2.23.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.22.0...2.23.1 )
---
updated-dependencies:
- dependency-name: sentry-sdk
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-03-18 13:43:53 +01:00
dependabot[bot]
37c077205a
Bump setuptools from 76.0.0 to 76.1.0 ( #5761 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 76.0.0 to 76.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v76.0.0...v76.1.0 )
---
updated-dependencies:
- dependency-name: setuptools
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-03-18 12:01:03 +01:00
dependabot[bot]
ac5f9dcb59
Bump coverage from 7.6.12 to 7.7.0 ( #5755 )
2025-03-17 08:40:30 +01:00
dependabot[bot]
6a9269c052
Bump ruff from 0.10.0 to 0.11.0 ( #5757 )
2025-03-17 08:28:29 +01:00
dependabot[bot]
de615bfc1d
Bump docker/login-action from 3.3.0 to 3.4.0 ( #5758 )
2025-03-17 08:12:38 +01:00
dependabot[bot]
3ee639b133
Bump aiohttp from 3.11.13 to 3.11.14 ( #5754 )
...
---
updated-dependencies:
- dependency-name: aiohttp
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-03-16 20:40:31 -10:00
dependabot[bot]
632e569347
Bump dbus-fast from 2.39.5 to 2.39.6 ( #5756 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.39.5 to 2.39.6.
- [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.39.5...v2.39.6 )
---
updated-dependencies:
- dependency-name: dbus-fast
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-03-16 20:40:23 -10:00
Mike Degatano
cc74831113
Fix none error in mapping wireless fields ( #5749 )
2025-03-14 11:18:52 +01:00
dependabot[bot]
78c6868ad3
Bump dbus-fast from 2.39.3 to 2.39.5 ( #5752 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.39.3 to 2.39.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.39.3...v2.39.5 )
---
updated-dependencies:
- dependency-name: dbus-fast
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-03-14 10:06:44 +01:00
dependabot[bot]
f5f6e8b659
Bump ruff from 0.9.10 to 0.10.0 ( #5751 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.10 to 0.10.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.9.10...0.10.0 )
---
updated-dependencies:
- dependency-name: ruff
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-03-14 09:50:13 +01:00
dependabot[bot]
c91a815cca
Bump attrs from 25.2.0 to 25.3.0 ( #5750 )
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 25.2.0 to 25.3.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
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-03-14 09:45:04 +01:00
dependabot[bot]
1efe01c21f
Bump dbus-fast from 2.37.0 to 2.39.3 ( #5736 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.37.0 to 2.39.3.
- [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.37.0...v2.39.3 )
---
updated-dependencies:
- dependency-name: dbus-fast
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-03-13 14:36:35 -04:00
dependabot[bot]
c54ff06e0f
Bump attrs from 25.1.0 to 25.2.0 ( #5748 )
...
Bumps [attrs](https://github.com/sponsors/hynek ) from 25.1.0 to 25.2.0.
- [Commits](https://github.com/sponsors/hynek/commits )
---
updated-dependencies:
- dependency-name: attrs
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-03-13 16:41:48 +01:00
Mike Degatano
5facf4e790
Fix logging error for invalid password for backup ( #5747 )
...
* Fix logging error for invalid password for backup
* Improved test
2025.03.3
2025-03-12 15:21:10 -04:00
Wendelin
34752466d5
Remove release assets tarball on frontend update ( #5743 )
...
* Remove release assets tarball on frontend update
* Fix path to the removed tarball
---------
Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
2025-03-12 10:10:27 +01:00
dependabot[bot]
20ea71f7ff
Bump astroid from 3.3.8 to 3.3.9 ( #5742 )
...
Bumps [astroid](https://github.com/pylint-dev/astroid ) from 3.3.8 to 3.3.9.
- [Release notes](https://github.com/pylint-dev/astroid/releases )
- [Changelog](https://github.com/pylint-dev/astroid/blob/main/ChangeLog )
- [Commits](https://github.com/pylint-dev/astroid/compare/v3.3.8...v3.3.9 )
---
updated-dependencies:
- dependency-name: astroid
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-03-10 10:53:54 +01:00
dependabot[bot]
ac27e3ac0d
Bump ruff from 0.9.9 to 0.9.10 ( #5741 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.9 to 0.9.10.
- [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.9.9...0.9.10 )
---
updated-dependencies:
- dependency-name: ruff
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-03-10 09:15:24 +01:00
dependabot[bot]
b31e3ce234
Bump setuptools from 75.8.2 to 76.0.0 ( #5740 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.8.2 to 76.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v75.8.2...v76.0.0 )
---
updated-dependencies:
- dependency-name: setuptools
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-03-10 09:12:38 +01:00
Mike Degatano
e1c9c8b786
Finish out effort of adding and enabling blockbuster in tests ( #5735 )
...
* Finish out effort of adding and enabling blockbuster
* Skip getting addon file size until securetar fixed
* Fix test for devcontainer and blocking I/O
* Fix docker fixture and load_config to post_init
2025-03-07 13:29:24 +01:00
dependabot[bot]
23e03a95f4
Bump getsentry/action-release from 3.0.0 to 3.1.0 ( #5737 )
...
Bumps [getsentry/action-release](https://github.com/getsentry/action-release ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/getsentry/action-release/releases )
- [Changelog](https://github.com/getsentry/action-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/action-release/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: getsentry/action-release
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-03-07 13:12:33 +01:00
Stefan Agner
a2b8df0a6a
Use Sentry helper function to report warnings ( #5734 )
...
* Use Sentry helper function to report warnings
Don't use Sentry directly but the existing helper function.
* Add pytest that Sentry is by default off
* Address ruff
* Address ruff
2025-03-06 23:45:48 +01:00
Mike Degatano
6ef4f3cc67
Add blockbuster library and find I/O from unit tests ( #5731 )
...
* Add blockbuster library and find I/O from unit tests
* Fix lint and test issue
* Fixes from feedback
* Avoid modifying webapp object in executor
* Split su options validation and only validate timezone on change
2025-03-06 16:40:13 -05:00
dependabot[bot]
1fb4d1cc11
Bump dbus-fast from 2.35.1 to 2.37.0 ( #5733 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.35.1 to 2.37.0.
- [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.35.1...v2.37.0 )
---
updated-dependencies:
- dependency-name: dbus-fast
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-03-06 12:21:13 +01:00
dependabot[bot]
65b1729314
Bump jinja2 from 3.1.5 to 3.1.6 ( #5732 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6 )
---
updated-dependencies:
- dependency-name: jinja2
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-03-06 09:44:59 +01:00
Stefan Agner
c7e3d86e2d
Revert "Enable Sentry asyncio integration ( #5685 )" ( #5729 )
...
This essentially reverts PR #5685 .
The Sentry `AsyncioIntegration` replaces the asyncio task factory with
its instrumentalized version, which reports all execeptions which
aren't handled *within* a task to Sentry.
However, we quite often run tasks and handle exceptions outside, e.g.
this commen pattern (example from `MountManager` `reload()``):
```python
results = await asyncio.gather(
*[mount.update() for mount in mounts], return_exceptions=True
)
... create resolution issues from results with exceptions ...
```
Here, asyncio.gather() uses ensure_future(), which converts the
co-routines to tasks. These Sentry instrumented tasks will then report
exceptions to Sentry, even though we handle exceptions gracefully.
So the `AsyncioIntegration` doesn't work for our use case, and causes
unnecessary noise in Sentry. Disable it again.
2025.03.2
2025-03-05 12:31:30 +01:00
dependabot[bot]
5d06ebe430
Bump dbus-fast from 2.34.0 to 2.35.1 ( #5728 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.34.0 to 2.35.1.
- [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.34.0...v2.35.1 )
---
updated-dependencies:
- dependency-name: dbus-fast
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-03-05 09:06:01 +01:00
dependabot[bot]
5aba616ba4
Bump debugpy from 1.8.12 to 1.8.13 ( #5727 )
...
Bumps [debugpy](https://github.com/microsoft/debugpy ) from 1.8.12 to 1.8.13.
- [Release notes](https://github.com/microsoft/debugpy/releases )
- [Commits](https://github.com/microsoft/debugpy/compare/v1.8.12...v1.8.13 )
---
updated-dependencies:
- dependency-name: debugpy
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-03-05 09:05:52 +01:00
Mike Degatano
767f435090
Call core post init ( #5725 )
2025-03-05 09:05:23 +01:00
Stefan Agner
26024053ed
Fix add-on store repository getting removed without internet ( #5717 )
...
* Fix add-on store repository getting removed without internet
Currently, when a git command error happens in `pull()`, we declare
the repository as corrupt. Subsequent system autofix runs then execute
the reset resolution, which essentially removes the git repository from
the system.
In situations where the Internet fails right between the last
Supervisor connectivity check and the add-on store repository update
(the connectivity checks are throttled to once every 10 minutes while
connectivity is considered good), or if the outage is only partial
(e.g. reaching connectivity check works but the store repository is not
reachable), this leads to a git command error which declares the
repository as corrupt just as well, and ultimately leads to the removal
of the add-on store repository from the local system.
Run a git ls-remote first, which is used as an extra connectivity check.
This will also avoid removing the repository if Internet connectivity
works but the git provider is temporary down or not reachable.
That said, it will also fail if the repository is no longer present.
But this case needs extra handling anyways.
* Run git ls-remote in executor
2025.03.1
2025-03-04 21:09:46 +01:00
Mike Degatano
324b059970
Move write of core state to executor ( #5720 )
2025-03-04 17:49:53 +01:00
Stefan Agner
76e916a07e
Make sure to close file stream after backup upload ( #5723 )
...
* Make sure to close file stream after backup upload
Currently the file stream does not get closed before importing the file
stream. It seems the test case didn't catch that, presumably because
it is a race condition if the bytes get flushed to disk or not.
Properly close the stream before continue handling the file.
* Close file stream in executor
* Add comment about closing twice is fine
2025-03-04 16:11:25 +01:00
Mike Degatano
582b128ad9
Finish migrating read_text to executor ( #5698 )
...
* Move read_text to executor
* switch to async_capture_exception
* Finish moving read_text to executor
* Cover read_bytes and some write_text calls as well
* Fix await issues
* Fix format_message
2025-03-04 11:45:44 +01:00
dependabot[bot]
c01d788c4c
Bump getsentry/action-release from 1.10.4 to 3.0.0 ( #5721 )
...
Bumps [getsentry/action-release](https://github.com/getsentry/action-release ) from 1.10.4 to 3.0.0.
- [Release notes](https://github.com/getsentry/action-release/releases )
- [Changelog](https://github.com/getsentry/action-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/action-release/compare/v1.10.4...v3.0.0 )
---
updated-dependencies:
- dependency-name: getsentry/action-release
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-03-04 11:44:44 +01:00
Jan Čermák
8fb66bcf18
Stop streaming logs when client closes connection ( #5722 )
...
When connection is closed by the client, the journal_logs_reader
generator still returns new lines, trying to write each one of them to
the closed transport. With debug logging enabled, this can end up in an
endless loop. To fix that, break out of the loop immediately after the
connection is reset.
2025-03-04 10:08:44 +01:00
Stefan Agner
fdd96ae21c
Fix add-on repair log message ( #5719 )
2025-03-03 18:49:24 -05:00
Stefan Agner
1355ef192d
Exclude non-Supervisor Server Error codes from Sentry reporting ( #5718 )
...
* Exclude non-Supervisor Server Error codes from Sentry reporting
Exclude status codes 502 Bad Gateway and 503 Service Unavailable from
Sentry aiohttp integration. These are returned by Supervisor itself
when acting as a proxy for Home Assistant Core. These aren't errors of
Supervisor.
* ruff check
2025-03-03 23:10:59 +01:00
Stefan Agner
f8bab20728
Replace non-unicode characters for add-on static files ( #5712 )
...
* Replace non-unicode characters for add-on static files
Add-on documentation and changelog get read and returned as text file.
However, in case the original author used non-unicode characters, or
the file corrupted, loading currently fails with an UnicodeDecodeError.
Let's just use the built-in replace error handling of Python, so they
appear for the user as non-unicode characters by replacing them with
the official unicode replacement character "�".
* Remove superflous parameter for binary files
* ruff format
* Add pytests
2025-03-03 20:14:39 +01:00
Stefan Agner
9a3702bc1a
Avoid loading add-on store repositories too early ( #5716 )
...
When initially loading the store manager, update_repositories makes
sure that all repositories are actually present. If they are for some
reason corrupted or content is missing, we currently still trying
to load them which leads to an unnecessary warning:
```
2025-03-03 11:55:54.324 WARNING (SyncWorker_1) [supervisor.store.data] No repository information exists at /data/addons/git/a0d7b954
...
2025-03-03 11:55:54.343 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
```
Since update_repositories always loads the data, simply remove the
superfluous earlier loading attempt.
While at it, also improve the cloning/update log messages to make it
clear what repository is cloned/updated.
2025-03-03 19:01:47 +01:00
Jan Čermák
a7c6699f6a
Only log all ClientConnectionResets when returning logs ( #5715 )
...
* Suppress all ClientConnectionReset when returning logs
In #5358 we started suppressing ClientConnectionReset when logs are
returned from the Journal Gateway and the client ends connection
unexpectedly. The connection can be closed also when the headers are
returned, so ignore also that error.
Refs #5606
* Log ClientConnectionResetError as DEBUG instead of suppressing it
2025-03-03 13:51:40 +01:00
dependabot[bot]
fa7626f83a
Bump cryptography from 44.0.1 to 44.0.2 ( #5709 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 44.0.1 to 44.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/44.0.1...44.0.2 )
---
updated-dependencies:
- dependency-name: cryptography
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-03-03 13:48:42 +01:00