-
Notifications
You must be signed in to change notification settings - Fork 16.4k
[AIRFLOW-3626] Fixed zipped Dag trigger #4439
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
Conversation
|
Can someone help to fix this fail previously the same code ran successfully on travis here. Getting strange behaviour. |
Codecov Report
@@ Coverage Diff @@
## master #4439 +/- ##
==========================================
- Coverage 77.01% 76.23% -0.78%
==========================================
Files 463 466 +3
Lines 29753 30104 +351
==========================================
+ Hits 22915 22951 +36
- Misses 6838 7153 +315
Continue to review full report at Codecov.
|
|
This needs tests please so it doesn't break again. There is a |
I will have a look. |
|
@ashb I tested for the zipped test dag you mentioned, I am able to trigger the dag successfully. |
|
@shubhparekh I think he means that you need to add a test to https://github.com/apache/airflow/blob/master/tests/utils/test_dag_processing.py that verify that you code change behave as expected and make sure that future code changes won't break it. For that aim you can use the |
I got it now I will do the changes. |
|
@shubhparekh can you rebase? |
|
If you wrote tests then you forgot to commit them to the PR |
|
@kurtqq I have just started learning about writing unit tests. The tests that are already written seem quite complex to me. So have not written one. |
Fixed zipped Dag trigger for Web and Api
|
@kurtqq Added unittest please review. |
(cherry picked from commit e518a1e)
* changes: Cherrypick [AIRFLOW-4760] PR apache/airflow#5404 Cherrypick [AIRFLOW-3626] apache/airflow#4439 GitOrigin-RevId: 05ea000a888d92c30b83c649efc888cbeb149a6e
* changes: Cherrypick [AIRFLOW-4760] PR apache/airflow#5404 Cherrypick [AIRFLOW-3626] apache/airflow#4439 GitOrigin-RevId: 05ea000a888d92c30b83c649efc888cbeb149a6e
* changes: Cherrypick [AIRFLOW-4760] PR apache/airflow#5404 Cherrypick [AIRFLOW-3626] apache/airflow#4439 GitOrigin-RevId: 05ea000a888d92c30b83c649efc888cbeb149a6e
* changes: Cherrypick [AIRFLOW-4760] PR apache/airflow#5404 Cherrypick [AIRFLOW-3626] apache/airflow#4439 GitOrigin-RevId: 05ea000a888d92c30b83c649efc888cbeb149a6e
Fixed zipped Dag trigger for Web and Api
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation
Code Quality
flake8