FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(build): embed auditable Rust dependency metadata by alangou · Pull Request #2734 · NVIDIA/OpenShell · GitHub

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 commented Aug 13, 2026

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.

alangou linked an issue Aug 13, 2026 that may be closed by this pull request
2 tasks

Copy link
Copy Markdown

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

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


Back | FazBrowse Home | New Git URL