commit 12a6375150e12f4956955839dd67fd250323ccbc
Merge: 354b67c46 901794c3c
Author: Enrico Zini <enrico@debian.org>
Date: Sat Mar 7 14:50:19 2026 +0000
Merge FakeTaskDatabase into MockTaskDatabase (MR !2809)
They slowly became the same class, and can can finally be merged into one
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2809
commit 354b67c4630410645c4e9aeb4ce6d38973bc9919
Merge: 9b82faef2 629cfd82a
Author: Enrico Zini <enrico@debian.org>
Date: Sat Mar 7 14:13:37 2026 +0000
Polish WorkRequestPlugin API. Fixes: #1316 (MR !2807)
Closes #1316
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2807
commit 901794c3cef3fb7098a7576a82fc78e278c3c121
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 18:55:30 2026 +0100
Merge FakeTaskDatabase into MockTaskDatabase
commit 629cfd82a75fbba16b35d5489e00ad90abe188b0
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 18:47:37 2026 +0100
Polish WorkRequestPlugin API now that tasks always contain a work request
commit 9b82faef21f29f14d834123fb987308e46d88d7d
Merge: 498b1cb96 5db2d504e
Author: Enrico Zini <enrico@debian.org>
Date: Sat Mar 7 12:55:52 2026 +0000
Updated documentation after task refactoring, and added a task upgrading checklist (#1316) (MR !2804)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2804
commit 498b1cb968290eb1fba01127e2bbee5f45006f35
Merge: 70f12f34d ccb153842
Author: Enrico Zini <enrico@debian.org>
Date: Sat Mar 7 12:02:33 2026 +0000
Use a BuildArchitectureInput field for build_architecture, and settings.DEBUSINE_FALLBACK_ARCHITECTURE for its value (fixes #1347) (MR !2794)
This MR is probably best reviewed on a commit by commit basis.
I checked and `self.build_architecture()` is never called by any tasks outside of computing tags and dynamic data, so we would now be free to access it from worker-side code as well
Closes #1347
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2794
commit 70f12f34dcd23cbad5f67c170c825a894677aeeb
Merge: 13ff9d449 4b81b8672
Author: Enrico Zini <enrico@debian.org>
Date: Sat Mar 7 11:27:09 2026 +0000
Added required build architecture tags to external tasks (#326) (MR !2793)
This also cleans up the use of `build_architecture()` in preparation for being superseded by a task input field (#1347)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2793
commit 5db2d504e880dafe9c0125531a614a735c796f66
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 15:25:06 2026 +0100
Added task upgrading checklist
commit e3728681b377ab7636d1e96491821e8a518b01b0
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 14:45:01 2026 +0100
Added reference internal api documentation for pydantic task models
commit c60700ccea2d5cd60b5886eaf13eeb75d2546e4f
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 12:55:56 2026 +0100
Added documentation for task input fields
commit 69d6498ffa5214bbf9cde6dc1a0a575c8e261785
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 11:55:54 2026 +0100
Update documentation to reflect the new external task architecture
commit ccb15384243f3ba76ebda511d5beaf23091172bf
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 18:51:19 2026 +0100
Announce the change
commit 3fc2b3a176a30eb3739fc47b049cddb35bfa6a42
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 08:57:16 2026 +0100
Get fallback architecture from a django setting
commit 5691c20defa7fd55f5dadd752b330e8e0b32742a
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 08:56:03 2026 +0100
Fix test fallout after introduction of the binary_architecture field
commit 991254b28431fcf6b48278a8dcb33c4cb085e274
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 08:50:25 2026 +0100
Use a BuildArchitectureInput field for build_architecture
commit 6b5374c0b20cbcb030611299813ede708979629d
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 08:45:55 2026 +0100
Add a playground version of schedule_for_worker which re-raises exceptions that would get hidden
commit 1f20aba2df2bc8d60024eebc78db277f8a0c81a0
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 17:53:42 2026 +0100
Tidy up test code
commit c33805f60f8d3c35e0e2cdb239424d11fcd3ccd5
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 16:37:15 2026 +0100
Fix inputs inheritance with multiple parents
commit b33513222aaed9851005a2cb7fb4e4e4f43628a0
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 13:32:45 2026 +0100
Added BuildArchitectureInput field that looks up the fallback architecture via task database
commit 4b81b86723ad0dc3e92767d5ba855052c7e79bee
Author: Enrico Zini <enrico@enricozini.org>
Date: Fri Mar 6 15:48:46 2026 +0100
Made migration incremental and documented a script to prefill it
commit 6726bf5bdd962a5506638a23e409094b7c0687e1
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Mar 5 19:44:29 2026 +0100
Added migration that adds worker:build-arch: tags from tasks' architecture in task data
commit d293d11bd24f86fd597c45da02a1c28c9725cfc1
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 17:41:57 2026 +0100
Announce the change
commit c7eebb34c49283627447a72372e95c2635fba60b
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 15:12:21 2026 +0100
Require build architecture tags, and use them in code that count or filter tags by architecture
commit 770d6f802d23e813b16624930f6519acba9a12c6
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 14:24:13 2026 +0100
Refactor build_architecture method to be specific to external tasks
commit 13ff9d449564688165f93b6e1dd65eda2eaab2e6
Merge: 7c4182b6c 8549d6ffd
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Mar 6 18:31:38 2026 +0000
Return (object, created) from `work_request_ensure_child_*` (MR !2818)
In some cases, workflows need to check whether they created a new child
work request. Make this easier.
Fixes: #1371
Closes #1371
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2818
commit 8549d6ffd7cd2f7a5d42b3f45ba59ba4ca5121ab
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Mar 6 12:23:49 2026 +0000
Return (object, created) from `work_request_ensure_child_*`
In some cases, workflows need to check whether they created a new child
work request. Make this easier.
Fixes: #1371
commit 7c4182b6c09c9b018a978f546acf69506d91b9b9
Merge: eec85fe11 752f36733
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Mar 6 11:40:43 2026 +0000
Fix idempotency failure in some workflows if qa_suite changes (MR !2815)
Fixes: #1370
Closes #1370
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2815
commit eec85fe11c42ee953d843d3cec76bf028cd0fb19
Merge: 0cbedc213 fb95bf91b
Author: Colin Watson <cjwatson@debian.org>
Date: Fri Mar 6 11:28:06 2026 +0000
Update collection name search to match anywhere (Closes: #1145) (MR !2814)
Changed the ORM filter in CollectionSearchView from name__startswith
to name__contains to allow case-sensitive partial matching anywhere
in the string.
Added test coverage for partial matching and case sensitivity.
Closes #1145
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2814
commit 0cbedc213a972cbaa37a83cdb0692984a86eb707
Merge: 6394acd3e 0dbb4cb3a
Author: Raphaël Hertzog <hertzog@debian.org>
Date: Fri Mar 6 07:08:10 2026 +0000
Fix existing backport check in quick_setup.sh (MR !2817)
Also added enable_backports in help section.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2817
commit 0dbb4cb3af8f7ebd40bd0600456f50f149084fb4
Author: Ranjodh Singh <ranjodhsingh1729@gmail.com>
Date: Fri Mar 6 01:51:51 2026 +0530
Fix existing backport check in quick_setup.sh
commit 6394acd3e25f7b88ec64fcba20ebf51dd86397b3
Merge: 2d091b602 c6d48c5c2
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 18:28:45 2026 +0000
ruff: Enable SIM118 (no-dict-keys) (MR !2816)
This is a small simplification that should be uncontroversial
(https://docs.astral.sh/ruff/rules/in-dict-keys/). There's only one
case where `ruff` gets it wrong.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2816
commit 2d091b602e301566b3f0de52330c73886acd0f4b
Merge: 674d3fa9e 1ffec1582
Author: Enrico Zini <enrico@debian.org>
Date: Thu Mar 5 18:24:03 2026 +0000
Serialize task input fields in dynamic task data, and deserialize them when instantiating external tasks (fixes #1346) (MR !2789)
This MR is probably best reviewed on a commit by commit basis
Closes #1346
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2789
commit 674d3fa9eec520e5f7d3bffd9bda5db57ba965e4
Merge: f9ab5949a 2d3e131e2
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 18:05:55 2026 +0000
Route the provisioner scrub task to the provisioner queue (MR !2813)
Routing this to the main Celery queue seems to work, but I think it
would make a bit more sense if these tasks were run by the provisioner
service instead.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2813
commit f9ab5949a51f6ecfd2565a204949843c651e1aa7
Merge: 121f2a150 f10e25512
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 18:05:43 2026 +0000
Optimize archive and suite lookups to use available indexes (MR !2812)
Fixes: #1367
Closes #1367
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2812
commit 1ffec15827f7291c3d2e9efa35dad69d7cc49b76
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 17:36:30 2026 +0100
Announce the change
commit 935d8504963c26847d377d507a6524576a24a8cc
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 20:57:09 2026 +0100
Serialize input fields in dynamic task data, and deserialize them on external task creation
commit 57715b5ddbbf32d1185e486e64137957b5dc2074
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 20:17:01 2026 +0100
Implement serialization and deserialization of values in task input fields
commit 50412bd7d299d22a340d16ad2848909622371c64
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 18:58:43 2026 +0100
Made ArtifactInfo, InputArtifactMultiple and InputCollectionSingle frozen and serializable
commit 752f36733e13fcdfcf806628749ab013943a96d5
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 16:07:17 2026 +0000
Fix idempotency failure in some workflows if qa_suite changes
Fixes: #1370
commit c6d48c5c20cf5d392fb4a1b7e38ae7979c220e06
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 16:50:10 2026 +0000
ruff: Enable SIM118 (no-dict-keys)
This is a small simplification that should be uncontroversial
(https://docs.astral.sh/ruff/rules/in-dict-keys/). There's only one
case where `ruff` gets it wrong.
commit fb95bf91bc7d3d4926875a469b84ef2c0d8c5b28
Author: hxed <121557650+Exo1i@users.noreply.github.com>
Date: Thu Mar 5 05:57:03 2026 +0200
Update collection name search to match anywhere (Closes: #1145)
Changed the ORM filter in CollectionSearchView from name__startswith
to name__contains to allow case-sensitive partial matching anywhere
in the string.
Added test coverage for partial matching and case sensitivity.
commit 2d3e131e2355bbeed6ce3ec9f9cebd2e2821649d
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 13:04:41 2026 +0000
Route the provisioner scrub task to the provisioner queue
Routing this to the main Celery queue seems to work, but I think it
would make a bit more sense if these tasks were run by the provisioner
service instead.
commit f10e255124cfab3429408553824f58f64e433cf5
Author: Colin Watson <cjwatson@debian.org>
Date: Thu Mar 5 12:53:27 2026 +0000
Optimize archive and suite lookups to use available indexes
Fixes: #1367
commit 121f2a150e905d0307cefcbb6b9182c6414fd4e3
Merge: f3cb06a03 3fb2760d3
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 21:09:37 2026 +0000
Rework contributor documentation (MR !2801)
I reorganized and split up the large list under "How to contribute" into
multiple sections:
* "Set up your environment": This now has explicit instructions on
setting up Incus, using a development container, and optionally
sharing a directory from the host system for convenient editing of
source code. It also includes directions for setting up backports.
* "Make and test your changes": This covers running tests using
modernized directions, rather than our not-very-maintained `tox`
configuration.
* "Run Debusine components": This covers running the server and the
various workers, but includes a note at the top to guide people
towards relying on the test suite instead in most cases.
* "Contribute your changes": Instructions on creating a Salsa account
and forking Debusine now live here. This means that people can get
their environment set up more quickly, and only do these extra steps
when they need them.
I also generally reviewed the text and clarified various details.
Fixes: #1355
Closes #1355
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2801
commit 3fb2760d3297e500252e7f7e829689df8e558a53
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 14:40:03 2026 +0000
Remove tox configuration
We haven't really maintained it properly for a while, so it's
misleading. The contributor documentation has advice on what to use
instead.
commit 28224903d15f774b01528b9a702ed3e3776f48d4
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 14:36:50 2026 +0000
quick-setup: Enable trixie-backports automatically if needed
commit 9d01f03f7424e8f28fafe281989a3c8284a7c8da
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 13:01:58 2026 +0000
Rework contributor documentation
I reorganized and split up the large list under "How to contribute" into
multiple sections:
* "Set up your environment": This now has explicit instructions on
setting up Incus, using a development container, and optionally
sharing a directory from the host system for convenient editing of
source code. It also includes directions for setting up backports.
* "Make and test your changes": This covers running tests using
modernized directions, rather than our not-very-maintained `tox`
configuration.
* "Run Debusine components": This covers running the server and the
various workers, but includes a note at the top to guide people
towards relying on the test suite instead in most cases.
* "Contribute your changes": Instructions on creating a Salsa account
and forking Debusine now live here. This means that people can get
their environment set up more quickly, and only do these extra steps
when they need them.
I also generally reviewed the text and clarified various details.
Fixes: #1355
commit f3cb06a030ff1ddc6ca186c6a87ac8e97814dd76
Merge: 1761c9c29 c5959a34f
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 16:59:06 2026 +0000
GetNextWorkRequestView: Return HTTP 423 rather than 503 if locked (MR !2806)
Deliberately returning HTTP 503 causes too many operational annoyances.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2806
commit 1761c9c29d49acfa4ccec353fa5f0651d91543f0
Merge: 24430523b ed197e21a
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 16:01:57 2026 +0000
SignRepositoryIndex: Fix signed-to-unsigned relation type (MR !2803)
The documentation for the `debian:repository-index` artifact category
says that `Release.gpg` and `InRelease` files have an `extends` relation
to the corresponding unsigned `Release` file. The implementation
mistakenly created a `release-to` relation instead.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2803
commit c5959a34f0e9998e2dcc3433d60cf439d065b8a2
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 15:09:51 2026 +0000
GetNextWorkRequestView: Return HTTP 423 rather than 503 if locked
Deliberately returning HTTP 503 causes too many operational annoyances.
commit 302bd5690684518bd01005836efc010ff76c757a
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 15:07:02 2026 +0000
worker: Be less aggressive about retrying get-next-for-worker requests
commit 24430523b5604ec1147af92a87b5b0e387f72095
Merge: baf0f9b66 58c5593f2
Author: Enrico Zini <enrico@debian.org>
Date: Wed Mar 4 15:06:29 2026 +0000
Promote the task configuration blueprint to the main documentation (MR !2798)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2798
commit baf0f9b66caff054d0516532d1291f26455909ad
Merge: 87a75da08 12c4c0629
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 14:50:03 2026 +0000
delete_expired: Fix misleading _mark_to_keep docstring (MR !2802)
Its description of relations that cause otherwise expirable artifacts to
be kept was backwards.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2802
commit 58c5593f2c26bf712abaccc2b5b713f5088281d6
Author: Enrico Zini <enrico@enricozini.org>
Date: Wed Mar 4 12:20:57 2026 +0100
Promoted the task configuration blueprint to the main documentation
commit 87a75da0809ea96b9416af2c1aac87a0605f0b39
Merge: 0ab0366fc 148127926
Author: Stefano Rivera <stefanor@debian.org>
Date: Wed Mar 4 14:19:25 2026 +0000
Worker and Permission test reorganization (MR !2799)
Some advance cleanup for #523 that is easier to review separately:
* Rename `_worker.py` tests to allow automatic discovery.
* Move tests for code that was moved to `rest.py` to its own `test_rest.py` for automatic discovery.
* Modify the websocket token tests to use appropriate fake data (correct data structures) and add a dummy header to increases test coverage.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2799
commit ed197e21a7259f37c4ad3707c5e76e68f4502ae1
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 14:12:29 2026 +0000
SignRepositoryIndex: Fix signed-to-unsigned relation type
The documentation for the `debian:repository-index` artifact category
says that `Release.gpg` and `InRelease` files have an `extends` relation
to the corresponding unsigned `Release` file. The implementation
mistakenly created a `release-to` relation instead.
commit 12c4c0629ec79d100878dc2747ab298d5d9ca4e2
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 14:07:16 2026 +0000
delete_expired: Fix misleading _mark_to_keep docstring
Its description of relations that cause otherwise expirable artifacts to
be kept was backwards.
commit 14812792671f8ac555e72ff4703daa28b4375eb4
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat Feb 28 15:43:19 2026 -0400
Correct data structure for headers in test (improving coverage)
commit c65eaa733eff447f40b177e5341b37bd983c796b
Author: Stefano Rivera <stefano@freexian.com>
Date: Sat Feb 28 16:07:10 2026 -0400
Move debusine.server.views.rest tests into their own file
commit 0ab0366fc381202db4f11a9324381f8747ba58d7
Merge: fa7a326ae 6b8e96d82
Author: Stefano Rivera <stefanor@debian.org>
Date: Wed Mar 4 13:42:39 2026 +0000
Mock another sbuild command availability test in tag testing (MR !2800)
Missed in 101fccdd0a2ce47ac6ce4781f571c3966d0c8479 this model test gets
the sbuild task's provided worker tag set. The set depends on the
availability of the "sbuild" command on the host, so this availability
should be statically mocked for repeatability.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2800
commit fa7a326aecf86c60a3dcf78abf0da276fe9c2c12
Merge: 3805c13e2 4a55a09ef
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 12:57:30 2026 +0000
qa: Update top-level regression analysis incrementally (MR !2795)
This involves a new "incremental" unblock strategy, allowing a workflow
callback to wake up to do part of its job and then go back to the
"blocked" status.
Fixes: #1337
Closes #1337
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2795
commit 6b8e96d825e34c8b11db1790c23fefcdc1fc1367
Author: Stefano Rivera <stefano@freexian.com>
Date: Wed Mar 4 08:50:46 2026 -0400
Mock another sbuild command availability test in tag testing
Missed in 101fccdd0a2ce47ac6ce4781f571c3966d0c8479 this model test gets
the sbuild task's provided worker tag set. The set depends on the
availability of the "sbuild" command on the host, so this availllability
should be statically mocked for repeatability.
commit a4dcd2d76fd908fbecc12e33f96fc6c55623dd9b
Author: Stefano Rivera <stefano@freexian.com>
Date: Tue Feb 24 14:50:43 2026 -0400
Rename test_worker.py for automatic test discovery
commit 4a55a09ef220ce4fc39ac660d05b0b9c1f7e87d6
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 11:04:20 2026 +0000
qa: Add some test helpers for creating artifacts
commit da466c76a3e1a7ab04977e97a733544fbb64f789
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 10:34:00 2026 +0000
playground.create_artifact: Infer workspace from work request
commit 9a932b0152b31dc51013f6777ac1285a4792c850
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 10:10:03 2026 +0000
qa: Make tests a bit less vertically verbose
commit 0fef488074fea2e850a891f74bf60a5861b61834
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Mar 3 18:14:28 2026 +0000
qa: Update top-level regression analysis incrementally
This involves a new "incremental" unblock strategy, allowing a workflow
callback to wake up to do part of its job and then go back to the
"blocked" status.
Fixes: #1337
commit 3805c13e219ec07b9e69986a45f9ab18cc77c0f4
Merge: be7d4804b 53655df05
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 09:55:17 2026 +0000
qa: Allow regression-analysis callback's dependencies to fail (MR !2797)
This callback analyzes any failures of its dependencies, so it doesn't
make sense for the low-level work request system to automatically abort
it if its dependencies fail (see
`WorkRequest.unblock_reverse_dependencies`).
Fixes: #1133
Closes #1133
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2797
commit be7d4804b2e2bdbb6a785e64cbc76c42b8fb32ea
Merge: 5cd48109c 605268062
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 09:55:01 2026 +0000
Don't generate emails to admins for explicit API exceptions (MR !2796)
It's occasionally useful to generate an explicit exception with HTTP
status code >= 500, and by default Django logs these at the `ERROR`
level which causes emails to admins. Explicit API exceptions are errors
reported to the client, so in general we don't need to report them to
admins as well.
Fixes: #1359
Closes #1359
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2796
commit 53655df059eae4c0729636cfa4b48b3bf9433cb4
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 01:09:57 2026 +0000
qa: Allow regression-analysis callback's dependencies to fail
This callback analyzes any failures of its dependencies, so it doesn't
make sense for the low-level work request system to automatically abort
it if its dependencies fail (see
`WorkRequest.unblock_reverse_dependencies`).
Fixes: #1133
commit 6052680629369bbba418f33d9576d727b935de53
Author: Colin Watson <cjwatson@debian.org>
Date: Wed Mar 4 00:42:23 2026 +0000
Don't generate emails to admins for explicit API exceptions
It's occasionally useful to generate an explicit exception with HTTP
status code >= 500, and by default Django logs these at the `ERROR`
level which causes emails to admins. Explicit API exceptions are errors
reported to the client, so in general we don't need to report them to
admins as well.
Fixes: #1359
commit 5cd48109c30359e0adc1b17a1c55301902344a65
Merge: f6fda1bb7 e4f07d576
Author: Stefano Rivera <stefanor@debian.org>
Date: Tue Mar 3 14:48:34 2026 +0000
Fix `upload-to-debusine` GitLab CI config (MR !2790)
Stop the task from running on branches it was not supposed to.
See: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2787#note_730675
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2790
commit e4f07d5765964f506464f316b0d3d5705a480f43
Author: Stefano Rivera <stefano@freexian.com>
Date: Tue Mar 3 10:07:28 2026 -0400
Only execute upload-to-debusine on the main debusine repo fork
commit f6fda1bb7d4d87587f80962b71ba84c6b6c7ef9a
Merge: a55f06ce7 8eba38f56
Author: Enrico Zini <enrico@debian.org>
Date: Tue Mar 3 13:15:15 2026 +0000
Merge lookup result models in debusine.tasks.server with InputArtifact* models (fixes #1351) (MR !2788)
This MR is probably best reviewed on a commit by commit basis
Closes #1351
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2788
commit a55f06ce782f3477f222bd68db473bb17bf54282
Merge: b8fd8f49d bf9ba5593
Author: Stefano Rivera <stefanor@debian.org>
Date: Tue Mar 3 12:53:10 2026 +0000
Fix 404 in filtered results beyond the end of the list in workflows (MR !2717)
Fixes: #1306
Overloads `validate_number` in `Paginator` to clamp the values that exceed the last available page.
This change will make the page numbers beyond the last page to display the last page (without redirect) instead of a 404.
Closes #1306
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2717
commit bf9ba559369272dd1b11b06faa0cdd8f0019a79d
Author: Ranjodh Singh <ranjodhsingh1729@gmail.com>
Date: Tue Mar 3 12:53:10 2026 +0000
Overide validate_number in Paginator
commit 8eba38f5686f5f81fa1ddbe00b3c47f1a074ad03
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 10:33:51 2026 +0100
Forward port code merged to devel
commit 063616a12d47e60602c3168a8d27c2480c551709
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 18:16:49 2026 +0100
Bring ArtifactInfo and InputArtifactSingle a bit closer, and defer merging them
commit eccff5de2a37b7a036b05a76ec226247ffeab80c
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 18:11:08 2026 +0100
Renamed CollectionInfo to InputCollectionSingle
commit b9ffdb2a2411f8060456407b0eb38fe353b8594d
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 18:05:26 2026 +0100
Refactored CollectionInput as a BaseLabeledTaskInput
commit 7376fd5e99a32e1fb5a8e7d27caf2f1b0b682515
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 14:50:15 2026 +0100
Replace MultipleArtifactInfo with InputArtifactMultiple
commit e7be8cd3280c49599290bc0037dad0812ac9e577
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 11:08:10 2026 +0100
Align data layouts of MultipleArtifactInfo and InputArtifactMultiple
commit 263247c0cefadb4ef65b27feb4ccad87bb7791c0
Author: Enrico Zini <enrico@enricozini.org>
Date: Mon Mar 2 10:47:03 2026 +0100
Align data layouts of ArtifactInfo and InputArtifactSingle
commit b8fd8f49d3b2e200150008c030805de3589f983e
Merge: e04783d11 1b2a73dc0
Author: Enrico Zini <enrico@debian.org>
Date: Tue Mar 3 12:09:25 2026 +0000
Provide worker tags from celery workers (MR !2791)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2791
commit e04783d1150f67cc48fdf0357f0d1c5ac2ef485f
Merge: 548ebef10 f01998ab7
Author: Enrico Zini <enrico@debian.org>
Date: Tue Mar 3 11:40:13 2026 +0000
Configure worker tasks when they become pending, matching the behaviour of other task types (MR !2776)
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2776
commit 1b2a73dc0d7f69b8902b7d5c6b86cb0b30bd60e0
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 12:37:20 2026 +0100
Do not add executor tags and metadata for celery workers
commit ade2bbaac7072711dd1eab9cbcdb1b8179a6a9f2
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 11:00:40 2026 +0100
Provide worker tags from celery workers
commit 8f46164bb0a9409bd78a181f55ef1a5d6483bd55
Author: Enrico Zini <enrico@enricozini.org>
Date: Tue Mar 3 10:55:47 2026 +0100
Added TestCase.spy_method/spy_object_method to mock-wrap existing methods to inspect how they are called
commit 548ebef10e024c13b68de469f49ddee0d60a7c1f
Merge: 85a938bd6 0b6fdf307
Author: Colin Watson <cjwatson@debian.org>
Date: Tue Mar 3 10:57:25 2026 +0000
docs: split bare-data spec from artifact spec for package-build-log (MR !2767)
Moved the bare-data definition into docs/reference/bare-data/specs/. Verified that both roles resolve correctly and no duplication appears in the collection page.
Opened in reference to freexian-team/debusine#1338
Closed a similar one due to failure to pull from upstream before pushing.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2767
commit f01998ab7317eb6606a3bb8d47006d42ce2cc33f
Author: Enrico Zini <enrico@enricozini.org>
Date: Fri Feb 27 10:55:12 2026 +0100
Rename WorkRequest.configure_for_worker to compute_dynamic_data
commit 36d677be86c66439e5d7569ca894a17d860232c0
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Feb 26 11:35:40 2026 +0100
Make lookups in orchestration satisfiable in MakeSignedSourceWorkflow tests
commit bdf5a659fc914b9534c9da0bd7cac09d5536f05e
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Feb 26 12:43:43 2026 +0100
Update API WorkRequestView to deal with the new life progress of tasks
commit cf8ca13d6a6f4543617c2c9fb02900e5c8c5e888
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Feb 26 11:51:31 2026 +0100
Configure worker tasks when the become pending, match the behaviour of other task types
commit 240cefa20902a64563a4ceb0efd7987e7245bcae
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Feb 26 11:43:28 2026 +0100
Added environment artifacts to make some tests work and some not require use_data=False
commit 4d927b17baf7ffa2a7222105e6f6d1e1e8c9e72d
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Feb 26 11:16:56 2026 +0100
Use advance_work_request with assign_new_worker instead of assigning worker directly
commit 8f35db6bee065a9fba2e73cdf41e77a668d3efcc
Author: Enrico Zini <enrico@enricozini.org>
Date: Thu Feb 26 11:12:16 2026 +0100
Allow to use playground to orchestrate workflow with some test-specific supervision
commit 0b6fdf307467c5463cbe86a20ab9e0a7d86e8a34
Author: Nikil <snikilpaul@gmail.com>
Date: Mon Mar 2 21:23:01 2026 +0530
docs: correct bare-data spec for package-build-log
Clarify that this is a bare data item rather than an artifact.
Remove Files and Relationships sections which only apply to artifacts.
commit 768dc14d4c75b20c80d6e667629688797dbc3167
Author: Stefano Rivera <stefano@freexian.com>
Date: Mon Mar 2 16:26:44 2026 -0400
Compare missing variables against null, not the empty string
commit 85a938bd69a80b89c82413bb23148e90af424898
Merge: 5b76b165c 6389d7c1e
Author: Colin Watson <cjwatson@debian.org>
Date: Mon Mar 2 17:19:50 2026 +0000
docs: fix Sovereign Tech Agency hyperlink formatting (MR !2786)
Add missing trailing underscore so the external link renders correctly in the Sponsors page.
Merge-Request: https://salsa.debian.org/freexian-team/debusine/-/merge_requests/2786
commit 6389d7c1e39c498afb8915adfe1171a4a38b90b8
Author: Nikil <snikilpaul@gmail.com>
Date: Mon Mar 2 21:56:24 2026 +0530
docs: fix Sovereign Tech Agency hyperlink formatting
Add missing trailing underscore so the external link renders correctly in the Sponsors page.
Automatic checks made by the Debian l10n team found some issues with the translations contained in this package. You should check the l10n status report for more information.
Issues can be things such as missing translations, problematic translated strings, outdated PO files, unknown languages, etc.