Skip to content

ci(desktop): add sibling cargo-deny step for desktop lockfile (#4251) - #5074

Open
iroiro147 wants to merge 1 commit into
block:mainfrom
iroiro147:fix/4251-nostr-relay-pool-rustsec-v2
Open

ci(desktop): add sibling cargo-deny step for desktop lockfile (#4251)#5074
iroiro147 wants to merge 1 commit into
block:mainfrom
iroiro147:fix/4251-nostr-relay-pool-rustsec-v2

Conversation

@iroiro147

Copy link
Copy Markdown
Contributor

Summary

Supersedes #4291 (fork-PR rebase v2).

The original PR bundled two changes: bump nostr-relay-pool 0.44.1 → 0.44.2 in the desktop lockfile, and add a cargo-deny step that audits the desktop lockfile in CI.

Since that PR was opened, main has bumped the desktop lockfile to nostr-relay-pool = 0.44.3, past the RUSTSEC-2026-0224 floor. The version bump is now redundant — only the CI gate remains load-bearing.

This PR carries just the CI step: a sibling cargo-deny invocation pointing at desktop/src-tauri/Cargo.toml (aarch64-apple-darwin target, --exclude-dev), using the repo-root deny.toml as config. The root cargo-deny check ignores desktop/src-tauri/Cargo.lock because the desktop workspace is independent — without this, a future desktop-only advisory could silently ride along.

Refs #4251.

Close the CI hole: the root-workspace cargo-deny check ignores
desktop/src-tauri/Cargo.lock (independent workspace), so a
desktop-only advisory could silently ride along. Add a sibling step
running cargo-deny advisories against desktop/src-tauri/Cargo.toml
explicitly (aarch64-apple-darwin target, --exclude-dev), using the
repo-root deny.toml as config.

The security half of the original fix is now redundant — main's
desktop lockfile already pins nostr-relay-pool = 0.44.3 (past
RUSTSEC-2026-0224). This commit keeps only the CI gate that prevents
future divergence.

Supersedes block#4291.
Refs block#4251.

Signed-off-by: iroiro147 <sarthak.singh@mastersunion.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant