The GitHub Actions job "Tests" on airflow.git/fix-grid-view-issue-61208 has failed. Run started by GitHub user y-sudharshan (triggered by pierrejeambrun).
Head commit for run: 49869f46517ecbf21e983238278e32928ab8fa69 / y-sudharshan <[email protected]> Fix grid view crash when task converted to TaskGroup (#61208) This commit fixes a TypeError crash in the grid view endpoint when a task is converted to a TaskGroup (or vice versa) between DAG versions. Root Cause: - Old DagRuns had task structure with children=None - New DagRuns had TaskGroup structure with children=[...] - The _merge_node_dicts function tried to iterate over None -> TypeError Changes: 1. Added defensive None checks in _merge_node_dicts function 2. Only merge children if both nodes have children (not None) 3. Added comprehensive unit tests for edge cases 4. Added integration test for task->TaskGroup conversion scenario Fixes #61208 Report URL: https://github.com/apache/airflow/actions/runs/21540484416 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
