choo121600 commented on PR #53216: URL: https://github.com/apache/airflow/pull/53216#issuecomment-3091535822
> And in the UI, we just need a simple logic to check if `dag_run.version` of Nth run is equal to `dag_run.version` of (N-1)th run. I also thought about the logic of simply comparing dag_run.version of the Nth run with (N-1)th. The issue is with **scenario 3**: Let's say the 1st and 2nd runs both used version v1, and the 3rd run includes a mixed version from v1 → v3. If we only compare current and previous versions, the bar chart won't show any indicator at the 3rd run. Only after the 4th run is added does the change become visible, which feels a bit too late. So I came up with this rule to make version changes more visible: 1. For normal version changes, show an indicator on the left side of the dag run bar (where the version changed). 2. If a single dag run includes mixed versions, show the indicator on the right side of that bar. In **scenario 4**, both cases happen: A dag run has a mixed version, and the following run also has a version change. In that case, the mixed indicator is hidden and replaced by the next dag run's indicator. What do you think about this approach? -- 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]
