Skip to content

llb: add passthrough op - #6829

Merged
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:passthrough-op
Jun 8, 2026
Merged

tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:passthrough-op

Conversation

@tonistiigi

Copy link
Copy Markdown
Member

fixes #6809

Add a passthrough LLB op that builds all inputs and exposes selected inputs as outputs. Add State.Requires as a client shortcut for requiring dependencies without returning their snapshots.

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this branch with Dalec.
Was an easy drop-in replacement to what we currently do.
Works perfectly!

Thanks for implementing it.

@tonistiigi
tonistiigi requested a review from crazy-max June 8, 2026 17:08
@tonistiigi tonistiigi added this to the v0.31.0 milestone Jun 8, 2026
Add a passthrough LLB op that builds all inputs and exposes selected
inputs as outputs. Add State.Requires as a client shortcut for requiring
dependencies without returning their snapshots.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi
tonistiigi merged commit a286666 into moby:master Jun 8, 2026
192 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add way to express branching dependencies without keeping state mutations.

3 participants