You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2025/10/13 23:45:55 UTC

[PR] [v3-1-test] Add triggering_user_name to DagRunProtocol interface (#56193) [airflow]

github-actions[bot] opened a new pull request, #56604:
URL: https://github.com/apache/airflow/pull/56604

   * Add triggering_user_name to DagRunProtocol interface
   
     Enable tasks running in isolated environments to access the username
     that triggered a DAG run without requiring direct database access.
   
     Changes:
     - Add triggering_user_name field to DagRunProtocol interface
     - Update task-sdk DagRun data model to include triggering_user_name
     - Update execution API DagRun model to include triggering_user_name
     - Ensure field flows from database through API to task context
   
     This allows developers to identify DAG run triggers from within task
     code using the existing DagRunProtocol interface.
   
   * Fix tests!
   
   * Add Cadwyn migration for triggering_user_name field in DagRunProtocol
   
     Add backward compatibility migration for the new triggering_user_name field
     added to the DagRun model in the Execution API. This ensures older API
     clients continue to work seamlessly with newer API servers.
   
   * Add tests for older versions where triggering user is missing
   
   * Remove triggering user from v2025-04-28
   
   * Add a test with triggering_user_name set
   (cherry picked from commit 3120146f0a2720d186513282f9e8d807f635434f)
   
   Co-authored-by: Dheeraj Turaga <dh...@gmail.com>


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-1-test] Add triggering_user_name to DagRunProtocol interface (#56193) [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed pull request #56604: [v3-1-test] Add triggering_user_name to DagRunProtocol interface (#56193)
URL: https://github.com/apache/airflow/pull/56604


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-1-test] Add triggering_user_name to DagRunProtocol interface (#56193) [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #56604:
URL: https://github.com/apache/airflow/pull/56604#issuecomment-3410254725

   Not sure if we want to merge this one for 3.1.1 @kaxil @pierrejeambrun ?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [v3-1-test] Add triggering_user_name to DagRunProtocol interface (#56193) [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on PR #56604:
URL: https://github.com/apache/airflow/pull/56604#issuecomment-3410884818

   Naah, I'll keep this for 3.2


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org