dabla commented on PR #68298:
URL: https://github.com/apache/airflow/pull/68298#issuecomment-4932794939

   > @dabla @bugraoz93
   > 
   > Thank you for the thorough review feedback. I've been working through your 
suggestions and I want to acknowledge the journey here:
   > 
   > What I learned:
   > 
   > The async implementation needs to be truly async, not just sync methods 
wrapped in async_to_sync — you were right about the performance implications 
SFTPOperation should be an Enum for type safety and cleaner comparisons, not 
string constants The transfer logic has real duplication that deserves a DRY 
refactor, and the handler pattern you suggested makes the code much cleaner 
Even small details matter — like using self.execute_complete.**name** instead 
of hardcoded strings What I struggled with:
   > 
   > Balancing the async implementation — understanding how to properly use 
asyncio.Semaphore and asyncio.gather with native async SFTP operations The enum 
refactor — making sure the operation constants are used consistently across 
sync/async paths and in the trigger Making sure I actually pushed all the 
resolved changes (that "git push" reminder was a wake-up call!) Keeping track 
of which feedback was still unresolved vs. what I thought I'd already fixed 
I've now rebased onto main and pushed the latest branch with the fixes. I'm 
confident the changes address your feedback, but I know there's always more to 
learn from experienced reviewers like yourselves.
   > 
   > Could you please take another look when you have a moment? Any remaining 
feedback is welcome — I'm here to get this right.
   > 
   > Thanks for your patience and for pushing me to write better code.
   
   Eveyone goes through this journey and you learn every day, that’s the 
beautiful thing about it. We all learn from each other and that’s what 
opensource collaboration is about.
   
   i see there are 2 conflicts left, those should be resolved so you can 
rebase.  I’ll try to have a look asap, not behind a laptop right now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to