Closed sashaCher closed 5 months ago
Thanks for reporting! I don't have time to dig into this now, but, cc @hasier in case that might be one of your recent PRs.
Just opened a fix in #479, looks like we were overwriting a local context when recursively calling a decorated function, sorry about that! @jd let me know if that looks ok to you :)
Thank you for fast resolution!!!
Hello We observed breaking change in
@retry
decorator behavior after upgrading the library from 8.2.3 to 8.3.0/8.4.1 version.Assuming the next code sample (simplified and adjusted to illustrate the exact use-case):
In version 8.2.3 it worked correctly means
do_any_work
function was called twice withdo_fix_work
in the middle and produced the next output:After upgrading to 8.3.0 or 8.4.1 the code is not working the same way. There's no additional call of
do_any_work
afterdo_fix_work
and the code does not end with error: