You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/01/01 18:12:35 UTC
[GitHub] [airflow] tooptoop4 opened a new pull request #6993: [AIRFLOW-4502]
new cli command - task_states_for_dag_run
tooptoop4 opened a new pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993
- [ ] Description above provides context of the change
- [ ] Commit message contains [\[AIRFLOW-4502\]](https://issues.apache.org/jira/browse/AIRFLOW-4502) or `[AIRFLOW-XXXX]` for document-only changes
- [ ] Unit tests coverage for changes (not needed for documentation changes)
- [ ] Commits follow "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)"
- [ ] Relevant documentation is updated including usage instructions.
- [ ] I will engage committers as explained in [Contribution Workflow Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
Read the [Pull Request Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines) for more information.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on issue #6993: [AIRFLOW-4502] new cli
command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-571853166
Each test should delete and create data in the database, but unfortunately, we have one database that is shared by all tests, so if one test adds data to the database, another can read them. Side effects may occur between tests.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363724708
##########
File path: tests/cli/commands/test_task_command.py
##########
@@ -184,6 +184,20 @@ def test_task_state(self):
'tasks', 'state', 'example_bash_operator', 'runme_0',
DEFAULT_DATE.isoformat()]))
+ def test_task_states_for_dag_run(self):
+ with redirect_stdout(io.StringIO()) as stdout:
+ task_command.task_states_for_dag_run(self.parser.parse_args([
+ 'tasks', 'states_for_dag_run', 'example_bash_operator', DEFAULT_DATE.isoformat()]))
+
+ # can't get perfect match as start/end date are variable
Review comment:
```
dag = DagBag(load_examples=True).dags['example_bash_operator']
dag.clear();
dr = dag.create_dagrun(run_id='test_task_state_for_dagrun',
state=State.RUNNING,
execution_date=now,
start_date=now)
ti_op1 = dr.get_task_instance(task_id=op1.task_id)
ti_op1.set_state(state=State.REMOVED, session=session)
ti_op2 = dr.get_task_instance(task_id=op2.task_id)
ti_op2.set_state(state=State.SUCCESS, session=session)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363127597
##########
File path: tests/cli/commands/test_task_command.py
##########
@@ -184,6 +184,10 @@ def test_task_state(self):
'tasks', 'state', 'example_bash_operator', 'runme_0',
DEFAULT_DATE.isoformat()]))
+ def test_task_states_for_dag_run(self):
+ task_command.task_states_for_dag_run(self.parser.parse_args([
Review comment:
Can you add some assertions? I see that other tests do not have, but now we are trying to improve the CLI and I have already [made many changes](https://github.com/apache/airflow/pulls?q=is%3Apr+label%3Aarea%3ACLI+is%3Aclosed+author%3Amik-laj) that do it.
Here is sample of assertions in tests: https://github.com/apache/airflow/blob/master/tests/cli/commands/test_config_command.py#L38
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363538142
##########
File path: tests/cli/commands/test_task_command.py
##########
@@ -184,6 +184,10 @@ def test_task_state(self):
'tasks', 'state', 'example_bash_operator', 'runme_0',
DEFAULT_DATE.isoformat()]))
+ def test_task_states_for_dag_run(self):
+ task_command.task_states_for_dag_run(self.parser.parse_args([
Review comment:
added
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **increase** coverage by `0.12%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
+ Coverage 84.7% 84.83% +0.12%
==========================================
Files 680 679 -1
Lines 38556 39074 +518
==========================================
+ Hits 32659 33147 +488
- Misses 5897 5927 +30
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+2.91%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| ... and [86 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...019ad73](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **decrease** coverage by `0.15%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.7% 84.54% -0.16%
==========================================
Files 680 679 -1
Lines 38556 38546 -10
==========================================
- Hits 32659 32589 -70
- Misses 5897 5957 +60
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-2.29%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| ... and [31 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363045328
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +215,38 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ session = settings.Session()
+ tis = session.query(
+ TaskInstance.dag_id,
+ TaskInstance.execution_date,
+ TaskInstance.task_id,
+ TaskInstance.state,
+ TaskInstance.start_date,
+ TaskInstance.end_date).filter(
+ TaskInstance.dag_id == args.dag_id,
+ TaskInstance.execution_date == args.execution_date).all()
+ session.close()
+ if len(tis) == 0:
+ raise AirflowException("dag run does not exist.")
+ formatted_rows = []
+ for ti in tis:
+ formatted_rows.append((ti.dag_id,
+ ti.execution_date,
+ ti.task_id,
+ ti.state,
+ ti.start_date,
+ ti.end_date))
+
+ print(
+ "\n%s" %
+ tabulate(
+ formatted_rows, [
+ 'dag', 'exec_date', 'task', 'state', 'start_date', 'end_date'], tablefmt="fancy_grid"))
Review comment:
This is important because I would like to have the same UX when using all commands.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on issue #6993: [AIRFLOW-4502] new
cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-572327119
@mik-laj pls merge
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.23%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.92% -0.24%
==========================================
Files 680 682 +2
Lines 38824 39007 +183
==========================================
+ Hits 33061 33127 +66
- Misses 5763 5880 +117
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/jobs/backfill\_job.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9qb2JzL2JhY2tmaWxsX2pvYi5weQ==) | `91.59% <0%> (-0.29%)` | :arrow_down: |
| [airflow/contrib/hooks/gcp\_spanner\_hook.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9zcGFubmVyX2hvb2sucHk=) | `100% <0%> (ø)` | :arrow_up: |
| ... and [8 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **decrease** coverage by `0.15%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.7% 84.54% -0.16%
==========================================
Files 680 679 -1
Lines 38556 38546 -10
==========================================
- Hits 32659 32589 -70
- Misses 5897 5957 +60
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-2.29%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| ... and [31 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r365563318
##########
File path: tests/www/test_views.py
##########
@@ -2200,6 +2200,7 @@ def test_action_logging_post(self):
only_failed="false",
)
resp = self.client.post("clear", data=form)
+ # sometimes fail due to shared db?
Review comment:
Can you remove this commend? Flaky tests are a problem and we try to limit it in many ways.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.23%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.92% -0.24%
==========================================
Files 680 682 +2
Lines 38824 39007 +183
==========================================
+ Hits 33061 33127 +66
- Misses 5763 5880 +117
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/jobs/backfill\_job.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9qb2JzL2JhY2tmaWxsX2pvYi5weQ==) | `91.59% <0%> (-0.29%)` | :arrow_down: |
| [airflow/contrib/hooks/gcp\_spanner\_hook.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9zcGFubmVyX2hvb2sucHk=) | `100% <0%> (ø)` | :arrow_up: |
| ... and [8 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.83% -0.02%
==========================================
Files 679 679
Lines 38536 39074 +538
==========================================
+ Hits 32698 33147 +449
- Misses 5838 5927 +89
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+1.31%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| [airflow/utils/log/es\_task\_handler.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9sb2cvZXNfdGFza19oYW5kbGVyLnB5) | `93.39% <0%> (-0.78%)` | :arrow_down: |
| ... and [60 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...019ad73](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363630370
##########
File path: tests/cli/commands/test_task_command.py
##########
@@ -184,6 +184,20 @@ def test_task_state(self):
'tasks', 'state', 'example_bash_operator', 'runme_0',
DEFAULT_DATE.isoformat()]))
+ def test_task_states_for_dag_run(self):
+ with redirect_stdout(io.StringIO()) as stdout:
+ task_command.task_states_for_dag_run(self.parser.parse_args([
+ 'tasks', 'states_for_dag_run', 'example_bash_operator', DEFAULT_DATE.isoformat()]))
+
+ # can't get perfect match as start/end date are variable
Review comment:
is there example?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.23%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.92% -0.24%
==========================================
Files 680 682 +2
Lines 38824 39007 +183
==========================================
+ Hits 33061 33127 +66
- Misses 5763 5880 +117
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/jobs/backfill\_job.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9qb2JzL2JhY2tmaWxsX2pvYi5weQ==) | `91.59% <0%> (-0.29%)` | :arrow_down: |
| [airflow/contrib/hooks/gcp\_spanner\_hook.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9zcGFubmVyX2hvb2sucHk=) | `100% <0%> (ø)` | :arrow_up: |
| ... and [8 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r362356214
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +213,29 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ if not args.dag_id or not args.execution_date:
Review comment:
Is this condition needed? dags_id and execution are required arguments. I think we already have one higher level validation
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r362355856
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +213,29 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ if not args.dag_id or not args.execution_date:
+ raise AirflowException("dag_id and execution_date are mandatory.")
+ session = settings.Session()
+ tis = session.query(
+ TaskInstance.dag_id,
+ TaskInstance.execution_date,
+ TaskInstance.task_id,
+ TaskInstance.state,
+ TaskInstance.start_date,
+ TaskInstance.end_date).filter(
+ TaskInstance.dag_id == args.dag_id,
+ TaskInstance.execution_date == args.execution_date).all()
+ session.close()
+ if len(tis) == 0:
+ raise AirflowException("dag run does not exist.")
+ for ti in tis:
+ print("dag={0}, exec_date={1}, task={2}, state={3}, start_date={4}, end_date={5}".format(
Review comment:
Can you use tabulate? All CLI lists should use it to enable data display in various formats, e.g. CSV.
Referencec:
https://github.com/apache/airflow/blob/master/airflow/cli/commands/pool_command.py#L31-L33
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.23%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.92% -0.24%
==========================================
Files 680 682 +2
Lines 38824 39007 +183
==========================================
+ Hits 33061 33127 +66
- Misses 5763 5880 +117
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/jobs/backfill\_job.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9qb2JzL2JhY2tmaWxsX2pvYi5weQ==) | `91.59% <0%> (-0.29%)` | :arrow_down: |
| [airflow/contrib/hooks/gcp\_spanner\_hook.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9zcGFubmVyX2hvb2sucHk=) | `100% <0%> (ø)` | :arrow_up: |
| ... and [8 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on issue #6993: [AIRFLOW-4502] new
cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-571833089
@mik-laj do u think tests/www/test_views.py test is failing due to commands being run in tests/cli/task_command.py? I thought each test is 'self-contained'
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj merged pull request #6993: [AIRFLOW-4502] new cli
command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj merged pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363566924
##########
File path: tests/cli/commands/test_task_command.py
##########
@@ -184,6 +184,20 @@ def test_task_state(self):
'tasks', 'state', 'example_bash_operator', 'runme_0',
DEFAULT_DATE.isoformat()]))
+ def test_task_states_for_dag_run(self):
+ with redirect_stdout(io.StringIO()) as stdout:
+ task_command.task_states_for_dag_run(self.parser.parse_args([
+ 'tasks', 'states_for_dag_run', 'example_bash_operator', DEFAULT_DATE.isoformat()]))
+
+ # can't get perfect match as start/end date are variable
Review comment:
I think you should save this data to the database in the code of test, and then the data will be constant.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **decrease** coverage by `0.15%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.7% 84.54% -0.16%
==========================================
Files 680 679 -1
Lines 38556 38546 -10
==========================================
- Hits 32659 32589 -70
- Misses 5897 5957 +60
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-2.29%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| ... and [31 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **increase** coverage by `0.12%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
+ Coverage 84.7% 84.83% +0.12%
==========================================
Files 680 679 -1
Lines 38556 39074 +518
==========================================
+ Hits 32659 33147 +488
- Misses 5897 5927 +30
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+2.91%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| ... and [86 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...019ad73](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **increase** coverage by `0.07%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
+ Coverage 84.7% 84.78% +0.07%
==========================================
Files 680 680
Lines 38556 38774 +218
==========================================
+ Hits 32659 32873 +214
- Misses 5897 5901 +4
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+2.91%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| ... and [90 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...9f1bea3](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363127597
##########
File path: tests/cli/commands/test_task_command.py
##########
@@ -184,6 +184,10 @@ def test_task_state(self):
'tasks', 'state', 'example_bash_operator', 'runme_0',
DEFAULT_DATE.isoformat()]))
+ def test_task_states_for_dag_run(self):
+ task_command.task_states_for_dag_run(self.parser.parse_args([
Review comment:
Can you add some assertions? I see that other tests do not have, but we are trying to improve the CLI now and I have already [made many changes](https://github.com/apache/airflow/pulls?q=is%3Apr+label%3Aarea%3ACLI+is%3Aclosed+author%3Amik-laj) that do it.
Here is sample of assertions in tests: https://github.com/apache/airflow/blob/master/tests/cli/commands/test_config_command.py#L38
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **increase** coverage by `0.07%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
+ Coverage 84.7% 84.78% +0.07%
==========================================
Files 680 680
Lines 38556 38774 +218
==========================================
+ Hits 32659 32873 +214
- Misses 5897 5901 +4
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+2.91%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| ... and [90 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...9f1bea3](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363045256
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +215,38 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ session = settings.Session()
+ tis = session.query(
+ TaskInstance.dag_id,
+ TaskInstance.execution_date,
+ TaskInstance.task_id,
+ TaskInstance.state,
+ TaskInstance.start_date,
+ TaskInstance.end_date).filter(
+ TaskInstance.dag_id == args.dag_id,
+ TaskInstance.execution_date == args.execution_date).all()
+ session.close()
+ if len(tis) == 0:
+ raise AirflowException("dag run does not exist.")
+ formatted_rows = []
+ for ti in tis:
+ formatted_rows.append((ti.dag_id,
+ ti.execution_date,
+ ti.task_id,
+ ti.state,
+ ti.start_date,
+ ti.end_date))
+
+ print(
+ "\n%s" %
+ tabulate(
+ formatted_rows, [
+ 'dag', 'exec_date', 'task', 'state', 'start_date', 'end_date'], tablefmt="fancy_grid"))
Review comment:
```suggestion
'dag', 'exec_date', 'task', 'state', 'start_date', 'end_date'], tablefmt=args.output))
```
Can you add support for other formats?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **increase** coverage by `0.12%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
+ Coverage 84.7% 84.83% +0.12%
==========================================
Files 680 679 -1
Lines 38556 39074 +518
==========================================
+ Hits 32659 33147 +488
- Misses 5897 5927 +30
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+2.91%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| ... and [86 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...019ad73](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.23%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.92% -0.24%
==========================================
Files 680 682 +2
Lines 38824 39007 +183
==========================================
+ Hits 33061 33127 +66
- Misses 5763 5880 +117
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/jobs/backfill\_job.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9qb2JzL2JhY2tmaWxsX2pvYi5weQ==) | `91.59% <0%> (-0.29%)` | :arrow_down: |
| [airflow/contrib/hooks/gcp\_spanner\_hook.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9zcGFubmVyX2hvb2sucHk=) | `100% <0%> (ø)` | :arrow_up: |
| ... and [8 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on issue #6993: [AIRFLOW-4502] new
cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570755744
@mik-laj test added, pls merge
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363015450
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +213,29 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ if not args.dag_id or not args.execution_date:
+ raise AirflowException("dag_id and execution_date are mandatory.")
+ session = settings.Session()
+ tis = session.query(
+ TaskInstance.dag_id,
+ TaskInstance.execution_date,
+ TaskInstance.task_id,
+ TaskInstance.state,
+ TaskInstance.start_date,
+ TaskInstance.end_date).filter(
+ TaskInstance.dag_id == args.dag_id,
+ TaskInstance.execution_date == args.execution_date).all()
+ session.close()
+ if len(tis) == 0:
+ raise AirflowException("dag run does not exist.")
+ for ti in tis:
+ print("dag={0}, exec_date={1}, task={2}, state={3}, start_date={4}, end_date={5}".format(
Review comment:
fixed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.23%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.92% -0.24%
==========================================
Files 680 682 +2
Lines 38824 39007 +183
==========================================
+ Hits 33061 33127 +66
- Misses 5763 5880 +117
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/jobs/backfill\_job.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9qb2JzL2JhY2tmaWxsX2pvYi5weQ==) | `91.59% <0%> (-0.29%)` | :arrow_down: |
| [airflow/contrib/hooks/gcp\_spanner\_hook.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9zcGFubmVyX2hvb2sucHk=) | `100% <0%> (ø)` | :arrow_up: |
| ... and [8 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/7d97d16c47ba181839fd583b8653d2872dc4290b?src=pr&el=desc) will **decrease** coverage by `0.15%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.7% 84.54% -0.16%
==========================================
Files 680 679 -1
Lines 38556 38546 -10
==========================================
- Hits 32659 32589 -70
- Misses 5897 5957 +60
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-2.29%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/utils/file.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9maWxlLnB5) | `86.3% <0%> (-5.17%)` | :arrow_down: |
| [airflow/utils/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9jbGkucHk=) | `68.75% <0%> (-2.95%)` | :arrow_down: |
| ... and [31 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [7d97d16...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] tooptoop4 commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363015445
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +213,29 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ if not args.dag_id or not args.execution_date:
Review comment:
fixed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] potiuk commented on issue #6993: [AIRFLOW-4502] new cli
command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-571958801
Yeah. Getting tests isolation for all tests is the next step after we stabilise current situation with flaky failures cause of memory
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/fe20ef6147f157b7c963ad46e13aff7c16458632?src=pr&el=desc) will **decrease** coverage by `0.24%`.
> The diff coverage is `50%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 85.15% 84.91% -0.25%
==========================================
Files 680 708 +28
Lines 38824 41090 +2266
==========================================
+ Hits 33061 34892 +1831
- Misses 5763 6198 +435
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.73% <ø> (+0.68%)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `72.28% <50%> (+0.47%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.31% <0%> (-20.44%)` | :arrow_down: |
| [airflow/providers/amazon/aws/operators/batch.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9wcm92aWRlcnMvYW1hem9uL2F3cy9vcGVyYXRvcnMvYmF0Y2gucHk=) | `93.75% <0%> (-2.09%)` | :arrow_down: |
| [airflow/hooks/hive\_hooks.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9ob29rcy9oaXZlX2hvb2tzLnB5) | `76.14% <0%> (-1.41%)` | :arrow_down: |
| [airflow/serialization/serialized\_objects.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZXJpYWxpemF0aW9uL3NlcmlhbGl6ZWRfb2JqZWN0cy5weQ==) | `90.03% <0%> (-0.69%)` | :arrow_down: |
| ... and [82 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [fe20ef6...7476c8b](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io commented on issue #6993: [AIRFLOW-4502] new
cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io commented on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.22%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.62% -0.23%
==========================================
Files 679 680 +1
Lines 38536 38697 +161
==========================================
+ Hits 32698 32747 +49
- Misses 5838 5950 +112
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `73.12% <100%> (+1.31%)` | :arrow_up: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
| [airflow/configuration.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb25maWd1cmF0aW9uLnB5) | `91.43% <0%> (-1.22%)` | :arrow_down: |
| [airflow/utils/log/es\_task\_handler.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy9sb2cvZXNfdGFza19oYW5kbGVyLnB5) | `93.39% <0%> (-0.78%)` | :arrow_down: |
| ... and [60 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...0bc2aaf](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> Merging [#6993](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=desc) into [master](https://codecov.io/gh/apache/airflow/commit/6c2a0d42e1dfec68d7aae531b80b5cf8b5fe6114?src=pr&el=desc) will **decrease** coverage by `0.3%`.
> The diff coverage is `100%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
==========================================
- Coverage 84.85% 84.54% -0.31%
==========================================
Files 679 679
Lines 38536 38546 +10
==========================================
- Hits 32698 32589 -109
- Misses 5838 5957 +119
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/bin/cli.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9iaW4vY2xpLnB5) | `94.04% <ø> (ø)` | :arrow_up: |
| [airflow/cli/commands/task\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvdGFza19jb21tYW5kLnB5) | `67.92% <100%> (-3.89%)` | :arrow_down: |
| [airflow/kubernetes/volume\_mount.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZV9tb3VudC5weQ==) | `44.44% <0%> (-55.56%)` | :arrow_down: |
| [airflow/kubernetes/volume.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3ZvbHVtZS5weQ==) | `52.94% <0%> (-47.06%)` | :arrow_down: |
| [airflow/kubernetes/pod\_launcher.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3BvZF9sYXVuY2hlci5weQ==) | `45.25% <0%> (-46.72%)` | :arrow_down: |
| [airflow/kubernetes/refresh\_config.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9rdWJlcm5ldGVzL3JlZnJlc2hfY29uZmlnLnB5) | `50.98% <0%> (-23.53%)` | :arrow_down: |
| [...rflow/contrib/operators/kubernetes\_pod\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9rdWJlcm5ldGVzX3BvZF9vcGVyYXRvci5weQ==) | `78.75% <0%> (-20%)` | :arrow_down: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [6c2a0d4...afac160](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on a change in pull request #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r363045265
##########
File path: airflow/bin/cli.py
##########
@@ -727,6 +727,13 @@ class CLIFactory:
'dag_id', 'task_id', 'execution_date', 'subdir', 'dry_run',
'task_params', 'post_mortem'),
},
+ {
+ 'func': lazy_load_command('airflow.cli.commands.task_command.task_states_for_dag_run'),
+ 'name': 'states_for_dag_run',
+ 'help': "Get the status of all task instances in a dag run",
+ 'args': (
+ 'dag_id', 'execution_date'),
Review comment:
```suggestion
'dag_id', 'execution_date', 'output'),
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] codecov-io edited a comment on issue #6993:
[AIRFLOW-4502] new cli command - task_states_for_dag_run
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on issue #6993: [AIRFLOW-4502] new cli command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#issuecomment-570075234
# [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@846af90`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `83.57%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/6993/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #6993 +/- ##
=========================================
Coverage ? 84.92%
=========================================
Files ? 682
Lines ? 39007
Branches ? 0
=========================================
Hits ? 33127
Misses ? 5880
Partials ? 0
```
| [Impacted Files](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [airflow/gcp/operators/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3Avb3BlcmF0b3JzL2RhdGFmbG93LnB5) | `99.07% <ø> (ø)` | |
| [airflow/gcp/hooks/dataflow.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvZGF0YWZsb3cucHk=) | `89.28% <ø> (ø)` | |
| [.../contrib/operators/gcs\_to\_gcs\_transfer\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3NfdG9fZ2NzX3RyYW5zZmVyX29wZXJhdG9yLnB5) | `0% <ø> (ø)` | |
| [airflow/utils/weight\_rule.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy91dGlscy93ZWlnaHRfcnVsZS5weQ==) | `100% <ø> (ø)` | |
| [airflow/example\_dags/docker\_copy\_data.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZG9ja2VyX2NvcHlfZGF0YS5weQ==) | `100% <ø> (ø)` | |
| [airflow/sensors/external\_task\_sensor.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2V4dGVybmFsX3Rhc2tfc2Vuc29yLnB5) | `85.96% <ø> (ø)` | |
| [airflow/example\_dags/example\_docker\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9leGFtcGxlX2RhZ3MvZXhhbXBsZV9kb2NrZXJfb3BlcmF0b3IucHk=) | `100% <ø> (ø)` | |
| [airflow/cli/commands/db\_command.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9jbGkvY29tbWFuZHMvZGJfY29tbWFuZC5weQ==) | `97.43% <ø> (ø)` | |
| [airflow/ti\_deps/deps/prev\_dagrun\_dep.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcHJldl9kYWdydW5fZGVwLnB5) | `80.55% <ø> (ø)` | |
| [airflow/sensors/base\_sensor\_operator.py](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree#diff-YWlyZmxvdy9zZW5zb3JzL2Jhc2Vfc2Vuc29yX29wZXJhdG9yLnB5) | `98.61% <ø> (ø)` | |
| ... and [147 more](https://codecov.io/gh/apache/airflow/pull/6993/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=footer). Last update [846af90...b20e3ce](https://codecov.io/gh/apache/airflow/pull/6993?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services