Dev-iL commented on PR #60270:
URL: https://github.com/apache/airflow/pull/60270#issuecomment-3728509123

   > Why can we not consider initing the bundle after we know "who" will run 
the task? Maybe an early pass to detect "run_as_user" and then actually init 
the bundle with that user?
   
   I think this is a suitable suggestion if you know in advance who the 
impersonated user will be and it will never change (incompatibly). Otherwise, 
I'd say that to support changing the impersonation the final git location 
should be cleaned by the airflow user and let it be recreated by the 
impersonation.
   
   (BTW, this is very similar to one of the approaches suggested by the AI)


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