vcswatch reports that
this package seems to have new commits in its VCS but has
not yet updated debian/changelog. You should consider updating
the Debian changelog and uploading this new version into the archive.
Here are the relevant commit logs:
commit 0f0f5dc6d3e176e3b1392773b286ece436884259
Merge: 32855eda0 f5257f29e
Author: Stefano Rivera <stefanor@debian.org>
Date: Fri Nov 27 20:27:58 2026 +0000
Rework file upload retry handling (MR !3504)
* Retry the initial probe requests of file uploads, if it fails due to a temporary error.
* Restructure to raise reasonable exceptions
* Log retries
* Fix off-by-one accounting
* Port to tenacity
Closes #1735
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3504
commit f5257f29eced6dacd1ddb44ae5203267af2db568
Author: Stefano Rivera <stefano@freexian.com>
Date: Fri Nov 27 15:44:35 2026 -0400
Port client to tenacity
commit 674cbaec2bec3a20435b339856fbc5e7df49fb62
Author: Stefano Rivera <stefano@freexian.com>
Date: Fri Nov 27 10:19:00 2026 -0400
Client: log retries
commit 49e78b83a51ba59c35c3061892a516628f9607e6
Author: Stefano Rivera <stefano@freexian.com>
Date: Fri Nov 27 10:00:18 2026 -0400
Correct file-uploader off-by-one error in retry counts
The initial attempt is not a "retry".
commit 14d27b253d5da86685aee1e293b7ffbf46e3517a
Author: Stefano Rivera <stefano@freexian.com>
Date: Fri Nov 27 09:58:10 2026 -0400
Restructure the file uploader to raise an appropriate exception
Rather than raising a generic exception that the upload had been
attempted N times and failed.
commit 1ff3503f34014f7c49614f42527bacd25fe6c02c
Author: Stefano Rivera <stefano@freexian.com>
Date: Fri Nov 27 09:54:30 2026 -0400
Retry the initial probe requests of file uploads, if it fails due to a temporary error.
Fixes: #1735
commit 32855eda0588d890d0e278cf73a7243936110013
Merge: 44100758e cfd621942
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Nov 27 13:17:54 2026 +0000
debian/tests: Adjust nginx configuration for 32-bit architectures (MR !3494)
Since this is caused by a combination of running on 32-bit architectures
and having relatively long server names (as is common in autopkgtest
runners), and since people are unlikely to actually be running Debusine
servers on 32-bit architectures in production, I think it makes most
sense to work around this in our integration tests rather than trying to
do something in the main packaging.
Fixes: #1728
Closes #1728
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3494
commit 44100758eed90316cf5a1d0f2a2c7c1c3c9f0fa3
Merge: e7de243da bc321fb89
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Nov 27 13:00:50 2026 +0000
Autopkgtest: Copy /etc/resolv.conf symlink target for unshare backend (MR !3491)
autopkgtest >= 5.31 runs `test -f /etc/resolv.conf && cp
/etc/resolv.conf "$rootdir/etc/resolv.conf"`. We were trying to
imitate that using `--copy=/etc/resolv.conf:/etc/resolv.conf`, but if
`/etc/resolv.conf` is a symlink then that copies it as a (possibly
dangling) symlink, while `cp` without options copies the symlink target.
I ran into this recently while testing some integration test changes: it
caused the `Autopkgtest` task to break very early on. It may have been
triggered by other changes I made to the integration tests, but it seems
like a bug regardless. Imitate autopkgtest >= 5.31 more faithfully and
copy the symlink target.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3491
commit e7de243da75ec0ce4fcdce956bbf7b91f7d9f5ea
Merge: 02ca54819 96f1311c1
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Nov 27 12:45:18 2026 +0000
fsck: Fix occasional test failures (MR !3493)
I noticed this odd test failure on Debian loong64
(https://ci.debian.net/packages/d/debusine/testing/loong64/78094869/):
```
AssertionError: Regex didn't match: '^File id: \\d+ sha256: \\w+ size:
\\d+ \\(known as e\\.g\\. 1 in Id: \\d+ Category: debusine:test
Workspace: \\d+\\) is not present in any store, marked incomplete\\.$'
not found in 'File id: 10 sha256:
8b45eb5e82590f3aa01774a0b88266b3b6f3841eefa224daccd89599c494bc2e size:
100 (known as e.g. 2 in Id: 8 Category: debusine:test Workspace: 1) is
not present in any store, marked incomplete.'
```
I'm not sure exactly how this happened - perhaps the same file was left
around by some other test which then had an earlier `FileInArtifact` ID?
But everything else about this test is very non-specific, so rather than
spending lots of time on this, I think it makes most sense to just make
the expected path non-specific too.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3493
commit 02ca54819a3636b5cf93e341c774490eda4e5e08
Merge: 671ce6f82 29e6cd5e0
Author: Raphaël Hertzog <hertzog@debian.org>
Date: Fri Nov 27 11:04:50 2026 +0000
Show active and max workers in worker pools list (MR !3497)
Filter the `workers` annotation in `WorkerPoolsListView.get_queryset()` to count only active workers (`instance_created_at__isnull=False`) instead of all historical `Worker` database rows associated with the pool and display `max_active_instances` alongside the active count when configured (e.g. `1 / 12`).
Changes:
- Filter `Count("worker", filter=Q(worker__instance_created_at__isnull=False))` in `WorkerPoolsListView.get_queryset()`.
- Render ` / {{ wp.limits_model.max_active_instances }}` in `_worker_pool-list.html` when `max_active_instances` is not `None`.
- Add unit and ordering tests in `test_worker_pools.py` verifying stopped workers are excluded from both counts and table sorting, and that `max_active_instances` renders properly.
Testing:
* Ran `pytest debusine/web/views/tests/test_worker_pools.py` - all 11 tests passed.
Fixes: #1713
Closes #1713
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3497
commit 29e6cd5e059bb8d2880382696cd4dee2929e2cad
Author: Mokshith Gowda <mokshy468@gmail.com>
Date: Thu Nov 26 14:12:10 2026 +0000
Show active and max workers in worker pools list
commit 671ce6f820c95cc23d9535bc4ec7f025e879b59b
Merge: 915429f8d 596b21414
Author: Stefano Rivera <stefanor@debian.org>
Date: Thu Nov 26 21:10:58 2026 +0000
Make RootModel available in the modules that use it (MR !3500)
Sphinx autodoc tries to import RootModel from these models, e.g.
```
WARNING: autodoc: failed to import 'RootModel' from module 'debusine.client.models'; the following exception was raised:
Traceback (most recent call last):
File ".../site-packages/sphinx/util/inspect.py", line 459, in safe_getattr
return getattr(obj, name, *defargs)
AttributeError: module 'debusine.client.models' has no attribute 'RootModel'
```
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3500
commit 596b214142eb6e03f566a19259a394360ff8fd8e
Author: Stefano Rivera <stefano@freexian.com>
Date: Thu Nov 26 15:56:23 2026 -0400
Make RootModel available in the modules that use it
Sphinx autodoc tries to import RootModel from these models, e.g.
> WARNING: autodoc: failed to import 'RootModel' from module 'debusine.client.models'; the following exception was raised:
> Traceback (most recent call last):
> File ".../site-packages/sphinx/util/inspect.py", line 459, in safe_getattr
> return getattr(obj, name, *defargs)
> AttributeError: module 'debusine.client.models' has no attribute 'RootModel'
commit 915429f8d44973b7e00ecdb48b55415db9c0386d
Merge: 9a6acda1f 2c16525b5
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu Nov 26 14:57:25 2026 +0000
Fix 404 page for invalidscope/-/groups: if user is logged in, do not suggest to log in (MR !3484)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3484
commit 9a6acda1f74f11c5949c2cc473e26f0f9e2ba598
Merge: 936ea49d5 754a4d464
Author: Carles Pina i Estany <carles@pina.cat>
Date: Thu Nov 26 14:57:08 2026 +0000
QaTab: if autopkgtest or lintian work requests are FAILURE -> FAILURE... (MR !3475)
QaTab: if autopkgtest or lintian work requests are FAILURE -> FAILURE (REGRESSION/IMPROVEMENT): display the _work-request-qa-TASK_NAME.html view
Previously, only SUCCESS -> SUCCESS with REGRESSION/IMPROVEMENT had the
extra detail.
related #1372 and #1666
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3475
commit 936ea49d5c14b720410984e6779b490f0ce22547
Merge: 9ca657baa bff8bb10d
Author: Stefano Rivera <stefanor@debian.org>
Date: Thu Nov 26 14:25:06 2026 +0000
Don't clean debian/util/version/data.json (MR !3495)
We depend on having a commit ID in it in our source package for the upload to Debusine.
Instead, rely on operating from a pristine git checkout.
This isn't ideal behaviour for a Debian source package, but we don't
correcly clean at this point anyway, so it's not a huge issue.
Fixes: #1718
Closes #1718
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3495
commit bff8bb10d0c68e9b8abd4d0f244710c9f5fb408c
Author: Stefano Rivera <stefano@freexian.com>
Date: Thu Nov 26 08:52:52 2026 -0400
Don't clean debian/util/version/data.json
We depend on having a commit ID in it in our source package for the upload to Debusine.
Instead, rely on operating from a pristine git checkout.
This isn't ideal behaviour for a Debian source package, but we don't
correcly clean at this point anyway, so it's not a huge issue.
commit cfd6219427a6e54907519e2ff8b064e6932c7be2
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 26 11:39:08 2026 +0000
debian/tests: Adjust nginx configuration for 32-bit architectures
Since this is caused by a combination of running on 32-bit architectures
and having relatively long server names (as is common in autopkgtest
runners), and since people are unlikely to actually be running Debusine
servers on 32-bit architectures in production, I think it makes most
sense to work around this in our integration tests rather than trying to
do something in the main packaging.
Fixes: #1728
commit 96f1311c196b9e363e7fc9c6eb30aaf9f47b2878
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 26 11:04:34 2026 +0000
fsck: Fix occasional test failures
I noticed this odd test failure on Debian loong64
(https://ci.debian.net/packages/d/debusine/testing/loong64/78094869/):
```
AssertionError: Regex didn't match: '^File id: \\d+ sha256: \\w+ size:
\\d+ \\(known as e\\.g\\. 1 in Id: \\d+ Category: debusine:test
Workspace: \\d+\\) is not present in any store, marked incomplete\\.$'
not found in 'File id: 10 sha256:
8b45eb5e82590f3aa01774a0b88266b3b6f3841eefa224daccd89599c494bc2e size:
100 (known as e.g. 2 in Id: 8 Category: debusine:test Workspace: 1) is
not present in any store, marked incomplete.'
```
I'm not sure exactly how this happened - perhaps the same file was left
around by some other test which then had an earlier `FileInArtifact` ID?
But everything else about this test is very non-specific, so rather than
spending lots of time on this, I think it makes most sense to just make
the expected path non-specific too.
commit bc321fb89eaf4e96072d2a1f11b17307c744c836
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 26 10:44:43 2026 +0000
Autopkgtest: Copy /etc/resolv.conf symlink target for unshare backend
autopkgtest >= 5.31 runs `test -f /etc/resolv.conf && cp
/etc/resolv.conf "$rootdir/etc/resolv.conf"`. We were trying to
imitate that using `--copy=/etc/resolv.conf:/etc/resolv.conf`, but if
`/etc/resolv.conf` is a symlink then that copies it as a (possibly
dangling) symlink, while `cp` without options copies the symlink target.
I ran into this recently while testing some integration test changes: it
caused the `Autopkgtest` task to break very early on. It may have been
triggered by other changes I made to the integration tests, but it seems
like a bug regardless. Imitate autopkgtest >= 5.31 more faithfully and
copy the symlink target.
commit 9ca657baa54207839a9f3e74ca772ba0420b03da
Merge: b8b3b93aa 2954713ad
Author: Stefano Rivera <stefanor@debian.org>
Date: Wed Nov 25 15:04:01 2026 +0000
Temporarily pin pytest < 9.2 to keep xdist groups working (MR !3490)
Otherwise we get spurious test failures in debusine/signing when
multiple tests try to create migrations in parallel.
Working around: https://github.com/pytest-dev/pytest-xdist/issues/1407
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3490
commit 2954713adf986dc19f8195cec036528e9dbd8769
Author: Stefano Rivera <stefano@freexian.com>
Date: Wed Nov 25 10:02:43 2026 -0400
Temporarily pin pytest < 9.2 to keep xdist groups working
Otherwise we get spurious test failures in debusine/signing when
multiple tests try to create migrations in parallel.
Working around: https://github.com/pytest-dev/pytest-xdist/issues/1407
commit b8b3b93aa8a1c68caa6379656d53aece9ae47de7
Merge: 431d6dc75 7ff9cebed
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Nov 25 12:49:20 2026 +0000
Really accept work request tokens in archive views (MR !3479)
Follow-up to 0418b08cce93030aa0d75f2b9f1616a1bbeaf8bc; the views
themselves needed a change as well as the middleware.
Part of #1160.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3479
commit 431d6dc756fd4b9db184e900e8c8c217326303b5
Merge: ba314f0ff d46d26316
Author: Enrico Zini <enrico@debian.org>
Date: Tue Nov 24 21:40:47 2026 +0000
Cleanup and test authentication behaviour for channel views (MR !3481)
This should fix #1714.
Channel code can now rely on `context.pc` being set.
Closes #1714
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3481
commit d46d263162694ca68c41ed2235d13de6dafa66e9
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Nov 24 21:48:30 2026 +0100
Fixups after Carles' feedback
commit d70e2c017ebe09dfb3f145264b780496ab98ba59
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Nov 24 12:26:59 2026 +0100
Clean up, and test, authentication behaviour for channel views
commit 13880f57288f8a37a03109f442ac0fd71305ba51
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Nov 23 19:23:54 2026 +0100
Always set up a context also for channels, and share token handling code
commit ba314f0ff6abce6128d602d26ff16c347f901795
Merge: 7a2635141 9c6128a2b
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 24 20:11:15 2026 +0000
Add `generate_signing_keys` option to archives (MR !3480)
This allows instance administrators to indicate that certain archives
must always have manually-generated keys with custom properties.
Fixes: #1711
Closes #1711
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3480
commit 7ff9cebed8fcf16ba4302aace45ca70f6b110e72
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 23 16:42:04 2026 +0000
Really accept work request tokens in archive views
Follow-up to 0418b08cce93030aa0d75f2b9f1616a1bbeaf8bc; the views
themselves needed a change as well as the middleware.
Part of #1160.
commit 7a2635141f31eb360d8ed70447c23771d33b2ad5
Merge: 5092798cf 573764fef
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 24 19:37:58 2026 +0000
Stabilize order in db_workrequest_wf_failures_idx (MR !3483)
We can safely patch the existing migration, as the generated SQL is
identical.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3483
commit 5092798cf0aefea3064987c817149149f6532f01
Merge: fad8ed4ed f6c2ef5cf
Author: Carles Pina i Estany <carles@pina.cat>
Date: Tue Nov 24 17:04:23 2026 +0000
Fix HTTP 403 response handling (MR !3465)
## Problem
The Debusine HTTP client assumes that every HTTP 403 response means the authentication token is invalid or disabled.
However, a 403 response may also originate from an intermediary such as a proxy or reverse proxy.
## Changes
* Include the HTTP response body in the `ClientForbiddenError` message for generic HTTP 403 responses.
* Update the HTTP client test to verify that the response body is included in the exception.
* Add a news fragment.
Existing Debusine structured error handling remains unchanged.
## Tests
* `pytest debusine/client/tests/test_debusine_http_client.py` - 29 passed.
* `pre-commit run --files ...` - all configured hooks passed.
Closes freexian-team/debusine#1676
Closes #1676
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3465
commit fad8ed4ed562153591aa048b0c4b21b2aaf492c8
Merge: 04a3365b9 7542fccbd
Author: Stefano Rivera <stefanor@debian.org>
Date: Tue Nov 24 16:03:02 2026 +0000
Do not run create_new_workers() under transaction.atomic (MR !3482)
Do not run create_new_workers() under transaction.atomic, we don't want an exception to rollback all our work
Fixes: #1429
Closes #1429
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3482
commit 04a3365b90af17001a681951f484b2b44f1ec720
Merge: 18af9ff35 2a5122a51
Author: Stefano Rivera <stefanor@debian.org>
Date: Tue Nov 24 15:25:24 2026 +0000
Remove temporary redis version restriction (MR !3486)
remove the recent restriction as fakeredis 2.41.0 fixes the compatibility issue with redis-py 8.2.0.
as suggested by Colin in https://salsa.debian.org/freexian-team/debusine/-/work_items/1715#note_836636
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3486
commit 7542fccbd8761ed9c577564a229ba2557fd7f8ad
Author: Stefano Rivera <stefano@freexian.com>
Date: Tue Nov 24 11:25:22 2026 -0400
Detect if we run launch_workers() in a transaction
commit cc120fb2278df17a28fd5ba92dd70e690a00b5ca
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon Nov 23 14:25:31 2026 -0400
Catch InstanceLaunchException and log it
commit 2e3c7408c44668c89bb7fac722b281f85dc5cbd1
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon Nov 23 14:25:01 2026 -0400
Remove bookworm coverage test
commit 1efb6183a7ca05020beca40766fcad8d308435b3
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon Nov 23 13:47:13 2026 -0400
Do not run create_new_workers() under transaction.atomic, we don't want an exception to rollback all our work
Fixes: #1429
commit 2a5122a51a0bf2f61ea57aaf582e23822c72a808
Author: Ayush Sharma <ayhardeniya@gmail.com>
Date: Tue Nov 24 14:33:47 2026 +0000
Remove temporary redis version restriction
commit 2c16525b51060e9293f9c27863d8bf8455cdf089
Author: Carles Pina i Estany <carles@pina.cat>
Date: Tue Nov 24 10:48:52 2026 +0000
Fix 404 page for invalidscope/-/groups: if user is logged in, do not suggest to log in
commit 18af9ff352052f93d85042e7b7c303b98c130f58
Merge: fd55ceaca 252eb0f24
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 24 10:26:07 2026 +0000
Turn MergeUploads into a server task (MR !3467)
This should improve responsiveness when there's a long task queue:
package_upload workflows no longer need to wait for an external worker
to be available just in order to merge multiple upload artifacts.
Fixes: #1672
Closes #1672
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3467
commit 573764fef6cae6144a44dbf9c7afbee912d82d70
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 24 09:43:51 2026 +0000
Stabilize order in db_workrequest_wf_failures_idx
We can safely patch the existing migration, as the generated SQL is
identical.
commit 252eb0f24237ee910607d2099dfd3a499b19feab
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Nov 18 14:01:53 2026 +0100
Turn MergeUploads into a server task
This should improve responsiveness when there's a long task queue:
package_upload workflows no longer need to wait for an external worker
to be available just in order to merge multiple upload artifacts.
Fixes: #1672
commit fd55ceacad369abc2288b4c76d7fda31e3278a90
Merge: dcf31df8a b9c93ab6e
Author: Stefano Rivera <stefanor@debian.org>
Date: Mon Nov 23 17:30:31 2026 +0000
Rework version handling (MR !3474)
* Show the Debusine package version in the footer, if known.
* Show git commit links in the footer, if known.
* Pin cloud worker versions to the server version.
Future work here would be to use `git describe` versions when running from git. But... that has a wider impact on tests in the codebase, and isn't needed to close the issues in front of us.
Closes #1707 and #1708
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3474
commit 9c6128a2bab36ee5d040e0fda87dd67d4ca9d1ce
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 23 16:48:07 2026 +0000
Add `generate_signing_keys` option to archives
This allows instance administrators to indicate that certain archives
must always have manually-generated keys with custom properties.
Fixes: #1711
commit b9c93ab6e6bb9aa2406daca5b328c25c3c0e3994
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Nov 22 20:04:09 2026 -0400
Move get_user_agent to debusine.utils.http
commit 3fcd16ce7d467ce3be91789c16a14af18033fe59
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Nov 22 19:02:57 2026 -0400
Pin the debusine server's version in cloud worker bootstrap
Fixes: #1708
commit ad0a22817706e03e4c4a12fbbb2b422204caba0f
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Nov 22 18:00:39 2026 -0400
Show the Debian package version and git commit in the footer, if known
Fixes: #1707
commit 3c70673fe669600552ba37930484dc25740c0710
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Nov 22 19:26:24 2026 -0400
Use our new version utilities where helpful
commit 27fa54b9f4e5ea7d3537f5f6b43b29e3623afd4b
Author: Stefano Rivera <stefano@freexian.com>
Date: Fri Nov 13 15:25:07 2026 +0100
Extend the debusine.utils.version module to track more data
commit dcf31df8a156918e9cba756fbd520306f42fd42a
Merge: c4c8f1379 fd310ecb1
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Nov 23 15:40:04 2026 +0000
WorkRequest.process_event_reactions(): change from receiving a event name to an Event object (related #1638) (MR !3439)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3439
commit fd310ecb19fb1ced70a4b6937cb2d02900e89f23
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Nov 23 15:40:04 2026 +0000
WorkRequest.process_event_reactions(): change from receiving a event name (str) to event object (Event)
# Conflicts:
# debusine/server/workflows/sbuild.py
commit c4c8f1379c5e0431947b30648f68991aee9c97e8
Merge: 53c95eb59 b4bb355c7
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Nov 23 15:39:17 2026 +0000
Bump ruff and djlint in pre-commit (MR !3477)
No code changes required
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3477
commit 754a4d4640640f209ff96993499f8ea937c78041
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Nov 23 08:00:35 2026 +0000
QaTab: if autopkgtest or lintian work requests are FAILURE -> FAILURE (REGRESSION/IMPROVEMENT): display the _work-request-qa-TASK_NAME.html view
Previously, only SUCCESS -> SUCCESS with REGRESSION/IMPROVEMENT had the
extra detail.
related #1372 and #1666
commit b4bb355c7987dcb155e5a993f52a997425b821f0
Author: Carles Pina i Estany <carles@pina.cat>
Date: Mon Nov 23 10:22:37 2026 +0000
Bump ruff and djlint in pre-commit
No code changes required
commit 53c95eb596e17030f6af8062010590879c2c96dc
Merge: a56866f91 e515ef215
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 23 13:29:08 2026 +0000
Pin redis < 8.2.0 (MR !3478)
This works around a fakeredis incompatibility that broke
`unit-tests-pip`, which has been fixed upstream but not yet released.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3478
commit e515ef215d783e65aae6e3d04b6c83c6efb90d63
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 23 12:40:32 2026 +0000
Pin redis < 8.2.0
This works around a fakeredis incompatibility that broke
`unit-tests-pip`, which has been fixed upstream but not yet released.
commit a56866f91540c75c78163c384cb7846e1f1fe821
Merge: 988ac6873 107b0fcdf
Author: Stefano Rivera <stefanor@debian.org>
Date: Sun Nov 22 17:40:38 2026 +0000
Break up the debusine.utils module (MR !3473)
Too many unrelated things in the root of the module made it rather unwieldy.
There are no code changes other than import paths.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3473
commit 988ac6873e523d6b03659f381b65646a722246df
Merge: aa1c89430 360cc76c1
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Nov 22 15:18:20 2026 +0000
Generalize OpenPGP packet assembly (MR !3460)
For OpenPGP signing using AWS KMS, we need to assemble the packets
ourselves. However, most of this process is relatively generic, and
only needs a small amount of parameterization. We could use most of the
same code for any other HSM-like system, as long as it can give us raw
Ed25519 signatures.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3460
commit aa1c89430461b0357a349b69955798b933871a60
Merge: 8a2d04e1c 0418b08cc
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Nov 22 15:18:08 2026 +0000
Accept work request tokens as basic auth to archive views (MR !3470)
Part of #1160.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3470
commit 8a2d04e1c7e1239096e3c91439dc833b28343a5e
Merge: 5c97e8726 e723690d2
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Nov 22 15:17:49 2026 +0000
Fix task registry preservation in DBTaskTests/DBProxyTaskTests (MR !3469)
The `@preserve_task_registry` / `@preserve_db_task_registry` decorators
should be applied to tests and not to factory methods, as otherwise the
task classes are removed from the registry while they might still be
needed.
Noticed while working on #1160.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3469
commit 5c97e8726008748c828b6ab86cb3c17abe8ec7d5
Merge: c3fc2acf3 9fd555c5b
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Nov 22 15:17:31 2026 +0000
Factor out a separate DynamicExtraRepository class (MR !3468)
For #1160, I'm soon going to want to add another field that's only valid
for repositories in dynamic task data (suite collection IDs). To
support this, make `DynamicExtraRepository` a separate class.
There should be no functional change introduced by this commit.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3468
commit 107b0fcdfdb25f524135a5291713b6b43f418724
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Nov 22 10:21:58 2026 -0400
Use deeper debusine.utils imports
To avoid having to export everything at the top-level of the
debusine.utils module.
commit 22750e39bb8d394ea210ca4941e984ff442d400c
Author: Stefano Rivera <stefano@freexian.com>
Date: Sun Nov 22 09:45:59 2026 -0400
Break up debusine.utils, it was getting unweildy
commit 0418b08cce93030aa0d75f2b9f1616a1bbeaf8bc
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 19 11:32:12 2026 +0000
Accept work request tokens as basic auth to archive views
Part of #1160.
commit e723690d2ba8b438f3bdea8c348d19f1a2e86121
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 19 11:07:25 2026 +0000
Fix task registry preservation in DBTaskTests/DBProxyTaskTests
The `@preserve_task_registry` / `@preserve_db_task_registry` decorators
should be applied to tests and not to factory methods, as otherwise the
task classes are removed from the registry while they might still be
needed.
Noticed while working on #1160.
commit 9fd555c5b837be8dc6eb02f9eb457e1461bd65ff
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 19 10:53:50 2026 +0000
Factor out a separate DynamicExtraRepository class
For #1160, I'm soon going to want to add another field that's only valid
for repositories in dynamic task data (suite collection IDs). To
support this, make `DynamicExtraRepository` a separate class.
There should be no functional change introduced by this commit.
commit c3fc2acf33b8aa10f70d13bd8192c13cf347ee8a
Merge: 9f5379476 91c8be556
Author: Carles Pina i Estany <carles@pina.cat>
Date: Tue Nov 17 13:34:20 2026 +0000
QA view: when a "lintian" or "autopkgtest" is Success -> Success: conclusion Regression/Improvement: show more details (related #1666, #1372) (MR !3423)
QA view: when a lintian or autopkgtest regression "Success" -> "Success": conclusion "Regression" or "Improvement": show icon to display more information
related #1372 and #1666
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3423
commit 91c8be5563f8141fec1e5e85dc6e8f62a4ddbfa5
Author: Carles Pina i Estany <carles@pina.cat>
Date: Tue Nov 17 13:34:20 2026 +0000
QA view: when a "lintian" job is Success -> Success: conclusion Regression: show icon to display more information
It happens when "compare_qa_results_fine_grained" returns regression in the case of Success -> Success. For Lintian, this might be different tag count
related #1372 and #1666
commit 9f537947694a4a25049aca24aa571de0940bc9c8
Merge: 2ae0c4b10 f96704073
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 16 10:54:54 2026 +0000
Add an index to optimize FilterFailedWorkRequests (MR !3466)
Part of #1206.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3466
commit f96704073d018d9e0bbf3eb9d7a18c67cb042ae8
Author: Colin Watson <cjwatson@debian.org>
Date: Sun Nov 15 11:27:29 2026 +0100
Add an index to optimize FilterFailedWorkRequests
Part of #1206.
commit f6c2ef5cf539ff504146dd9faf59f74eddf77e27
Author: Mokshith Gowda <mokshy468@gmail.com>
Date: Fri Nov 13 18:34:16 2026 +0000
Fix HTTP 403 response handling
commit 2ae0c4b108c1c0718a5899848101210230b61343
Merge: b8ff40bba 86d5df10b
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Nov 13 08:51:31 2026 +0000
WorkerPool.terminate_worker: Retry work requests more gracefully (MR !3464)
We don't want to abort reverse-dependencies of a work request just
because its worker was terminated by a cloud provider and we had to
retry it. We already take this approach when we notice that a
non-pooled worker was restarted but still has a running work request.
Fixes: #1646
Closes #1646
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3464
commit 86d5df10b18e113c48111daf30bb87662962c819
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 12 21:59:42 2026 +0100
WorkerPool.terminate_worker: Retry work requests more gracefully
We don't want to abort reverse-dependencies of a work request just
because its worker was terminated by a cloud provider and we had to
retry it. We already take this approach when we notice that a
non-pooled worker was restarted but still has a running work request.
Fixes: #1646
commit b8ff40bba997e3a31e21477748261fd315c285e4
Merge: b06228fb0 6641b3634
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 12 20:18:57 2026 +0000
Allow retrying server tasks (MR !3456)
Fixes: #1685
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3456
commit b06228fb0d098e26be91f2d3bbfea1f30a8afb6f
Merge: 326f712ab 180ce7576
Author: Enrico Zini <enrico@debian.org>
Date: Thu Nov 12 08:10:07 2026 +0000
Added a way to stream the activity of one work request to debusine client (MR !3461)
This is part of #967
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3461
commit 180ce757625f5120fcd66038ed740898fd8c6031
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Nov 10 19:09:24 2026 +0100
Added a way to stream the activity of one work request to debusine client
commit 9bd09339a1f8aa3818c30caafef41fa41994cc54
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Nov 10 18:36:06 2026 +0100
Deal with configured API URLs that end in slashes
commit 326f712ab3ab3532ace373988abb9db4a799cc78
Merge: 355639375 4a8406f56
Author: Enrico Zini <enrico@debian.org>
Date: Tue Nov 10 14:37:41 2026 +0000
Added a mock worker that can be used to interactively simulate task execution (#967) (MR !3459)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3459
commit 360cc76c1173ccf3352da219942c8552ff08c4c5
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 10 14:35:28 2026 +0000
Generalize OpenPGP packet assembly
For OpenPGP signing using AWS KMS, we need to assemble the packets
ourselves. However, most of this process is relatively generic, and
only needs a small amount of parameterization. We could use most of the
same code for any other HSM-like system, as long as it can give us raw
Ed25519 signatures.
commit 3556393751b28f299fb9c78f391e63e1fd03e941
Merge: 88bd18104 e9c338962
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 10 14:20:56 2026 +0000
Expose the "Expires at" field in user token views (MR !3458)
Part of #873.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3458
commit 4a8406f5615302e7291ea5f9e73f81c5561851c0
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Nov 10 14:38:05 2026 +0100
Added a mock runner that can be used to interactively simulate task execution
commit e9c338962b1f1cd530b5ba7f9eb463e94214530b
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 10 12:59:23 2026 +0000
Expose the "Expires at" field in user token views
Part of #873.
commit ba1431de776fcba026ab1ec7c26a306376fad704
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Nov 10 10:51:31 2026 +0000
Refactor token list to use a table
commit cc0e2a0a9585e9c915c5cb2dd2290dc0d0dd028f
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Nov 10 10:57:21 2026 +0100
Tweaked incus executor class hierarchy and added missing @override
commit 88bd1810454299accb66ddc6ec1af7454db77486
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Nov 9 18:32:57 2026 +0100
Pass tzinfo to datetime.combine
commit 6641b36343708b51de55433d435ac1363b646d5e
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 9 16:33:04 2026 +0000
Allow retrying server tasks
Fixes: #1685
commit 6a786c7021e1f592c9c26ed77f2a0c4ddb440558
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Nov 9 16:31:59 2026 +0000
Sync TestCase.assertStartsWith prototype with stdlib
This ensures that `mypy` works regardless of whether it's running on
Python < 3.14 or >= 3.14.
commit 51ab15d752437eb54aaa52f78085a7f270f5f93e
Merge: 8759d6c6b 396923ffc
Author: Enrico Zini <enrico@debian.org>
Date: Mon Nov 9 15:48:10 2026 +0000
Implemented filtering of workspaces in scope page. Fixes: #1528 (MR !3455)
Closes #1528
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3455
commit 396923ffc8121c2cf82cda4a30846db59d52f60d
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Nov 9 16:00:59 2026 +0100
Implemented filtering of workspaces in scope page. Fixes: #1528
commit 8759d6c6b94f1eb7908a18dbf2251a6e2d7b407f
Merge: c4e58c7ef a84f46e62
Author: Enrico Zini <enrico@debian.org>
Date: Mon Nov 9 08:41:51 2026 +0000
Added `debusine workspace task-history` to query task history entries (#1550) (MR !3454)
You can try this out:
1. checkout the `uery-task-history` branch
2. `python3 -m debusine.client setup`
3. Add a new server, with URL `https://playground-3454.aws.debusine.dev/api/` and default workspace `Playground`
4. Obtain a token, make it the default server if you want
At that point, `python3 -m debusine.client workspace task-history` will be able query the playground workspace in the test server, and you can filter by time and subject
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3454
commit a84f46e62a28920e902d332e023fff6a82ba7337
Author: Enrico Zini <enrico@enricozini.org>
Date: Fri Nov 6 16:14:02 2026 +0100
Added `debusine workspace task-history` to query task history entries
commit c4e58c7efc3de5b8da98bbdb945b5fbb5f61c114
Merge: 7d8524730 4a0b6ded8
Author: Enrico Zini <enrico@debian.org>
Date: Thu Nov 5 16:57:08 2026 +0000
Implement inviting external people to scopes/groups (fixes: #754) (MR !3405)
Visible at https://playground-3405.aws.debusine.dev/debusine/ after logging in as `playground-scope`.
The menu "Options / Invite users" will lead to the list of invites, where one can create, display, and edit them.
Thanks to !3421, salsa signon now works for https://playground-3405.aws.debusine.dev/ and invites can be generated and tested. The playground VM cannot send email, though, so all generated invites are marked as "Unsent", but you can get the link from the UI, log out and try it out
Closes #754
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3405
commit 4a0b6ded8df20b01405c61d5a6617e52a2d67370
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Oct 12 12:40:52 2026 +0200
Allow to activate invites for existing users
commit 8314ebdd9c795059d30f004affd663cf5fe383f7
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Oct 12 12:15:59 2026 +0200
Added a way to revoke an invite instead of activating it
commit 10bf81df7adbab4e406c90be267658af56e31340
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Oct 8 14:33:41 2026 +0200
Added signon code to activate invites
commit f2a8b6227e5979897898bb1123fdc4419e7903a7
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Oct 8 15:33:48 2026 +0200
Added UI to manage invites
commit d17cb01583e5a120825d862a219f1cbff37e363f
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Oct 8 15:13:25 2026 +0200
Do not require coverage for code skipping running abstract test cases
commit 4abc03c473e7e91c1a051be2b87fd9b69edda45f
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Sep 28 12:05:43 2026 +0200
Added a ScopeInvite model, and a mechanism to generate and validate URLs for it
commit 7d85247301b8ac84bf009fdac09eefc1edc50952
Merge: f595c8b2c f725882d5
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 5 12:45:00 2026 +0000
quick-setup: Install deps of mypy pre-commit hook (MR !3453)
The mypy pre-commit hook installs systemd-python from PyPI. It has no
wheels, so pip builds it from source, which needs a C compiler,
pkg-config, and the libsystemd and Python headers. The code-linting CI
job installs these explicitly, but bin/quick-setup.sh did not, so
`make check` failed in a fresh development environment with:
FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'
Add them to the dev extra in pyproject.toml so quick-setup installs
them.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3453
commit f595c8b2cbcae89569c0356125eb57fe3ac3580c
Merge: f22e3450d ca6abec30
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Nov 5 12:14:37 2026 +0000
Pass the server's certificate chain on to environments (MR !3449)
As long as the worker's trust store allows verifying the server's
certificate, this means that environments will be able to use Debusine
repositories over HTTPS even if they have a less complete trust store.
Part of #1160. We don't yet require workers to use HTTPS for
communicating with the server, but this paves the way for doing so.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/3449