Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treeview - deterministic and new getter #37162

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

raphaelauv
Copy link
Contributor

current treeview() only print a non deterministic ASCII representation of the dag

this new implementation is deterministic ( thanks to sort on task_id ) and add a getter to get the string representation

Copy link
Contributor

@dirrao dirrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to add the the test case where it is failing with current code.

@enchant3dmango
Copy link
Contributor

Could you provide the example result in the description? Thanks!

@raphaelauv
Copy link
Contributor Author

There is an example in the unit test

@eladkal eladkal added this to the Airflow 2.8.2 milestone Feb 9, 2024
@potiuk potiuk merged commit 0c02ead into apache:main Feb 11, 2024
57 checks passed
@raphaelauv raphaelauv deleted the test/dag_tree_view branch February 11, 2024 15:40
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Feb 19, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
(cherry picked from commit 0c02ead)
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
(cherry picked from commit 0c02ead)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants