Wendelin
54817ef562
Bump frontend 2024.11.06 ( #5393 )
2024.11.1
2024-11-06 11:21:22 +01:00
dependabot[bot]
dd8abf738e
Bump sentry-sdk from 2.17.0 to 2.18.0 ( #5392 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.17.0 to 2.18.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.17.0...2.18.0 )
---
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>
2024.11.0
2024-11-05 08:15:18 +01:00
Mike Degatano
55e58d39d9
Add fallback for boot IDs query ( #5391 )
2024-11-05 08:01:46 +01:00
Wendelin
ac5ce4cc9e
Bump frontend 2024.11.04.2 ( #5390 )
2024-11-04 12:07:37 -05:00
dependabot[bot]
2525467a2e
Bump pulsectl from 24.8.0 to 24.11.0 ( #5388 )
...
Bumps [pulsectl](https://github.com/mk-fg/python-pulse-control ) from 24.8.0 to 24.11.0.
- [Changelog](https://github.com/mk-fg/python-pulse-control/blob/master/CHANGES.rst )
- [Commits](https://github.com/mk-fg/python-pulse-control/commits )
---
updated-dependencies:
- dependency-name: pulsectl
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>
2024-11-04 08:23:15 +00:00
Wendelin
81066aab83
Bump frontend 2024.11.04 ( #5383 )
...
* Bump frontend 2024.10.31
* Bump frontend 2024.11.04
2024-11-04 08:21:27 +00:00
dependabot[bot]
93f4b24e72
Bump ruff from 0.7.1 to 0.7.2 ( #5386 )
2024-11-04 09:00:36 +01:00
Mike Degatano
9a07ff7fc4
Update supervisor immediately on new version ( #5375 )
...
* Update supervisor immediately on new version
* Switch reload updater task
2024.10.4
2024-10-30 12:12:43 -04:00
dependabot[bot]
1a278f2590
Bump setuptools from 75.2.0 to 75.3.0 ( #5379 )
...
Bumps [setuptools](https://github.com/pypa/setuptools ) from 75.2.0 to 75.3.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.2.0...v75.3.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>
2024-10-30 10:47:46 -04:00
dependabot[bot]
93472ed6dd
Bump pytest-cov from 5.0.0 to 6.0.0 ( #5378 )
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
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>
2024-10-30 10:47:19 -04:00
dependabot[bot]
dcaf2653b8
Bump colorlog from 6.8.2 to 6.9.0 ( #5377 )
...
Bumps [colorlog](https://github.com/borntyping/python-colorlog ) from 6.8.2 to 6.9.0.
- [Release notes](https://github.com/borntyping/python-colorlog/releases )
- [Commits](https://github.com/borntyping/python-colorlog/compare/v6.8.2...v6.9.0 )
---
updated-dependencies:
- dependency-name: colorlog
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>
2024-10-30 10:46:47 -04:00
Wendelin
0714d7845a
Bump frontend 2024.10.29 ( #5374 )
...
* Bump frontend 2024.10
* Bump frontend 2024.10.29
2024-10-30 08:29:57 -04:00
dependabot[bot]
8f2269d871
Bump ruff from 0.7.0 to 0.7.1 ( #5371 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 15:20:45 +02:00
dependabot[bot]
c7487e004d
Bump actions/setup-python from 5.2.0 to 5.3.0 ( #5372 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 14:53:08 +02:00
dependabot[bot]
09d3edf526
Bump actions/checkout from 4.2.1 to 4.2.2 ( #5370 )
2024-10-24 08:19:46 +02:00
dependabot[bot]
9c99bf368f
Bump actions/cache from 4.1.1 to 4.1.2 ( #5366 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024.10.3
2024-10-23 08:40:18 +02:00
Jan Čermák
6f196c9dea
Suppress ClientConnectionResetError when returning logs ( #5358 )
...
When client requests (or more often follows) some busy logs and closes
the connection while the StreamWriter tries to write into it, an
exception is raised. This should be harmless, and unless there's another
way to handle this gracefully (I'm not aware of), then it should be safe
to ignore the exception in this context.
2024-10-21 10:11:22 +02:00
dependabot[bot]
fcac17f335
Bump coverage from 7.6.3 to 7.6.4 ( #5365 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 09:04:55 +02:00
dependabot[bot]
f5a026cdd8
Bump cryptography from 43.0.1 to 43.0.3 ( #5364 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 09:02:50 +02:00
dependabot[bot]
c6488c1ee3
Bump ruff from 0.6.9 to 0.7.0 ( #5359 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-18 08:41:51 +02:00
dependabot[bot]
f47d0d2867
Bump sentry-sdk from 2.16.0 to 2.17.0 ( #5360 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-18 08:39:06 +02:00
dependabot[bot]
96df335b36
Bump setuptools from 75.1.0 to 75.2.0 ( #5357 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-17 08:29:15 +02:00
Jan Čermák
cc9a931baa
Fix Supervisor log fallback for the /follow endpoint ( #5354 )
...
When an error occurs when streaming Supervisor logs, the fallback method
receives the follow kwarg as well, which is invalid for the Docker log
handler:
TypeError: APISupervisor.logs() got an unexpected keyword argument 'follow'
The exception is still printed to the logs but with all the extra noise
caused by this error. Removing the argument makes the stack trace more
comprehensible and the fallback actually works as desired.
2024-10-16 09:04:24 +02:00
dependabot[bot]
95c638991d
Bump coverage from 7.6.2 to 7.6.3 ( #5351 )
2024-10-14 08:16:23 +02:00
Stefan Agner
e2ada42001
Fix log follow mode without range header ( #5347 )
2024.10.2
2024-10-11 19:54:53 +02:00
dependabot[bot]
22e50b4ace
Bump aiohttp from 3.10.9 to 3.10.10 ( #5345 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-11 10:31:09 +02:00
dependabot[bot]
334484de7f
Bump debugpy from 1.8.6 to 1.8.7 ( #5346 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-11 10:12:26 +02:00
Stefan Agner
180a7c3990
Throttle connectivity check on connectivity issue ( #5342 )
...
* Throttle connectivity check on connectivity issue
If Supervisor detects a connectivity issue, currenlty every function
which requires internet get delayed by 10s due to the connectivity
check. This especially slows down initial startup when there are
connectivity issues. It is unlikely to resolve immeaditly, so throttle
the connectivity check to check every 30s.
* Fix pytest
* Reset throttle in test and refactor helper
* CodeRabbit suggestion
---------
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2024-10-10 22:57:16 +02:00
dependabot[bot]
d5f33de808
Bump coverage from 7.6.1 to 7.6.2 ( #5344 )
...
Bumps [coverage](https://github.com/nedbat/coveragepy ) from 7.6.1 to 7.6.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases )
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst )
- [Commits](https://github.com/nedbat/coveragepy/compare/7.6.1...7.6.2 )
---
updated-dependencies:
- dependency-name: coverage
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>
2024-10-10 09:46:41 +02:00
dependabot[bot]
6539f0df6f
Bump actions/upload-artifact from 4.4.2 to 4.4.3 ( #5343 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4.4.2...v4.4.3 )
---
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>
2024-10-10 09:46:18 +02:00
Stefan Agner
1504278223
Recreate aiohttp session on connectivity check ( #5332 )
...
It seems to actually get a proper connectivity check run, we need a new
vanilla ClientSession() object.
2024.10.1
2024-10-09 21:41:46 +02:00
Jan Čermák
9f3767b23d
Return cursor of the first host logs entry via headers ( #5333 )
...
* Return cursor of the first host logs entry via headers
Return first entry's cursor via custom `X-First-Cursor` header that can
be consumed by the client and used for continual requesting of the
historic logs. Once the first fetch returns data, the cursor can be
supplied as the first argument to the Range header in another call,
fetching accurate slice of the journal with the previous log entries
using the `Range: entries=cursor[[:num_skip]:num_entries]` syntax.
Let's say we fetch logs with the Range header `entries=:-19:20` (to
fetch very last 20 lines of the logs, see below why not
`entries:-20:20`) and we get `cursor50` as the reply (the actual value
will be much more complex and with no guaranteed format). To fetch
previous slice of the logs, we use `entries=cursor50:-20:20`, which
would return 20 lines previous to `cursor50` and `cursor30` in the
cursor header. This way we can go all the way back to the history.
One problem with the cursor is that it's not possible to determine when
the negative num_skip points beyond the first log entry. In that case
the client either needs to know what the first entry is (via
`entries=:0:1`) or can iterate naively and stop once two subsequent
requests return the same first cursor.
Another caveat, even though it's unlikely it will be hit in real usage,
is that it's not possible to fetch the last line only - if no cursor is
provided, negative num_skip argument is needed, and in that case we're
pointing one record back from the current cursor, which is the previous
record. The least we can return without knowing any cursor is thus
`entries=👎 2` (where the `2` can be omitted, however with
`entries=👎 1` we would lose the last line). This also explains why
different `num_skip` and `num_entries` must be used for the first fetch.
* Fix typo (fallback->callback)
* Refactor journal_logs_reader to always return the cursor
* Update tests for new cursor handling
2024-10-09 20:27:29 +02:00
Jan Čermák
e0d7985369
Fix number of lines returned with host logs' query argument ( #5334 )
...
If no cursor is specified and negative num_skip is used, we're pointing
one record back from the last one, so host logs always returned 101
lines as the default. This was also the case of the lines query argument
that used the number directly as num_skip. Instead of doing that, point
N-1 records to the back and then get N records. Handle 1 record and
invalid numbers silently to avoid the need for error handling in
unpractical edge cases.
2024-10-09 20:27:18 +02:00
Stefan Agner
2968a5717c
Update DNS plug-in on network change ( #5331 )
...
* Update DNS plug-in on network change
Restart the DNS plug-in when the primary network changes network
changes. This makes sure any potential host OS DNS configuration
changes get picked up by the DNS plug-in as well.
* Add a test case
---------
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2024-10-09 20:16:36 +02:00
Matheson Steplock
e2b25fe7ce
Drop support for Debian 11 Bullseye ( #5335 )
2024-10-09 12:18:45 +02:00
dependabot[bot]
8601f5c49a
Bump sentry-sdk from 2.15.0 to 2.16.0 ( #5338 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.15.0 to 2.16.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.15.0...2.16.0 )
---
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>
2024-10-09 11:19:47 +02:00
dependabot[bot]
42279461e0
Bump pre-commit from 4.0.0 to 4.0.1 ( #5337 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: pre-commit
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>
2024-10-09 11:19:31 +02:00
dependabot[bot]
409447d6ca
Bump actions/cache from 4.1.0 to 4.1.1 ( #5340 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: actions/cache
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>
2024-10-09 11:19:02 +02:00
dependabot[bot]
5b313db49d
Bump time-machine from 2.15.0 to 2.16.0 ( #5336 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-09 09:27:57 +02:00
dependabot[bot]
d64618600d
Bump actions/upload-artifact from 4.4.1 to 4.4.2 ( #5339 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-09 09:26:23 +02:00
dependabot[bot]
1ee01b1d5e
Bump actions/checkout from 4.2.0 to 4.2.1 ( #5329 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 09:04:52 +02:00
dependabot[bot]
af590202c3
Bump actions/upload-artifact from 4.4.0 to 4.4.1 ( #5330 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 09:04:36 +02:00
dependabot[bot]
12ca2fb624
Bump ruff from 0.6.8 to 0.6.9 ( #5326 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:22:50 +02:00
dependabot[bot]
ea95f83742
Bump dbus-fast from 2.24.2 to 2.24.3 ( #5328 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:18:12 +02:00
dependabot[bot]
e4d4da601c
Bump aiohttp from 3.10.8 to 3.10.9 ( #5327 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 09:01:00 +02:00
dependabot[bot]
0582f6fd39
Bump pre-commit from 3.8.0 to 4.0.0 ( #5325 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 08:45:43 +02:00
dependabot[bot]
f254af8326
Bump actions/cache from 4.0.2 to 4.1.0 ( #5323 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 08:40:52 +02:00
dependabot[bot]
3333770246
Bump sigstore/cosign-installer from 3.6.0 to 3.7.0 ( #5324 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 08:37:08 +02:00
Stefan Agner
ee5ded29ac
Allow Supervisor token authentication from landing page ( #5321 )
...
The landing page provides the Supervisor token as authentication, so
consider the landingpage as new enough too.
2024.10.0
2024-10-03 18:17:13 +02:00
dependabot[bot]
f530db98ff
Bump cpe from 1.3.0 to 1.3.1 ( #5320 )
...
* Bump cpe from 1.3.0 to 1.3.1
Bumps [cpe](https://github.com/nilp0inter/cpe ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/nilp0inter/cpe/releases )
- [Changelog](https://github.com/nilp0inter/cpe/blob/main/NEWS.txt )
- [Commits](https://github.com/nilp0inter/cpe/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: cpe
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Revert "Suppress SyntaxWarning from CPE until fixed (#5227 )"
This reverts commit c95df56e8db545e1ebb8959164a341579ad8f8f8.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Agner <stefan@agner.ch>
2024-10-03 18:08:19 +02:00