Skip to content
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

Incorrect operation state when operation cannot be found #1514

Open
boniek83 opened this issue Sep 14, 2022 · 1 comment
Open

Incorrect operation state when operation cannot be found #1514

boniek83 opened this issue Sep 14, 2022 · 1 comment

Comments

@boniek83
Copy link

Current behavior

Currently polyaxon doesn't mark operation as stopped when it cannot find it for whatever reason.

HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"operations.core.polyaxon.com \"plx-operation-e38d8ec730424cd28c3941ebbe980b88\" not found","reason":"NotFound","details":{"name":"plx-operation-e38d8ec730424cd28c3941ebbe980b88","group":"core.polyaxon.com","kind":"operations"},"code":404}

Enhancement

I would like that changed so operation is either marked as stopped or not found or whatever when polyaxon can't find it because running state is not factual and it makes integrating polyaxon into workflow unreliable.

@polyaxon-team
Copy link
Contributor

Hi @boniek83 we already have the logic for this in our agent implementation (currently commercial), but not for Polyaxon CE. However we are planning on pushing those changes to CE very soon, we have been working on that for the last couple of weeks, see #1333

@boniek83 boniek83 changed the title Operation state when it cannot be found Incorrect operation state when operation cannot be found Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants