Depends on D3729
While testing I spotted a few problems in the logic for pulling the backup. I'm going to describe each one of them in the inline comments.
Differential D3738
[services] Backup/Blob - Pull backup logic fixes • karol on Apr 15 2022, 1:11 AM. Authored by Tags None Referenced Files
Details
Diff Detail
Event Timeline
Comment Actions It seems like there are some build errors
Comment Actions I analyzed the code a bit and I'm not sure how to make it more readable, to be honest... I don't see a room for decomposition or something like this, but I may be wrong obviously. I added some comments inline to maybe make it easier for you. We can as well set up a call. I understand that the code should be readable for someone else after half of a year as well. I can add some comments to the code as well. Or maybe do you know how else I can make code more readable in general (maybe you know some general, high-level rules)?
Comment Actions Thanks a lot for the comments - they are really helpful. It would be really great if you could add comments like these when putting up diffs with complicated logic - that would make reviewing them a lot faster.
Comment Actions Agree code comments would be great here. I'm okay with either one big comment or inline comments to be honest – understand @palys-swm's point but it might be easier to write and to read if they are individual comments Comment Actions
I understand, sometimes I may miss it as I'm not always sure what's complicated, but I'm going to try to think about this more.
I also think smaller comments are better. It's hard to wrap the entire algorithm in one big comment. I mean I'm not sure if that would be helpful. |