You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs _first() {
image "busybox"
run "echo first" with option {
mount scratch localCwd as first
}
}
fs _second() {
_first
run "echo second" with option {
mount first localCwd as second
}
}
Note the echo first is evaluated twice, if we add noCache it will run echo first twice in two different containers. The duplication goes away when we remove this line
I am at a loss for how to fix this. It seems the first mount is getting evaluated twice once has ForceNoOutput applied and one has the Bind logic applied. I am not sure why the Bind logic would not be applied in both locations.
We should probably revert #347 and #348 unless anyone has ideas on how to work around this.
The text was updated successfully, but these errors were encountered:
When we run the
second
target from this HLB:we will see something like:
Note the
echo first
is evaluated twice, if we addnoCache
it will runecho first
twice in two different containers. The duplication goes away when we remove this lineI am at a loss for how to fix this. It seems the
first
mount is getting evaluated twice once hasForceNoOutput
applied and one has the Bind logic applied. I am not sure why the Bind logic would not be applied in both locations.We should probably revert #347 and #348 unless anyone has ideas on how to work around this.
The text was updated successfully, but these errors were encountered: