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

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
   Our integration test passes with 2.6.2, but fails with 2.6.3rc1 with this 
message.  This might be our issue, but I thought I would let you know.   Our 
integration test uses the following id in the URL:
   
   
integration_test.sas_po_hello_world_poc_flow-5cf6ded1-3949-44da-9f6b-9e59839d99ad
   
   In the same POST, this Name is passed into the body:
   
   An instance of 
integration_test.sas_po_hello_world_poc_flow-5cf6ded1-3949-44da-9f6b-9e59839d99ad
 at 2023-07-07 20:06:57.64
   2492 -0400 EDT
   
   The new version seems to taking this Name over the dag id that is passed 
into the URL.  Here is the message:
   
       f"The provided run ID '{run_id}' is invalid. It does not match either "
   airflow.exceptions.AirflowException: The provided run ID 'An instance of 
integration_test.
   sas_po_hello_world_poc_flow-5cf6ded1-3949-44da-9f6b-9e59839d99ad at 
2023-07-07 20:06:57.64
   2492 -0400 EDT' is invalid. It does not match either the configured pattern: 
'^[A-Za-z0-9_
   .~:+-]+$' or the built-in pattern: 
'^(?:manual|scheduled|dataset_triggered)__(?:\d{4}-\d{2
   }-\d{2}T\d{2}:\d{2}:\d{2}\+00:00)$'
   10.254.247.184 - Admin [08/Jul/2023:00:19:03 +0000] "POST 
/api/v1/dags/integration_test.sa
   s_po_hello_world_poc_flow-5cf6ded1-3949-44da-9f6b-9e59839d99ad/dagRuns 
HTTP/1.1" 500 4535
   
   
   
   ### What you think should happen instead
   
   It seems the Name in the body should not preempt the id in the URL. 
   
   ### How to reproduce
   
   Do a POST /api/v1/dags/{id}/dagRuns with a space in the Name in the body.
   
   ### Operating System
   
   RHEL8
   
   ### Versions of Apache Airflow Providers
   
   None.
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   k8s with kustomize
   
   ### 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