Repository navigation
perf(ci): speed up Dagger bindings checks - #477
Merged
Merged
Conversation
MChorfa
marked this pull request as ready for review
November 22, 2026 03:12
This was referenced Dec 5, 2026
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.