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
From what I see in the code, that seems to be done on purpose:
// If op not concrete, interrupt without error.
// This allows gradual resolution:
// compute what you can compute.. leave the rest incomplete.
if !v.IsConcreteR() {
return nil
}
Ok. From the user's perspective, the annoying part is that you think it worked and you really cannot tell it did not.
Maybe just adding a BIG warning at the bottom of the output ("foo was not executed because X") would preserve this behavior (if desirable indeed), while alleviating the above?
Note the script should stop executing at the first non-concrete op, and the user should be notified (but not with an error). If it does not stop, that’s a bug.
Activity
[-]Exec: unspecified env values succeed unexpectedly[/-][+]Exec: unspecified env values cancel execution?[/+]aluzzardi commentedon Jan 21, 2021
From what I see in the code, that seems to be done on purpose:
/cc @shykes
dubo-dubon-duponey commentedon Jan 21, 2021
Ok. From the user's perspective, the annoying part is that you think it worked and you really cannot tell it did not.
Maybe just adding a BIG warning at the bottom of the output ("foo was not executed because X") would preserve this behavior (if desirable indeed), while alleviating the above?
aluzzardi commentedon Jan 21, 2021
Yeah I agree with you on this one, as a user it looks like a bug / unexpected
shykes commentedon Jan 21, 2021
The idea is to solve that at the UX layer. The concept of partial evaluation should be a first class citizen.
shykes commentedon Jan 21, 2021
Note the script should stop executing at the first non-concrete op, and the user should be notified (but not with an error). If it does not stop, that’s a bug.
aluzzardi commentedon Jan 21, 2021
Re-enabled the test in #61
Add option during call dagger session
Import Elixir SDK as Experimental (#5201)
Merge pull request dagger#28 from vikram-dagger/jnd-gs-12