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

Refactor DagRun.verify_integrity #24114

Merged
merged 2 commits into from
Jun 10, 2022

Conversation

ephraimbuddy
Copy link
Contributor

@ephraimbuddy ephraimbuddy commented Jun 2, 2022

This refactoring became necessary as there's a necessity to add additional code
to the already exisiting code to handle mapped task immutability during run. The additional
code would make this method difficult to read. Refactoring the code will aid understanding and
help in debugging.

@norm
Copy link
Contributor

norm commented Jun 7, 2022

I think it'd be helpful if the commit/PR explained why this refactor is a good idea/needed as groundwork.

@ephraimbuddy
Copy link
Contributor Author

I think it'd be helpful if the commit/PR explained why this refactor is a good idea/needed as groundwork.

Thanks. I have updated it

@ephraimbuddy ephraimbuddy force-pushed the refactor-verify-integrity branch 2 times, most recently from 161a15c to ac3b7d3 Compare June 8, 2022 22:08
airflow/models/dagrun.py Outdated Show resolved Hide resolved
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Jun 9, 2022
@github-actions
Copy link

github-actions bot commented Jun 9, 2022

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

ephraimbuddy and others added 2 commits June 10, 2022 12:03
This refactoring became necessary as there's a necessity to add additional code
to the already exisiting code to handle mapped task immutability during run. The additional
code would make this method difficult to read. Refactoring the code will aid understanding and
help in debugging.
Co-authored-by: Daniel Standish <15932138+dstandish@users.noreply.github.com>
@ephraimbuddy ephraimbuddy merged commit 12638d2 into apache:main Jun 10, 2022
@ephraimbuddy ephraimbuddy deleted the refactor-verify-integrity branch June 10, 2022 13:44
@ephraimbuddy ephraimbuddy added this to the Airflow 2.3.3 milestone Jun 10, 2022
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jun 10, 2022
ephraimbuddy added a commit that referenced this pull request Jun 29, 2022
This refactoring became necessary as there's a necessity to add additional code
to the already exisiting code to handle mapped task immutability during run. The additional
code would make this method difficult to read. Refactoring the code will aid understanding and
help in debugging.

(cherry picked from commit 12638d2)
@ephraimbuddy ephraimbuddy added type:misc/internal Changelog: Misc changes that should appear in change log and removed changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) labels Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants