GithubHelp home page GithubHelp logo

Comments (17)

heidongxianhua avatar heidongxianhua commented on June 10, 2024 2

when i rebuild my argo-cli with the #12817, it works well. thank you very much. @agilgur5 @shuangkun @jswxstw

from argo-workflows.

heidongxianhua avatar heidongxianhua commented on June 10, 2024 1

add some details, when i got this error, i have searched issues and solution in argo docs and github, including the issue #12156 , #11395 and the related prs (#12164 and #12817), i have tested localy, but this does not work. @agilgur5 @shuangkun

from argo-workflows.

agilgur5 avatar agilgur5 commented on June 10, 2024 1

including the issue #12156 , #11395 and the related prs (#12164 and #12817), i have tested localy, but this does not work

For future reference, if you did that before making this issue, that would have been very helpful context to write in the issue description. Then we'd know this is not necessarily a duplicate without needing to comment 😅

from argo-workflows.

shuangkun avatar shuangkun commented on June 10, 2024 1

I test it in my envirment, I think it has been fixed by #12817 @heidongxianhua can you test again use latest? I retried it in UI.

from argo-workflows.

shuangkun avatar shuangkun commented on June 10, 2024 1

fixed by #12817

from argo-workflows.

shuangkun avatar shuangkun commented on June 10, 2024

May look like this: #12817

from argo-workflows.

heidongxianhua avatar heidongxianhua commented on June 10, 2024

yeah, I have cherry-pick your code, but it still got error. @shuangkun

from argo-workflows.

agilgur5 avatar agilgur5 commented on June 10, 2024

Sounds like a duplicate of #12156?

from argo-workflows.

shuangkun avatar shuangkun commented on June 10, 2024

yeah, I have cherry-pick your code, but it still got error. @shuangkun

Strange, I feel like my PR should have fixed this problem. could you submit a pr to fix this?

from argo-workflows.

heidongxianhua avatar heidongxianhua commented on June 10, 2024

sorry, i have no idea to fix it now. and the root cause is the step-3 depends on depends: step1.Succeeded && (step2 || step2.Failed), and the step-2 is failed but step-3 is succeeded at first time. Then when I retry, the wf will delete the failed step-2, so it will make step-3 fail. And further, if I change the dependency depends: step1.Succeeded && (step2 || step2.Failed) to depends: step1.Succeeded, it will retry succeed as expected . So it is may different to the issue in your pr #12817 , but i do not know how to fix it now @shuangkun

from argo-workflows.

jswxstw avatar jswxstw commented on June 10, 2024

yeah, I have cherry-pick your code, but it still got error. @shuangkun

Actually, #12817 fixed the argo-cli, not the controller.
Which way are you using to retry the failed workflow? @heidongxianhua
I think you might not be using the argo-cli of the latest version.

from argo-workflows.

agilgur5 avatar agilgur5 commented on June 10, 2024

Actuall, #12817 fixed the argo-cli, not the controller.

It's in the Server -- so any method that retries it (UI, CLI, SDK, direct API) should go through the logic.
(and moving to the Controller per #12538)

from argo-workflows.

jswxstw avatar jswxstw commented on June 10, 2024

It's in the Server -- so any method that retries it (UI, CLI, SDK, direct API) should go through the logic.
(and moving to the Controller per #12538)

Yes, I didn't express it clearly. I believe that this issue is most likely caused by using the wrong version of the CLI.

from argo-workflows.

agilgur5 avatar agilgur5 commented on June 10, 2024

Oh did you mean the binaries? Since the Server is part of the CLI, i.e. argo server.

We refer to it as the Server. But yes, @heidongxianhua would have to cherry-pick any fixes into their Server build and update their Server image with the build, not the Controller (which unaffected by those fixes).

from argo-workflows.

jswxstw avatar jswxstw commented on June 10, 2024

Oh did you mean the binaries? Since the Server is part of the CLI, i.e. argo server.

😅Yes!In my opinion , CLI == binaries and CLI and argo server should both be updated.

from argo-workflows.

agilgur5 avatar agilgur5 commented on June 10, 2024

😅Yes!In my opinion , CLI == binaries

Generally speaking, the CLI is referred to as a client, as that is it's primary usage. A lot of people don't even know that the CLI embeds the Server (I've also seen people ask what argo server does as they thought it was some client command that connects to the Server or something, not that it literally runs the Server. Also technically the Controller is a separate, single command CLI as well).
In this case, when you referred to the CLI, that sounded like the argo retry command, which is not what you meant. Hence why disambiguation and specificity is important -- let's make sure we specify "the Server" when we refer to it.

from argo-workflows.

heidongxianhua avatar heidongxianhua commented on June 10, 2024

yeah, I will have a test again now.

from argo-workflows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.