From dff925cb8f28f7d82923f180252a2f228516c41f Mon Sep 17 00:00:00 2001 From: LoopyLuci Date: Mon, 30 Nov 2026 20:33:19 -0500 Subject: [PATCH] CI: install the GTK packages in the core check job; time-box RUSTSEC-2026-0459 TransferDaemon's copy of these two core files needs both changes, and core-sync would otherwise revert them: - core-ci.yml: --all-features builds GTK-backed crates in TransferDaemon, which need glib-2.0 on the system. The check job installs the GTK development packages. This repo does not build those crates, so the step is harmless here. - audit.toml: RUSTSEC-2026-0459 (libsqlite3-sys 0.28.0) is listed. This lockfile no longer has it, but TransferDaemon's copy still does until its audit-fixes PR lands. The ignore expires 2026-12-31. Co-Authored-By: Claude Haiku 5.5 --- .cargo/audit.toml | 5 +++++ .github/workflows/core-ci.yml | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 3813fa5..cde5f5f 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -62,4 +62,9 @@ ignore = [ # 2026-12-31 through the ed25519-dalek 3 / x25519-dalek 3 migration of transferd-crypto. Deadline tracked by the # maintainer. "RUSTSEC-2026-0620", + + # RUSTSEC-2026-0459 — libsqlite3-sys 0.28.0, via rusqlite 0.31 in TransferDaemon's replica and UI crates. + # This repo's lockfile no longer has it (arti-client is removed). It is listed so the two copies of this file + # stay identical; the patched release needs rusqlite 0.43 in TransferDaemon. Time-boxed; expires 2026-12-31. + "RUSTSEC-2026-0459", ] \ No newline at end of file diff --git a/.github/workflows/core-ci.yml b/.github/workflows/core-ci.yml index 30b6675..cc9045b 100644 --- a/.github/workflows/core-ci.yml +++ b/.github/workflows/core-ci.yml @@ -17,8 +17,8 @@ env: # self-hosted runner: each job below checks that the pull request comes from this repository. Runners must be # registered before any job starts; until one is, jobs stay queued. # -# Everything in this workflow builds from this repository alone. No GUI toolkit, -# no daemon, no system libraries beyond the Rust toolchain. +# Everything in this workflow builds from this repository alone, with no daemon. The check job also installs +# the GTK development packages that --all-features needs. jobs: check: name: format, clippy, tests @@ -30,6 +30,8 @@ jobs: with: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 + # --all-features builds the GTK-backed crates, which link the system GTK and glib: install their development packages. + - run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev libappindicator3-dev libglib2.0-dev libasound2-dev libpulse-dev libxdo-dev libv4l-dev # Formatting is reported but not yet enforced: the repo-wide `cargo fmt` sweep is pending. - run: cargo fmt --all -- --check continue-on-error: true