Skip to content

perf(ci): speed up Dagger bindings checks - #477

Merged
matrosov merged 4 commits into
sbom-tool:mainfrom
MChorfa:feat/dagger-rust-bindings-pilot
Dec 4, 2026
Merged

matrosov merged 4 commits into
sbom-tool:mainfrom
MChorfa:feat/dagger-rust-bindings-pilot

Conversation

@MChorfa

@MChorfa MChorfa commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

The Dagger bindings job runs its Rust and Go validation in series and recompiles dependencies on a fresh graph. This change updates the Rust SDK to 0.21.12 and runs the Rust compile and ABI checks in parallel with the release static-library build and Go tests.

The two paths share Cargo's package cache and use separate locked dev and release target volumes. Each path rebuilds workspace packages for its own profile. Go receives the archive produced by the current build as a Dagger file.

All 13 jobs passed in fork validation, including the native Bindings matrix. One hosted Ubuntu comparison measured 8m 10s for the serial graph and 7m 00s for the optimized graph with fresh caches (14.3% faster). In the optimized job, an identical rerun took 1.27s and a warm rerun with a changed Rust library took 2m 00s. The latter passed a Go test that called a newly exported Rust symbol. Both warm runs reused the same engine within the same job.

Refs #476.

@MChorfa
MChorfa marked this pull request as ready for review November 22, 2026 03:12
@MChorfa
MChorfa requested a review from matrosov as a code owner November 22, 2026 03:12
@matrosov
matrosov merged commit 351ab0e into sbom-tool:main Dec 4, 2026
24 checks passed
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.

2 participants