fix(ci): install libdbus-1-dev in the release Bump Version job#6309
Merged
Conversation
cargo xtask release (channel != current) compiles the workspace via cargo xtask codegen --openapi to regenerate openapi.json, which pulls in libdbus-sys transitively and panicked with 'system library dbus-1 not found'. Every other Linux release job installs libdbus-1-dev; the Bump Version job did not, so dispatching channel=beta failed at the bump step before opening the version PR. Install the dep to match the other jobs.
houko
enabled auto-merge (squash)
June 24, 2026 06:37
This was referenced Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Dispatching a beta release (
release.yml,channel=beta) failed at theBump Versionjob before it could open the version PR:cargo xtask release(forchannel != current) runscargo xtask codegen --openapi, which compiles the workspace to regenerateopenapi.json. That transitively pulls inlibdbus-sys(keyring secret-service / notify-rust on glibc Linux), whosebuild.rspanics whendbus-1is absent.Every other Linux job in
release.yml(the CLI matrix at ~L590, ~L719, the desktop job at ~L1526) already installslibdbus-1-devfor exactly this reason — theBump Versionjob is the only one that didn't, so any beta/stable/rc/lts dispatch died at the bump step.Fix
Add the same
Install build depsstep (pkg-config libssl-dev libdbus-1-dev) to theBump Versionjob, beforeRun xtask release. One-line parity with the other release jobs.Verification
Can't run the release workflow from a branch (it only triggers on
workflow_dispatchagainstmain/ tag push). After merge I'll re-dispatchchannel=betaand confirm the bump step gets past codegen and opens the version PR. This unblocks #6289 (verifying the #6279 cross-compile fix restored theaarch64-unknown-linux-musl/aarch64-linux-androidtarballs), which was the reason for cutting a fresh beta.