suman-himanshu commented on issue #42679:
URL: https://github.com/apache/airflow/issues/42679#issuecomment-3265742974

   Tried reproducing this issue from `main` branch but unable to reproduce.
   
   Steps - 
   
   1. Created a sample DAG 
   
   ```
   from airflow import DAG
   from airflow.operators.empty import EmptyOperator
   from datetime import datetime
   
   with DAG(
       dag_id='dag_with_slash_run_id',
       start_date=datetime(2023, 1, 1),
       catchup=False,
       tags=['example'],
   ) as dag:
   
   start = EmptyOperator(task_id='start')
   ```
   
   2. Started Airflow using command `breeze start-airflow --dev-mode`
   
   3. Once Airflow is up, ran the command 
   ```
   airflow dags trigger -r "manual__2023-01-01T00:00:00+00:00/withslash" 
dag_with_slash_run_id
   ```
   Got error in the terminal itself.
   
   ```
   ValueError: The run_id provided 
'manual__2023-01-01T00:00:00+00:00/withslash' does not match regex pattern 
'^[A-Za-z0-9_.~:+-]+$' or 
'^(?:manual|scheduled|asset_triggered)__(?:\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\+00:00)$'
   ```
   
   <img width="1532" height="717" alt="Image" 
src="https://github.com/user-attachments/assets/e5b4f9f1-b145-425e-b9b6-a011c09f6b63";
 />
   


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to