Hi everyone, I'd like to provide a status update on the Prometheus 3.x upgrade effort. I have prepared a draft upgrade to 3.5.3, which is now available for review as a merge request on Salsa:
https://salsa.debian.org/go-team/packages/prometheus/-/merge_requests/14 This is a major upgrade with several important packaging changes to address test failures and build issues: 1. Web UI Removal: I have intentionally dropped the old jQuery-based "classic" UI that we had been carrying around as a patch. Maintaining that was effectively maintaining a costly fork of Prometheus; if we really want to go that route, we should properly fork the project on GitHub. As for the React-based UI, upstream has migrated the build tooling to use node-vite and rust-rolldown, which are currently unavailable in Debian. Consequently, the Web UI has been completely disabled for this release, and a static placeholder is served at the root endpoint instead. For further discussions and efforts regarding packaging the new UI, please see the dedicated bug #1083100. The rationale for this transition is also documented in `debian/README.source` and `debian/NEWS`. 2. Autopkgtest Integration: To ensure the service remains functional despite the UI removal, I've added a new, comprehensive systemd-based autopkgtest (`debian/tests/service-endpoints`). This test verifies the daemon starts successfully, the `/api/v1/status/buildinfo` endpoint returns JSON data, and the root endpoint correctly redirects and serves the static placeholder text. Note that this test relies on systemd integration and therefore requires a `qemu` isolation-machine to run properly. 3. Patch Stack & Test Suite Cleanup: I've dropped the obsolete legacy UTF-8 label validation patch (0014) since Prometheus 3.x natively supports UTF-8 labels. This allowed us to re-enable significant chunks of the test suite. I also added a forward-compatibility patch to fix the `expfmt.TextParser` panic caused by Debian's newer `prometheus/common` v0.68.0 package. The package now builds cleanly on sbuild and passes Lintian and autopkgtest. Please take a look at the MR when you have a chance. Feedback is very welcome! Cheers, -rt

