-
Notifications
You must be signed in to change notification settings - Fork 659
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
fix: Use deterministic execution names in scheduler #5724
Conversation
Signed-off-by: Kevin Su <pingsutw@apache.org>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5724 +/- ##
=======================================
Coverage 36.19% 36.20%
=======================================
Files 1303 1303
Lines 109554 109560 +6
=======================================
+ Hits 39657 39669 +12
+ Misses 65778 65771 -7
- Partials 4119 4120 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com>
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.
good catch!
* feat: Use deterministic execution names in scheduler Signed-off-by: Kevin Su <pingsutw@apache.org> * fix tests Signed-off-by: Kevin Su <pingsutw@apache.org> * lint Signed-off-by: Kevin Su <pingsutw@apache.org> * lint Signed-off-by: Kevin Su <pingsutw@apache.org> --------- Signed-off-by: Kevin Su <pingsutw@apache.org> Signed-off-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Signed-off-by: pmahindrakar-oss <prafulla.mahindrakar@gmail.com>
* feat: Use deterministic execution names in scheduler Signed-off-by: Kevin Su <pingsutw@apache.org> * fix tests Signed-off-by: Kevin Su <pingsutw@apache.org> * lint Signed-off-by: Kevin Su <pingsutw@apache.org> * lint Signed-off-by: Kevin Su <pingsutw@apache.org> --------- Signed-off-by: Kevin Su <pingsutw@apache.org> Signed-off-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Signed-off-by: pmahindrakar-oss <prafulla.mahindrakar@gmail.com>
* feat: Use deterministic execution names in scheduler Signed-off-by: Kevin Su <pingsutw@apache.org> * fix tests Signed-off-by: Kevin Su <pingsutw@apache.org> * lint Signed-off-by: Kevin Su <pingsutw@apache.org> * lint Signed-off-by: Kevin Su <pingsutw@apache.org> --------- Signed-off-by: Kevin Su <pingsutw@apache.org> Signed-off-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Signed-off-by: Bugra Gedik <bgedik@gmail.com>
* Revert "fix: Use deterministic execution names in scheduler (#5724)" This reverts commit a058fd1. * Revert "Improve execution name readability (#5637)" This reverts commit 2ed2408. * nit Signed-off-by: Kevin Su <pingsutw@apache.org> * make helm Signed-off-by: Kevin Su <pingsutw@apache.org> --------- Signed-off-by: Kevin Su <pingsutw@apache.org>
Tracking issue
NA
Why are the changes needed?
https://github.com/flyteorg/flyte/pull/5637/files changes the execution name to a random string in the scheduler, but it should use a deterministic name. Otherwise, the scheduler will create multiple executions for the same time slot.
What changes were proposed in this pull request?
generate a deterministic hash and than use it to generate a human id
How was this patch tested?
unit test
Setup process
Screenshots
Check all the applicable boxes
Related PRs
NA
Docs link
NA