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/14 21:55:54 UTC

[GitHub] [airflow] tooptoop4 opened a new pull request #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

tooptoop4 opened a new pull request #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169
 
 
   ---
   Issue link: WILL BE INSERTED BY [boring-cyborg](https://github.com/kaxil/boring-cyborg)
   
   Make sure to mark the boxes below before creating PR: [x]
   
   - [x] Description above provides context of the change
   - [x] Commit message/PR title starts with `[AIRFLOW-NNNN]`. AIRFLOW-NNNN = JIRA ID<sup>*</sup>
   - [x] Unit tests coverage for changes (not needed for documentation changes)
   - [x] Commits follow "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)"
   - [x] Relevant documentation is updated including usage instructions.
   - [x] I will engage committers as explained in [Contribution Workflow Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
   
   <sup>*</sup> For document-only changes commit message can start with `[AIRFLOW-XXXX]`.
   
   ---
   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] tooptoop4 commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-614414907
 
 
   covered by https://github.com/apache/airflow/pull/8389

----------------------------------------------------------------
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] kaxil commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
kaxil commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-577852483
 
 
   @KevinYang21 What do you think of this PR?

----------------------------------------------------------------
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 edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-594253430
 
 
   Test for your case:
   ```
       def test_dagrun_id_tooptoop4(self):
           ti = Mock(get_dagrun=Mock(return_value=None))
           self.assertTrue(DagrunIdDep().is_met(ti=ti))
   
   ```
   File: tests/ti_deps/deps/test_dagrun_id_dep.py
   
   

----------------------------------------------------------------
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 #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-594251192
 
 
   @mik-laj do u know what test I can base off?

----------------------------------------------------------------
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 #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-591075723
 
 
   @ashb are there any similar tests I could 'reuse' as a starting point ?

----------------------------------------------------------------
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 #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
codecov-io commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-574431885
 
 
   # [Codecov](https://codecov.io/gh/apache/airflow/pull/7169?src=pr&el=h1) Report
   > :exclamation: No coverage uploaded for pull request base (`master@00c6758`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
   > The diff coverage is `96.02%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/airflow/pull/7169/graphs/tree.svg?width=650&token=WdLKlKHOAU&height=150&src=pr)](https://codecov.io/gh/apache/airflow/pull/7169?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff            @@
   ##             master    #7169   +/-   ##
   =========================================
     Coverage          ?   85.12%           
   =========================================
     Files             ?      710           
     Lines             ?    39479           
     Branches          ?        0           
   =========================================
     Hits              ?    33606           
     Misses            ?     5873           
     Partials          ?        0
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/airflow/pull/7169?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [airflow/models/baseoperator.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9tb2RlbHMvYmFzZW9wZXJhdG9yLnB5) | `96.25% <ø> (ø)` | |
   | [airflow/models/pool.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9tb2RlbHMvcG9vbC5weQ==) | `97.36% <ø> (ø)` | |
   | [airflow/gcp/hooks/bigquery.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9nY3AvaG9va3MvYmlncXVlcnkucHk=) | `91.81% <ø> (ø)` | |
   | [airflow/models/taskinstance.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9tb2RlbHMvdGFza2luc3RhbmNlLnB5) | `94.92% <ø> (ø)` | |
   | [...flow/contrib/example\_dags/example\_gcs\_to\_gdrive.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2V4YW1wbGVfZGFncy9leGFtcGxlX2djc190b19nZHJpdmUucHk=) | `100% <100%> (ø)` | |
   | [airflow/operators/gcs\_to\_bq.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9vcGVyYXRvcnMvZ2NzX3RvX2JxLnB5) | `70.58% <100%> (ø)` | |
   | [...irflow/contrib/operators/gcp\_container\_operator.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL29wZXJhdG9ycy9nY3BfY29udGFpbmVyX29wZXJhdG9yLnB5) | `100% <100%> (ø)` | |
   | [airflow/contrib/hooks/gcp\_container\_hook.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL2hvb2tzL2djcF9jb250YWluZXJfaG9vay5weQ==) | `100% <100%> (ø)` | |
   | [airflow/ti\_deps/deps/pool\_slots\_available\_dep.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy90aV9kZXBzL2RlcHMvcG9vbF9zbG90c19hdmFpbGFibGVfZGVwLnB5) | `100% <100%> (ø)` | |
   | [airflow/contrib/sensors/file\_sensor.py](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree#diff-YWlyZmxvdy9jb250cmliL3NlbnNvcnMvZmlsZV9zZW5zb3IucHk=) | `100% <100%> (ø)` | |
   | ... and [18 more](https://codecov.io/gh/apache/airflow/pull/7169/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/airflow/pull/7169?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/7169?src=pr&el=footer). Last update [00c6758...0e97674](https://codecov.io/gh/apache/airflow/pull/7169?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 #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-577847502
 
 
   @kaxil 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] ashb commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
ashb commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-579973283
 
 
   @tooptoop4 Could you add a unit test please so we can check this doesn't break again in the future?

----------------------------------------------------------------
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 edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-594253430
 
 
   Test for your case:
   ```
       def test_dagrun_id_tooptoop4(self):
           ti = Mock(get_dagrun=Mock(return_value=None)) # Thiss is mock for this case
           self.assertTrue(DagrunIdDep().is_met(ti=ti)) # Problably you need to adjust this line
   
   ```
   File: tests/ti_deps/deps/test_dagrun_id_dep.py
   
   

----------------------------------------------------------------
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 #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-594253430
 
 
   ```
       def test_dagrun_id_tooptoop4(self):
           ti = Mock(get_dagrun=Mock(return_value=None))
           self.assertTrue(DagrunIdDep().is_met(ti=ti))
   
   ```
   File: tests/ti_deps/deps/test_dagrun_id_dep.py
   
   

----------------------------------------------------------------
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 edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-594253430
 
 
   Test for your case:
   ```
       def test_dagrun_id_tooptoop4(self):
           ti = Mock(get_dagrun=Mock(return_value=None))
           self.assertTrue(DagrunIdDep().is_met(ti=ti)) # Problably you need to adjust this line
   
   ```
   File: tests/ti_deps/deps/test_dagrun_id_dep.py
   
   

----------------------------------------------------------------
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 closed pull request #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
tooptoop4 closed pull request #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169
 
 
   

----------------------------------------------------------------
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 #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
tooptoop4 commented on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-579949418
 
 
   u there Kev? @KevinYang21 

----------------------------------------------------------------
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 edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet

Posted by GitBox <gi...@apache.org>.
mik-laj edited a comment on issue #7169: [AIRFLOW-6555] mushroom cloud error when clicking 'task instance details' from graph view of dag that has never been run yet
URL: https://github.com/apache/airflow/pull/7169#issuecomment-594253430
 
 
   Test for your case:
   ```python
       def test_dagrun_id_tooptoop4(self):
           ti = Mock(get_dagrun=Mock(return_value=None)) # Thiss is mock for this case
           self.assertTrue(DagrunIdDep().is_met(ti=ti)) # Problably you need to adjust this line
   
   ```
   File: tests/ti_deps/deps/test_dagrun_id_dep.py
   
   

----------------------------------------------------------------
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