roykoand opened a new issue, #62126:
URL: https://github.com/apache/airflow/issues/62126

   ### Apache Airflow version
   
   3.1.7
   
   ### If "Other Airflow 3 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When running a second or subsequent backfill job for the same DAG, the DAG 
Run ID and Triggering User Name for Dag Runs generated by backfill are recorded 
incorrectly.
   
   As shown in the screenshot below:
   
   <img width="910" height="323" alt="Image" 
src="https://github.com/user-attachments/assets/ec24d89a-8027-474a-95ae-6f892b5d5cde";
 />
   
   First backfill works correctly `backfill_...` Run ID and correct Triggering 
User Name but second time it creates Dag Run with `scheduled_...` Run ID and 
fails to record Triggering User Name.
   
   ### What you think should happen instead?
   
   All backfill jobs should consistently use the `backfill__...` Dag Run ID 
format and preserve the Triggering User Name, regardless of whether it's the 
first or subsequent backfill for the same logical date.
   
   ### How to reproduce
   
   1. Run a first backfill job - everything works fine
   2. Run a second or more backfill job. You will notice a Dag Run ID that does 
not start with `backfill_...` and Triggering User Name
   
   ### Operating System
   
   macOS, Sequoia 15.7.2
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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