Skip to content

feat(build): embed auditable Rust dependency metadata - #2734

Merged
alangou merged 1 commit into
mainfrom
alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries
Aug 25, 2026
Merged

feat(build): embed auditable Rust dependency metadata#2734
alangou merged 1 commit into
mainfrom
alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries

Conversation

@alangou

Copy link
Copy Markdown
Contributor

Summary

Embed the linked Rust dependency graph in gateway and supervisor binaries used by Release Dev and Release Tag images. This makes shipped binaries directly inspectable by Syft and other cargo-auditable consumers while keeping PR, E2E, and standalone artifact builds unchanged by default.

Related Issue

Closes#2686

Changes

  • Pin cargo-auditable 0.7.5 with locked artifacts for all supported mise platforms
  • Add an opt-in auditable input through the Docker and native Rust build workflows
  • Enable auditable builds only for release gateway and supervisor images
  • Unset sccache around auditable compiler invocations to avoid wrapper chaining failures
  • Verify release binaries by requiring Syft to decode Cargo packages
  • Add OPENSHELL_AUDITABLE=1 for equivalent local prebuilt staging
  • Document auditable binary metadata and its distinction from source-tree and OCI SBOMs

Testing

  • mise run pre-commit
  • mise run test
  • Built auditable amd64 gateway and supervisor prebuilts locally
  • Syft decoded 491 gateway and 358 supervisor Cargo packages
  • Gateway retained its GLIBC 2.28 symbol floor
  • Supervisor remained fully static
  • Release amd64/arm64 matrix — exercised by Release Dev after merge

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Coordination

PR #2677 also updates mise.toml and mise.lock; if it merges first, the lockfile should be regenerated with both tools present.

@github-actions

Copy link
Copy Markdown

@alangou
alangouforce-pushed the alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries branch from 2f5c0d6 to b36255dCompareAugust 13, 2026 12:47
@alangou
alangou enabled auto-merge August 13, 2026 12:48
@alangou
alangouforce-pushed the alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries branch from b36255d to e29224aCompareAugust 19, 2026 13:52
@alangou
alangou requested a review from sjenning as a code ownerAugust 19, 2026 13:52
@alangou
alangouforce-pushed the alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries branch from e29224a to 158b724CompareAugust 20, 2026 09:07
SDAChess
SDAChess previously approved these changes Aug 20, 2026
Comment thread.agents/skills/sbom/SKILL.md Outdated
@alangou
alangou requested a review from SDAChessAugust 25, 2026 13:01
Signed-off-by: Adrien Langou <alangou@nvidia.com>
@alangou
alangouforce-pushed the alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries branch from 158b724 to b7d6ac7CompareAugust 25, 2026 13:06
@alangou
alangou added this pull request to the merge queueAug 25, 2026
Merged via the queue into main with commit fb6610dAug 25, 2026
38 checks passed
@alangou
alangou deleted the alangou/2686-feat-embed-linked-rust-dependency-tree-cargo-auditable-in-release-binaries branch August 25, 2026 14:49
Sign up for freeto 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.

feat: embed linked Rust dependency tree (cargo-auditable) in release binaries

2 participants

@alangou@SDAChess