-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The stop/fail/warn_if series of actions #1132
Comments
Hmm I've always been using
so maybe we want to make it |
Currently we do not have
for I have not tested but I think
would be the same as
|
well,
gives:
so |
There is a |
I understand. But |
I think conceptually there can be a
|
Then that thing can be called |
With so many |
I'm not sure why you want this. If the step fails it should just quit on error. So yes we can have RE #1064: I think an attempt was made along the line of not using |
Removing
So basically there are several complications here:
|
well, rather be like So without worrying about backwards compatibility, conceptually:
Now we lack a |
And we are evaluating this with #1064 in mind ... so we might want to be thorough here and resolve both tickets. |
I do not have a good overall solution now, perhaps in the end we will need to have something like
Also, In any case let us deprecate the step option |
We will need to list all use cases and their pros and cons to decide what to do with this. For example,
because all steps will be generated and then be stopped. In this particular case we are looking for something like |
I still think my comment here plus the possible need for a BTW even |
Just to push a bit more on the progress of this discussion: see #1159 (comment) a motivating example to have something different (or to behave differently) |
Thinking of application, I think the following can be useful but we need to make sure that the names are not confusing:
* new or change of behavior |
So for 3 I'm still tshinking:
there will be compatibility issues at least on my end, but i can live with it and change my pipelines ... maybe for you there is a bigger problem? |
For
|
Technically speaking, there is a difference in whether or not
But I do not know which way is better or if we should allow both. This also applies to The current behavior is that sos would wait for the completion of step |
I still think the scope of something like |
See the above table. What about
|
I see. I mostly agree with the current proposal, plus:
|
OK, the
|
Okay, but |
|
This patch fixes
|
I think |
But |
Well I preferred |
is the same as
I complaint about the former because all substeps needs to be executed but at the same time
a lot easier to implement. So if we do not consider performance (which could be implemented in a more clever way, perhaps), I think
if better than
|
is more natural to think of than using |
My concern is that
is difficult to incomplete as we will have to evaluate all
is troublesome to implement in the concurrent case because substeps before it might not have been submitted and substeps after it might have been running, and the only easy way to incomplete it is to disable concurrency in this case. So in the end we do not have a good solution in either case and we do not have a convincing use case for it, perhaps we can keep |
Not saying we need it now, but the |
Well, the interface is now So maybe let's finalize the interface by first deciding if we use |
The argument for |
I agree with this particular point. But my arguement was ususally BTW I've got a worse example that i'm trying to make a MWE for -- I think |
Cannot reproduce it now. Please ignore. I think now I can live |
I considered So we have
But all these are subtle and tend to be confusing and are why we could not settle down with a good set of names. Perhaps it is good to separate the use cases and say something like
and
|
they also imply output will be removed from
In my head I already considered
|
My point was that
here
here If we introduce the actions with the complete patterns (order of output, action, and produce_output), perhaps it is much easier for users to understand. |
Sure I think we are on the same page. It is just that I'm already used to thinking of My workflow example above tries to make a case that fails weird, which I now use
the point is there is no restriction where |
That would be an user error because it says the step is done before the output is actually generated. |
Okay now I agree the name So to summarize:
right? |
Yes, that sounds better than |
The
skip
option had a long history from VPT and is used to skip a sectionIt was supposed to be used for
sos run --quality-control true
) but we already have many ways to do the same (e.g. subworkflow).I have never used it for any production code and do not see a good usage for it.
The text was updated successfully, but these errors were encountered: