Skip to content

main: substitute: skip inputs with different origins#15

Open
spikespaz wants to merge 10 commits intomasterfrom
u/jacob/check-origin-before-sub
Open

main: substitute: skip inputs with different origins#15
spikespaz wants to merge 10 commits intomasterfrom
u/jacob/check-origin-before-sub

Conversation

@spikespaz
Copy link
Owner

Assert that transitive inputs will not be substituted with those from the root flake unless they are from the same origin/remote resource.

This closes #14.

@spikespaz spikespaz self-assigned this Aug 23, 2025
@spikespaz spikespaz added the bugfix This fixes a bug that has already been tracked label Aug 23, 2025
This new option can be specified for many input names. The names used in
this option's values will not be subject to skipping if the transitive
input of the same name is from a different branch.

Prior to #15 (a fix for #14) the default behavior was to ignore the
`original` attribute of the locked input, meaning that input
substitutions were performed by-name only, and did not take into account
that some dependencies may add inputs with the same name as exist in the
root node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This fixes a bug that has already been tracked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

prune results in thread 'main' has overflowed its stack

1 participant