feat: allow retries on task profiling steps#691
Conversation
FL-496 [BUG] call to task profiling POST endpoint triggers a 500
Context and user need: logs (full logs in comment): unicity constraint violation on (compute_task_profile_id, step) possibly in the context of a task being retried following an initial, unrelated incident (OOM killed is probable) Functional spec: Technical spec: Acceptance criteria: |
c560b16 to
9e9e7a4
Compare
|
/e2e |
|
End to end tests: ✔️ SUCCESS Nailed it! |
SdgJlbl
left a comment
There was a problem hiding this comment.
Thanks for the PR
I have a few questions to be sure to understand how things are unfolding now :)
4e074f5 to
b64d380
Compare
|
/e2e |
|
End to end tests: ✔️ SUCCESS Yay! 🎉 |
| raise e | ||
|
|
||
|
|
||
| @retry() |
There was a problem hiding this comment.
TIL we have reimplemented our very own retry decorator
b64d380 to
b889a53
Compare
|
/e2e |
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
Signed-off-by: Guilhem Barthes <guilhem.barthes@owkin.com>
b889a53 to
131009b
Compare
|
/e2e |
|
End to end tests: ✔️ SUCCESS “I love it when a plan comes together.” ― Colonel John “Hannibal” Smith, The A-Team |
Description
(4 first commits are refactoring to
pytest)Fixes FL-496
How has this been tested?
Checklist