[AIRFLOW-6360] 'Recent tasks' stats only show non-completed dagruns o…#6944
[AIRFLOW-6360] 'Recent tasks' stats only show non-completed dagruns o…#6944tooptoop4 wants to merge 3 commits intoapache:masterfrom tooptoop4:AIRFLOW-6360
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6944 +/- ##
==========================================
- Coverage 84.7% 84.69% -0.02%
==========================================
Files 680 680
Lines 38556 38566 +10
==========================================
+ Hits 32659 32662 +3
- Misses 5897 5904 +7
Continue to review full report at Codecov.
|
drsantos20
left a comment
There was a problem hiding this comment.
Hi @tooptoop4 do we already have tests for these changes?
|
@drsantos20 i couldn't see a test for original task_stats functionality, as this change is guarded by opt-in config then no impact for existing users |
|
@tooptoop4 -> Still the tests are targeting the "future" rather than the past. We often cherry-pick some changes to 1.10 now + we want to make sure that we can refactor Airflow in the future without having to run tests manually, so we are now fairly strict in requiring tests for new functionalities - even if there were missing tests in the past. If you want to add new functionality, we expect you add tests, sorry :(. |
| # 0 means never get forcibly logged out | ||
| force_log_out_after = 0 | ||
|
|
||
| # 'Recent Tasks' stats will show for old DagRuns if True |
There was a problem hiding this comment.
Hi. Can you add some documentation? We do not yet have a document describing the configuration options of the webserver. Would you like to create it? If not, that's fine and you can also create a new document in the howto directory.
|
superseded by #7037 |
…ption
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation