-
Notifications
You must be signed in to change notification settings - Fork 55
feat(runner/cleanup): start cleanup and vod sanity check action #1504
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
base: dev
Are you sure you want to change the base?
Conversation
| err := r.runSingularAction(c, action, data, log, job) | ||
| if err != nil { | ||
| log.Error("action error", "error", err) // use action specific logger | ||
| if actions.IsAbortingError(err) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry if I am wrong but could this not lead to an infinite loop if an error is not an AbortingError? like when the ffmpeg command fails for other reasons?
| } | ||
| } else { | ||
| break // escape retry loop on no error | ||
| return // Action done without error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here, if 'a' has multiple actions and the first action has no error, would it not just return the function without finishing the other actions? please let me know if I am wrong though
DawinYurtseven
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything that is new seems fine but the comments I'd like to at least know if it is intended for now or if they have been oversights (or if I am wrong)
|
after testing with grpcurl, it turns out that when the a job is created, the actions in the struct are not assigned to it, leaving to a access to nil error. I want to make sure if I am doing it right so:
my guess is that in the |
Motivation and Context
Description
Steps for Testing
Prerequisites:
Screenshots