Lee-W commented on PR #64876:
URL: https://github.com/apache/airflow/pull/64876#issuecomment-4203621424

   @vatsrahul1001 It looks like we used the wrong approach for testing, and I 
applied the wrong constraint during RC1 testing. I didn't have time to test it 
on RC2 until it was released yesterday 🤦‍♂️
   
   After running the following command we discussed, I found out there's no 
dag_run in the DB.
   
   ```sh
   breeze start-airflow  --backend sqlite --load-example-dags 
--use-airflow-version 3.1.8
   breeze start-airflow  --backend sqlite --load-example-dags
   ```
   
   So here's what I do for verifying this PR is correct (how to reproduce was 
detailed in the description)
   
   ## Step 1
   
   ```sh
   breeze start-airflow  --backend sqlite --load-example-dags 
--use-airflow-version 3.1.8 --terminal-multiplexer tmux
   ```
   
   ## Step 2
   Run a few Dags randomly. We need rows in the Dag run and task instance (or 
whatever rows that reference Dag using FK)
   
   ## Step 3
   Run Ctrl-C/Cmd-C on all airflow components in breeze but don't run 
stop_airflow and don't exit `tmux`
   
   ## Step 4
   
   ```sh
   git chechout to v3.2.0
   ```
   
   ## Step 5
   Go into the breeze terminal again
   
   ```sh
   airflow db migrate
   ```
   
   ### Step 6
   
   Restart all the components in breeze (use the previous command with ↑)


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