Ajay9704 commented on PR #59999:
URL: https://github.com/apache/airflow/pull/59999#issuecomment-3703368889

   Hi reviewers,
   
   Thank you for catching the code duplication. I've updated the solution to 
use a centralized approach:
   
   - Created a shared utility function in `airflow._shared.truncation`
   - Both files now import and use the same function
   - Maintains all edge case handling for small max_length values
   - Follows the project's existing pattern for shared utilities
   
   This eliminates all duplication while preserving the original fix for issue 
#59877.
   
   Let me know if you have any feedback.


-- 
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