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

[WIP] feature: support argo retry #2277

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dhpikolo
Copy link

@dhpikolo dhpikolo commented Feb 19, 2025

This PR, modifies the step cli command to infer retry_count from flow_datastore class. Looks like this class, holds all the information about underlying datastore and run artifacts.

  • Adds a flow_datastore class method that infers latest done attempt of a task.
  • Remove MF_ATTEMPT from mflog.save_logs python script and infer attempt from the datastore.

Resolves: #2278

@dhpikolo
Copy link
Author

dhpikolo commented Feb 19, 2025

A known limitation for this solution would be:

  • Retrying more than 6 times (or in current case, hitting argo retry button twice) times results in metaflow exception

Screenshot 2025-02-14 at 14 18 23

We are planning to address this limitation by making MAX_ATTEMPTS configurable via envvar.

@dhpikolo dhpikolo marked this pull request as draft February 19, 2025 09:39
@dhpikolo dhpikolo changed the title [WIP] - Support argo retry [WIP] feature: support argo retry Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: support argo retry
1 participant