-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
[AIRFLOW-5387] Fix show paused pagination bug #6100
[AIRFLOW-5387] Fix show paused pagination bug #6100
Conversation
…lure Another mistake that wasn't caught from apache#5039 - I renamed the fields in the template (to be unique) but didn't update the view
Update Airflow Github fork from Apache Github upstream
780ca1d
to
7dce4f2
Compare
There is a test failure that seem unrelated to the changes:
Any idea of what could be happening? |
2cf9fcc
to
49bc476
Compare
Yesterday I prepared a fix. it is already available on masters branch. Can you do rebase onn latest apache/master? |
e7474ed
to
8f7bed5
Compare
@mik-laj Done! Can you take a look, please? |
8f7bed5
to
5bca68b
Compare
562f698
to
b4d88cb
Compare
7f6718e
to
c908cf1
Compare
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.
You could even use @conf_vars
to annotate the test method to use the env var only in the whole test method. But either way it is better than before (try-finally...).
LGTM 👍
@feluelle I did not find a way to pass arguments dynamically from |
Good point - haven't tried |
@alrolorojas Code looks good now. Could you resolve the conflicts then ping us when it's ready to merge? |
b4ef638
to
09c6027
Compare
import unittest
-from parameterized import parameterized
from datetime import datetime
from unittest import mock
from urllib.parse import parse_qs
from bs4 import BeautifulSoup
+from parameterized import parameterized |
09c6027
to
e7ded8b
Compare
I've re-run the failed test to make sure. If we don't merge it once it's green please ping us. |
Codecov Report
@@ Coverage Diff @@
## master #6100 +/- ##
==========================================
- Coverage 80.32% 9.47% -70.85%
==========================================
Files 612 607 -5
Lines 35395 35035 -360
==========================================
- Hits 28432 3321 -25111
- Misses 6963 31714 +24751
Continue to review full report at Codecov.
|
@ashb 🍏 |
Thanks @alrolorojas |
(cherry picked from commit 93bb5e4)
(cherry picked from commit 93bb5e4)
Make sure you have checked all steps below.
Jira
Description
This PR addresses issues with pagination + showing/hiding paused DAGs.
showPaused
URL parameter was removed of the URL without taking into account the value of the airflow configurationhide_paused_dags_by_default
.Now it only removes
showPaused
ifhide_paused_dags_by_default
makes it redundant.Tests
./breeze --test-target tests.www.test_utils:TestUtils -- -s
Commits
Documentation