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

Argorollout Experiment Duration Should Override Success #3555

Open
hussainbani opened this issue May 6, 2024 · 0 comments
Open

Argorollout Experiment Duration Should Override Success #3555

hussainbani opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hussainbani
Copy link

Issue

When using the argorollout experiment type with Kubernetes Job, there's a parameter duration that specifies the time the experiment should wait before moving forward. However, the current behavior is such that even if the job executed by the experiment succeeds (exits with code 0), the experiment still waits for the specified duration before proceeding. This can lead to unnecessary delays, especially if the job completes quickly.

Expected Behavior

Ideally, if the job executed by the experiment succeeds, the duration parameter should be overridden, and the experiment should move forward immediately instead of waiting for the specified duration to finish.

Current Behavior

Currently, even if the job succeeds, the experiment waits for the duration specified in the parameter before proceeding.

Proposal

The behavior should be modified such that if the job executed by the experiment succeeds, the duration parameter is ignored, and the experiment moves forward immediately.

Additional Notes

While not defining a duration would result in the experiment running indefinitely in case of any looping within the job, having the duration parameter override success can improve the efficiency of experiments, especially for jobs that complete quickly.

Steps to Reproduce

Set up an argorollout experiment using a Kubernetes Job.
Specify a duration parameter.
Ensure the job executed by the experiment succeeds (exits with code 0).
Observe that the experiment still waits for the specified duration before proceeding.

@hussainbani hussainbani added the enhancement New feature or request label May 6, 2024
@hussainbani hussainbani changed the title Experiment Job type waits for duration period even the POD has been done processing with exit 0 Argorollout Experiment Duration Should Override Success May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant