-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Remove dag.run() method #42761
Merged
dstandish
merged 1 commit into
apache:main
from
astronomer:aip-78-remove-DAG-run-method
Oct 10, 2024
Merged
Remove dag.run() method #42761
dstandish
merged 1 commit into
apache:main
from
astronomer:aip-78-remove-DAG-run-method
Oct 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boring-cyborg
bot
added
area:dev-tools
area:Executors-core
LocalExecutor & SequentialExecutor
area:providers
kind:documentation
provider:google
Google (including GCP) related issues
labels
Oct 5, 2024
🧛 |
potiuk
reviewed
Oct 5, 2024
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
from
October 7, 2024 14:09
847cfcd
to
74c22aa
Compare
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
2 times, most recently
from
October 8, 2024 17:21
e07e652
to
0f1eb90
Compare
dstandish
added
the
full tests needed
We need to run full set of tests for this PR to merge
label
Oct 8, 2024
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
3 times, most recently
from
October 9, 2024 05:28
01a235e
to
d74c9ea
Compare
dstandish
removed
the
full tests needed
We need to run full set of tests for this PR to merge
label
Oct 9, 2024
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
from
October 9, 2024 05:29
d74c9ea
to
7f1a3c6
Compare
dstandish
requested review from
XD-DENG,
ashb,
o-nikolas,
pierrejeambrun and
hussein-awala
as code owners
October 9, 2024 05:29
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
4 times, most recently
from
October 9, 2024 22:27
2e158aa
to
c0d2b0d
Compare
ashb
reviewed
Oct 10, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few nits/small changes.
And we should fix those broken google system test dags, or perhaps since they clearly couldn't have been being run remove them entirely?
providers/src/airflow/providers/google/marketing_platform/example_dags/example_display_video.py
Show resolved
Hide resolved
providers/tests/google/cloud/transfers/test_facebook_ads_to_gcs_system.py
Outdated
Show resolved
Hide resolved
providers/tests/system/google/cloud/dataprep/example_dataprep.py
Outdated
Show resolved
Hide resolved
kaxil
reviewed
Oct 10, 2024
kaxil
approved these changes
Oct 10, 2024
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
2 times, most recently
from
October 10, 2024 15:38
a727814
to
20c6a70
Compare
dstandish
requested review from
ryanahamilton,
bbovenzi and
jscheffl
as code owners
October 10, 2024 16:10
dstandish
force-pushed
the
aip-78-remove-DAG-run-method
branch
from
October 10, 2024 20:19
9c3842a
to
fd1ff94
Compare
kunaljubce
pushed a commit
to kunaljubce/airflow
that referenced
this pull request
Oct 13, 2024
This method uses Backfill internally. Before we can remove BackfillJobRunner, we need to remove DAG.run. But before we can remove DAG.run, we need to update some old tests that use it. So this is the first step towards removing BackflilJobRunner. There were some very old tests that came from airflow github issue 1225. These appeared to test the scheduler but really they tested the backfill job runner. Just to be cautious, I kept most of them rather than remove (which probably would have been fine since they essentially tested code that we'll be removing). As appropriate I either changed them to run on dag.test or scheduler. The ones dealing with ignore first depends on past will have to be added back when that functionality is implemented in new backfill.
pavansharma36
pushed a commit
to pavansharma36/airflow
that referenced
this pull request
Oct 14, 2024
This method uses Backfill internally. Before we can remove BackfillJobRunner, we need to remove DAG.run. But before we can remove DAG.run, we need to update some old tests that use it. So this is the first step towards removing BackflilJobRunner. There were some very old tests that came from airflow github issue 1225. These appeared to test the scheduler but really they tested the backfill job runner. Just to be cautious, I kept most of them rather than remove (which probably would have been fine since they essentially tested code that we'll be removing). As appropriate I either changed them to run on dag.test or scheduler. The ones dealing with ignore first depends on past will have to be added back when that functionality is implemented in new backfill.
R7L208
pushed a commit
to R7L208/airflow
that referenced
this pull request
Oct 17, 2024
This method uses Backfill internally. Before we can remove BackfillJobRunner, we need to remove DAG.run. But before we can remove DAG.run, we need to update some old tests that use it. So this is the first step towards removing BackflilJobRunner. There were some very old tests that came from airflow github issue 1225. These appeared to test the scheduler but really they tested the backfill job runner. Just to be cautious, I kept most of them rather than remove (which probably would have been fine since they essentially tested code that we'll be removing). As appropriate I either changed them to run on dag.test or scheduler. The ones dealing with ignore first depends on past will have to be added back when that functionality is implemented in new backfill.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:dev-tools
area:Executors-core
LocalExecutor & SequentialExecutor
area:providers
kind:documentation
provider:google
Google (including GCP) related issues
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This method uses Backfill internally. Before we can remove BackfillJobRunner, we need to remove DAG.run. But before we can remove DAG.run, we need to update some old tests that use it. So this is the first step towards removing BackflilJobRunner.
There were some very old tests that came from airflow github issue 1225. These appeared to test the scheduler but really they tested the backfill job runner. Just to be cautious, I kept most of them rather than remove (which probably would have been fine since they essentially tested code that we'll be removing). As appropriate I either changed them to run on dag.test or scheduler. The ones dealing with ignore first depends on past will have to be added back when that functionality is implemented in new backfill.