You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/03/19 03:13:53 UTC

[GitHub] [superset] robdiciuccio opened a new pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

robdiciuccio opened a new pull request #13696:
URL: https://github.com/apache/superset/pull/13696


   ### SUMMARY
   Migrate asyncEvent module from Redux middleware to a Promise-based event listener approach (with @suddjian) and add Websocket event transport support (extracted from https://github.com/apache/superset/pull/11498).
   
   Resolves an incompatibility between async queries and dashboard native filters.
   
   ### TEST PLAN
   Verify async queries function properly with polling with and without dashboard native filters enabled.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668






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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] robdiciuccio commented on a change in pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
robdiciuccio commented on a change in pull request #13696:
URL: https://github.com/apache/superset/pull/13696#discussion_r598980966



##########
File path: superset-frontend/src/middleware/asyncEvent.ts
##########
@@ -25,178 +24,240 @@ import {
   parseErrorJson,
 } from '../utils/getClientErrorObject';
 
-export type AsyncEvent = {
-  id: string;
+type AsyncEvent = {
+  id?: string | null;
   channel_id: string;
   job_id: string;
-  user_id: string;
+  user_id?: string;
   status: string;
-  errors: SupersetError[];
-  result_url: string;
-};
-
-type AsyncEventOptions = {
-  config: {
-    GLOBAL_ASYNC_QUERIES_TRANSPORT: string;
-    GLOBAL_ASYNC_QUERIES_POLLING_DELAY: number;
-  };
-  getPendingComponents: (state: any) => any[];
-  successAction: (componentId: number, componentData: any) => { type: string };
-  errorAction: (componentId: number, response: any) => { type: string };
-  processEventsCallback?: (events: AsyncEvent[]) => void; // this is currently used only for tests
+  errors?: SupersetError[];
+  result_url: string | null;
 };
 
 type CachedDataResponse = {
-  componentId: number;
   status: string;
   data: any;
 };
+type AppConfig = Record<string, any>;
+type ListenerFn = (asyncEvent: AsyncEvent) => Promise<any>;

Review comment:
       This could be a response payload for SQL Lab as well (in the future), which is the reason why it's generic. Well, that and laziness.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d3afcc6) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **decrease** coverage by `4.78%`.
   > The diff coverage is `77.03%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   77.43%   72.64%   -4.79%     
   ==========================================
     Files         933      933              
     Lines       47093    47101       +8     
     Branches     5818     5824       +6     
   ==========================================
   - Hits        36465    34217    -2248     
   - Misses      10485    12662    +2177     
   - Partials      143      222      +79     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `?` | |
   | hive | `?` | |
   | javascript | `63.44% <77.03%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `29.57% <ø> (-34.81%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `0.00% <ø> (-63.64%)` | :arrow_down: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `0.00% <ø> (-63.64%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `50.74% <60.00%> (-27.26%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.69%> (-9.32%)` | :arrow_down: |
   | [superset-frontend/src/SqlLab/App.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/App.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvQXBwLmpzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/App.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9BcHAuanN4) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [superset-frontend/src/explore/reducers/index.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvcmVkdWNlcnMvaW5kZXguanM=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/filters/components/Time/types.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2ZpbHRlcnMvY29tcG9uZW50cy9UaW1lL3R5cGVzLnRz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [217 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.10%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.14%   +1.10%     
   ==========================================
     Files         928      928              
     Lines       47002    47018      +16     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36271     +533     
   + Misses      11098    10605     -493     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.57% <ø> (-0.02%)` | :arrow_down: |
   | presto | `?` | |
   | python | `80.66% <ø> (-0.45%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | [superset/models/dashboard.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2Rhc2hib2FyZC5weQ==) | `75.37% <0.00%> (-2.25%)` | :arrow_down: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `81.03% <0.00%> (-1.73%)` | :arrow_down: |
   | ... and [99 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `5.10%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   70.92%   -5.11%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29803    -5935     
   - Misses      11098    12217    +1119     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [514 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `4.93%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   71.10%   -4.94%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29878    -5860     
   - Misses      11098    12142    +1044     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.97% <ø> (-0.13%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [510 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on a change in pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #13696:
URL: https://github.com/apache/superset/pull/13696#discussion_r598981996



##########
File path: superset-frontend/src/middleware/asyncEvent.ts
##########
@@ -25,178 +24,240 @@ import {
   parseErrorJson,
 } from '../utils/getClientErrorObject';
 
-export type AsyncEvent = {
-  id: string;
+type AsyncEvent = {
+  id?: string | null;
   channel_id: string;
   job_id: string;
-  user_id: string;
+  user_id?: string;
   status: string;
-  errors: SupersetError[];
-  result_url: string;
-};
-
-type AsyncEventOptions = {
-  config: {
-    GLOBAL_ASYNC_QUERIES_TRANSPORT: string;
-    GLOBAL_ASYNC_QUERIES_POLLING_DELAY: number;
-  };
-  getPendingComponents: (state: any) => any[];
-  successAction: (componentId: number, componentData: any) => { type: string };
-  errorAction: (componentId: number, response: any) => { type: string };
-  processEventsCallback?: (events: AsyncEvent[]) => void; // this is currently used only for tests
+  errors?: SupersetError[];
+  result_url: string | null;
 };
 
 type CachedDataResponse = {
-  componentId: number;
   status: string;
   data: any;
 };
+type AppConfig = Record<string, any>;
+type ListenerFn = (asyncEvent: AsyncEvent) => Promise<any>;

Review comment:
       Oh right, that makes total sense 👍 




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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `4.84%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   71.18%   -4.85%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29912    -5826     
   - Misses      11098    12108    +1010     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `80.26% <ø> (+<0.01%)` | :arrow_up: |
   | python | `81.11% <ø> (+<0.01%)` | :arrow_up: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [508 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] robdiciuccio merged pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
robdiciuccio merged pull request #13696:
URL: https://github.com/apache/superset/pull/13696


   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.27%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.31%   +1.27%     
   ==========================================
     Files         928      928              
     Lines       47002    47046      +44     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36372     +634     
   + Misses      11098    10532     -566     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `80.25% <ø> (-0.01%)` | :arrow_down: |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.97% <ø> (-0.14%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `82.84% <0.00%> (-5.44%)` | :arrow_down: |
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `82.14% <0.00%> (-3.58%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | [...erset-frontend/src/SqlLab/components/ResultSet.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1Jlc3VsdFNldC50c3g=) | `68.64% <0.00%> (-0.30%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `89.10% <0.00%> (-0.28%)` | :arrow_down: |
   | ... and [89 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `4.84%`.
   > The diff coverage is `27.53%`.
   
   > :exclamation: Current head 96bb118 differs from pull request most recent head 7e5d039. Consider uploading reports for the commit 7e5d039 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   71.18%   -4.85%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29912    -5826     
   - Misses      11098    12108    +1010     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `80.26% <ø> (+<0.01%)` | :arrow_up: |
   | python | `81.11% <ø> (+<0.01%)` | :arrow_up: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [508 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...7e5d039](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on a change in pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
villebro commented on a change in pull request #13696:
URL: https://github.com/apache/superset/pull/13696#discussion_r598253146



##########
File path: superset-frontend/spec/javascripts/middleware/asyncEvent_spec.ts
##########
@@ -17,249 +17,203 @@
  * under the License.
  */
 import fetchMock from 'fetch-mock';
+import WS from 'jest-websocket-mock';
 import sinon from 'sinon';
 import * as featureFlags from 'src/featureFlags';
-import initAsyncEvents from 'src/middleware/asyncEvent';
-
-jest.useFakeTimers();
+import { parseErrorJson } from 'src/utils/getClientErrorObject';
+import * as asyncEvent from 'src/middleware/asyncEvent';
 
 describe('asyncEvent middleware', () => {
-  const next = sinon.spy();
-  const state = {
-    charts: {
-      123: {
-        id: 123,
-        status: 'loading',
-        asyncJobId: 'foo123',
-      },
-      345: {
-        id: 345,
-        status: 'loading',
-        asyncJobId: 'foo345',
-      },
-    },
+  const asyncPendingEvent = {
+    status: 'pending',
+    result_url: null,
+    job_id: 'foo123',
+    channel_id: '999',
+    errors: [],
+  };
+  const asyncDoneEvent = {
+    id: '1518951480106-0',
+    status: 'done',
+    result_url: '/api/v1/chart/data/cache-key-1',
+    job_id: 'foo123',
+    channel_id: '999',
+    errors: [],
   };
-  const events = [
-    {
-      status: 'done',
-      result_url: '/api/v1/chart/data/cache-key-1',
-      job_id: 'foo123',
-      channel_id: '999',
-      errors: [],
-    },
-    {
-      status: 'done',
-      result_url: '/api/v1/chart/data/cache-key-2',
-      job_id: 'foo345',
-      channel_id: '999',
-      errors: [],
-    },
-  ];
-  const mockStore = {
-    getState: () => state,
-    dispatch: sinon.stub(),
+  const asyncErrorEvent = {
+    id: '1518951480107-0',
+    status: 'error',
+    result_url: null,
+    job_id: 'foo123',
+    channel_id: '999',
+    errors: [{ message: "Error: relation 'foo' does not exist" }],
   };
-  const action = {
-    type: 'GENERIC_ACTION',
+  const chartData = {
+    some: 'data',

Review comment:
       nit: This comes down to personal preference, but for me it's always easier to digest tests/mocks if they resemble real requests/responses as much as possible. In this case I believe `chartData` should be of type `ChartDataResponseResult[]`: https://github.com/apache-superset/superset-ui/blob/a3ec94f7a72a3dbb6cb6563e7ea7d3582661ea43/packages/superset-ui-core/src/query/types/QueryResponse.ts#L46-L72

##########
File path: superset-frontend/src/middleware/asyncEvent.ts
##########
@@ -25,178 +24,240 @@ import {
   parseErrorJson,
 } from '../utils/getClientErrorObject';
 
-export type AsyncEvent = {
-  id: string;
+type AsyncEvent = {
+  id?: string | null;
   channel_id: string;
   job_id: string;
-  user_id: string;
+  user_id?: string;
   status: string;
-  errors: SupersetError[];
-  result_url: string;
-};
-
-type AsyncEventOptions = {
-  config: {
-    GLOBAL_ASYNC_QUERIES_TRANSPORT: string;
-    GLOBAL_ASYNC_QUERIES_POLLING_DELAY: number;
-  };
-  getPendingComponents: (state: any) => any[];
-  successAction: (componentId: number, componentData: any) => { type: string };
-  errorAction: (componentId: number, response: any) => { type: string };
-  processEventsCallback?: (events: AsyncEvent[]) => void; // this is currently used only for tests
+  errors?: SupersetError[];
+  result_url: string | null;
 };
 
 type CachedDataResponse = {
-  componentId: number;
   status: string;
   data: any;
 };
+type AppConfig = Record<string, any>;
+type ListenerFn = (asyncEvent: AsyncEvent) => Promise<any>;

Review comment:
       Bycatch: I believe the correct type for `data` should be `LegacyQueryData | ChartDataResponseResult[]`

##########
File path: superset-frontend/src/middleware/asyncEvent.ts
##########
@@ -25,178 +24,240 @@ import {
   parseErrorJson,
 } from '../utils/getClientErrorObject';
 
-export type AsyncEvent = {
-  id: string;
+type AsyncEvent = {
+  id?: string | null;
   channel_id: string;
   job_id: string;
-  user_id: string;
+  user_id?: string;
   status: string;
-  errors: SupersetError[];
-  result_url: string;
-};
-
-type AsyncEventOptions = {
-  config: {
-    GLOBAL_ASYNC_QUERIES_TRANSPORT: string;
-    GLOBAL_ASYNC_QUERIES_POLLING_DELAY: number;
-  };
-  getPendingComponents: (state: any) => any[];
-  successAction: (componentId: number, componentData: any) => { type: string };
-  errorAction: (componentId: number, response: any) => { type: string };
-  processEventsCallback?: (events: AsyncEvent[]) => void; // this is currently used only for tests
+  errors?: SupersetError[];
+  result_url: string | null;
 };
 
 type CachedDataResponse = {
-  componentId: number;
   status: string;
   data: any;
 };
+type AppConfig = Record<string, any>;
+type ListenerFn = (asyncEvent: AsyncEvent) => Promise<any>;
 
-const initAsyncEvents = (options: AsyncEventOptions) => {
-  // TODO: implement websocket support
-  const TRANSPORT_POLLING = 'polling';
-  const {
-    config,
-    getPendingComponents,
-    successAction,
-    errorAction,
-    processEventsCallback,
-  } = options;
-  const transport = config.GLOBAL_ASYNC_QUERIES_TRANSPORT || TRANSPORT_POLLING;
-  const polling_delay = config.GLOBAL_ASYNC_QUERIES_POLLING_DELAY || 500;
-
-  const middleware: Middleware = (store: MiddlewareAPI) => (next: Dispatch) => {
-    const JOB_STATUS = {
-      PENDING: 'pending',
-      RUNNING: 'running',
-      ERROR: 'error',
-      DONE: 'done',
-    };
-    const LOCALSTORAGE_KEY = 'last_async_event_id';
-    const POLLING_URL = '/api/v1/async_event/';
-    let lastReceivedEventId: string | null;
+const TRANSPORT_POLLING = 'polling';
+const TRANSPORT_WS = 'ws';
+const JOB_STATUS = {
+  PENDING: 'pending',
+  RUNNING: 'running',
+  ERROR: 'error',
+  DONE: 'done',
+};
+const LOCALSTORAGE_KEY = 'last_async_event_id';
+const POLLING_URL = '/api/v1/async_event/';
+const MAX_RETRIES = 6;
+const RETRY_DELAY = 100;
 
-    try {
-      lastReceivedEventId = localStorage.getItem(LOCALSTORAGE_KEY);
-    } catch (err) {
-      console.warn('Failed to fetch last event Id from localStorage');
+let config: AppConfig;
+let transport: string;
+let polling_delay: number;
+let listenersByJobId: Record<string, ListenerFn>;
+let retriesByJobId: Record<string, number>;
+let lastReceivedEventId: string | null | undefined;
+
+export const init = (appConfig?: AppConfig) => {
+  if (!isFeatureEnabled(FeatureFlag.GLOBAL_ASYNC_QUERIES)) return;
+
+  listenersByJobId = {};
+  retriesByJobId = {};
+  lastReceivedEventId = null;
+
+  if (appConfig) {
+    config = appConfig;
+  } else {
+    // load bootstrap data from DOM
+    const appContainer = document.getElementById('app');
+    if (appContainer) {
+      const bootstrapData = JSON.parse(
+        appContainer?.getAttribute('data-bootstrap') || '{}',
+      );
+      config = bootstrapData?.common?.conf;
+    } else {
+      config = {};
+      console.warn('asyncEvent: app config data not found');
     }
+  }
+  transport = config.GLOBAL_ASYNC_QUERIES_TRANSPORT || TRANSPORT_POLLING;
+  polling_delay = config.GLOBAL_ASYNC_QUERIES_POLLING_DELAY || 500;
 
-    const fetchEvents = makeApi<
-      { last_id?: string | null },
-      { result: AsyncEvent[] }
-    >({
-      method: 'GET',
-      endpoint: POLLING_URL,
-    });
+  try {
+    lastReceivedEventId = localStorage.getItem(LOCALSTORAGE_KEY);
+  } catch (err) {
+    console.warn('Failed to fetch last event Id from localStorage');
+  }
 
-    const fetchCachedData = async (
-      asyncEvent: AsyncEvent,
-      componentId: number,
-    ): Promise<CachedDataResponse> => {
-      let status = 'success';
-      let data;
-      try {
-        const { json } = await SupersetClient.get({
-          endpoint: asyncEvent.result_url,
-        });
-        data = 'result' in json ? json.result : json;
-      } catch (response) {
-        status = 'error';
-        data = await getClientErrorObject(response);
-      }
+  if (transport === TRANSPORT_POLLING) {
+    loadEventsFromApi();
+  }
+  if (transport === TRANSPORT_WS) {
+    wsConnect();
+  }
+};
 
-      return { componentId, status, data };
-    };
+const addListener = (id: string, fn: any) => {
+  listenersByJobId[id] = fn;
+};
 
-    const setLastId = (asyncEvent: AsyncEvent) => {
-      lastReceivedEventId = asyncEvent.id;
-      try {
-        localStorage.setItem(LOCALSTORAGE_KEY, lastReceivedEventId as string);
-      } catch (err) {
-        console.warn('Error saving event Id to localStorage', err);
-      }
-    };
+const removeListener = (id: string) => {
+  if (!listenersByJobId[id]) return;
+  delete listenersByJobId[id];
+};
 
-    const processEvents = async () => {
-      let queuedComponents = getPendingComponents(store.getState());
-      const eventArgs = lastReceivedEventId
-        ? { last_id: lastReceivedEventId }
-        : {};
-      const events: AsyncEvent[] = [];
-      if (queuedComponents && queuedComponents.length) {
-        try {
-          const { result: events } = await fetchEvents(eventArgs);
-          // refetch queuedComponents due to race condition where results are available
-          // before component state is updated with asyncJobId
-          queuedComponents = getPendingComponents(store.getState());
-          if (events && events.length) {
-            const componentsByJobId = queuedComponents.reduce((acc, item) => {
-              acc[item.asyncJobId] = item;
-              return acc;
-            }, {});
-            const fetchDataEvents: Promise<CachedDataResponse>[] = [];
-            events.forEach((asyncEvent: AsyncEvent) => {
-              const component = componentsByJobId[asyncEvent.job_id];
-              if (!component) {
-                console.warn(
-                  'Component not found for job_id',
-                  asyncEvent.job_id,
-                );
-                return setLastId(asyncEvent);
-              }
-              const componentId = component.id;
-              switch (asyncEvent.status) {
-                case JOB_STATUS.DONE:
-                  fetchDataEvents.push(
-                    fetchCachedData(asyncEvent, componentId),
-                  );
-                  break;
-                case JOB_STATUS.ERROR:
-                  store.dispatch(
-                    errorAction(componentId, [parseErrorJson(asyncEvent)]),
-                  );
-                  break;
-                default:
-                  console.warn('Received event with status', asyncEvent.status);
-              }
-
-              return setLastId(asyncEvent);
-            });
-
-            const fetchResults = await Promise.all(fetchDataEvents);
-            fetchResults.forEach(result => {
-              const data = Array.isArray(result.data)
-                ? result.data
-                : [result.data];
-              if (result.status === 'success') {
-                store.dispatch(successAction(result.componentId, data));
-              } else {
-                store.dispatch(errorAction(result.componentId, data));
-              }
-            });
+export const waitForAsyncData = async (asyncResponse: AsyncEvent) =>
+  new Promise((resolve, reject) => {
+    const jobId = asyncResponse.job_id;
+    const listener = async (asyncEvent: AsyncEvent) => {
+      switch (asyncEvent.status) {
+        case JOB_STATUS.DONE: {
+          let { data, status } = await fetchCachedData(asyncEvent); // eslint-disable-line prefer-const
+          data = Array.isArray(data) ? data : [data];

Review comment:
       `superset-ui/core` has a convenient util for this: `data = ensureIsArray(data)`: https://github.com/apache-superset/superset-ui/blob/a3ec94f7a72a3dbb6cb6563e7ea7d3582661ea43/packages/superset-ui-core/src/utils/ensureIsArray.ts#L24-L29




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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `5.14%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   70.88%   -5.15%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    41992    -5010     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29767    -5971     
   - Misses      11098    12225    +1127     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.57% <ø> (-0.02%)` | :arrow_down: |
   | presto | `?` | |
   | python | `80.62% <ø> (-0.48%)` | :arrow_down: |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [524 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d3afcc6) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **increase** coverage by `3.24%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   77.43%   80.67%   +3.24%     
   ==========================================
     Files         933      313     -620     
     Lines       47093    25150   -21943     
     Branches     5818        0    -5818     
   ==========================================
   - Hits        36465    20291   -16174     
   + Misses      10485     4859    -5626     
   + Partials      143        0     -143     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `?` | |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `81.03% <0.00%> (-1.73%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.78% <0.00%> (-0.49%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `89.10% <0.00%> (-0.28%)` | :arrow_down: |
   | [...-frontend/src/components/CopyToClipboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvQ29weVRvQ2xpcGJvYXJkL2luZGV4LmpzeA==) | | |
   | [...c/dashboard/components/gridComponents/Markdown.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL2dyaWRDb21wb25lbnRzL01hcmtkb3duLmpzeA==) | | |
   | [...veFilters/FilterBar/FilterControls/FilterValue.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlckNvbnRyb2xzL0ZpbHRlclZhbHVlLnRzeA==) | | |
   | ... and [612 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.27%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.31%   +1.27%     
   ==========================================
     Files         928      928              
     Lines       47002    47046      +44     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36373     +635     
   + Misses      11098    10531     -567     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.97% <ø> (-0.13%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `82.84% <0.00%> (-5.44%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | [...erset-frontend/src/SqlLab/components/ResultSet.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1Jlc3VsdFNldC50c3g=) | `68.64% <0.00%> (-0.30%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `89.10% <0.00%> (-0.28%)` | :arrow_down: |
   | [superset-frontend/src/explore/exploreUtils.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvZXhwbG9yZVV0aWxzLmpz) | `69.81% <0.00%> (+0.62%)` | :arrow_up: |
   | ... and [88 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d72c86e) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **decrease** coverage by `4.19%`.
   > The diff coverage is `77.03%`.
   
   > :exclamation: Current head d72c86e differs from pull request most recent head d3afcc6. Consider uploading reports for the commit d3afcc6 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   77.43%   73.24%   -4.20%     
   ==========================================
     Files         933      620     -313     
     Lines       47093    21985   -25108     
     Branches     5818     5731      -87     
   ==========================================
   - Hits        36465    16102   -20363     
   + Misses      10485     5741    -4744     
   + Partials      143      142       -1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.40% <19.04%> (-0.10%)` | :arrow_down: |
   | hive | `?` | |
   | javascript | `63.44% <77.03%> (+0.04%)` | :arrow_up: |
   | mysql | `?` | |
   | postgres | `?` | |
   | presto | `?` | |
   | python | `?` | |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+0.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.69%> (-9.32%)` | :arrow_down: |
   | [superset/utils/cache.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdXRpbHMvY2FjaGUucHk=) | | |
   | [superset/commands/importers/v1/\_\_init\_\_.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29tbWFuZHMvaW1wb3J0ZXJzL3YxL19faW5pdF9fLnB5) | | |
   | [superset/reports/notifications/exceptions.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvcmVwb3J0cy9ub3RpZmljYXRpb25zL2V4Y2VwdGlvbnMucHk=) | | |
   | [superset/databases/decorators.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGF0YWJhc2VzL2RlY29yYXRvcnMucHk=) | | |
   | [superset/translations/utils.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdHJhbnNsYXRpb25zL3V0aWxzLnB5) | | |
   | ... and [309 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `4.93%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   71.10%   -4.94%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29878    -5860     
   - Misses      11098    12142    +1044     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `80.24% <ø> (-0.02%)` | :arrow_down: |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.97% <ø> (-0.13%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [510 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d63cdec) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `2.91%`.
   > The diff coverage is `78.00%`.
   
   > :exclamation: Current head d63cdec differs from pull request most recent head d54831c. Consider uploading reports for the commit d54831c to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   73.12%   -2.92%     
   ==========================================
     Files         928      615     -313     
     Lines       47002    21908   -25094     
     Branches     5724     5727       +3     
   ==========================================
   - Hits        35738    16020   -19718     
   + Misses      11098     5746    -5352     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.33% <16.90%> (+4.09%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `63.19% <78.00%> (+0.06%)` | :arrow_up: |
   | mysql | `?` | |
   | postgres | `?` | |
   | presto | `?` | |
   | python | `?` | |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [...dashboard/components/FiltersBadge/DetailsPanel.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL0ZpbHRlcnNCYWRnZS9EZXRhaWxzUGFuZWwudHN4) | `67.30% <0.00%> (+11.75%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [.../src/dashboard/util/getFilterScopeFromNodesTree.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEZpbHRlclNjb3BlRnJvbU5vZGVzVHJlZS5qcw==) | `93.33% <93.33%> (-0.15%)` | :arrow_down: |
   | [...erset-frontend/src/SqlLab/components/ResultSet.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1Jlc3VsdFNldC50c3g=) | `68.64% <0.00%> (-0.30%)` | :arrow_down: |
   | [superset/db\_engine\_specs/sqlite.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3NxbGl0ZS5weQ==) | | |
   | [superset/datasets/commands/create.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGF0YXNldHMvY29tbWFuZHMvY3JlYXRlLnB5) | | |
   | ... and [399 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] commented on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `5.18%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   70.84%   -5.19%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    41992    -5010     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29751    -5987     
   - Misses      11098    12241    +1143     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `?` | |
   | presto | `?` | |
   | python | `80.56% <ø> (-0.55%)` | :arrow_down: |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [527 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.11%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.15%   +1.11%     
   ==========================================
     Files         928      928              
     Lines       47002    47046      +44     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36298     +560     
   + Misses      11098    10606     -492     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `81.03% <0.00%> (-1.73%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | ... and [92 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] robdiciuccio commented on a change in pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
robdiciuccio commented on a change in pull request #13696:
URL: https://github.com/apache/superset/pull/13696#discussion_r598982188



##########
File path: superset-frontend/package.json
##########
@@ -275,10 +275,12 @@
     "jest": "^26.6.3",
     "jest-environment-enzyme": "^7.1.2",
     "jest-enzyme": "^7.1.2",
+    "jest-websocket-mock": "^2.2.0",
     "jsdom": "^16.4.0",
     "less": "^3.12.2",
     "less-loader": "^5.0.0",
     "mini-css-extract-plugin": "^0.4.0",
+    "mock-socket": "^9.0.3",

Review comment:
       Apparently [it's a peer dependency](https://www.npmjs.com/package/jest-websocket-mock#install) of `jest-websocket-mock`.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
villebro commented on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-803275259


   Awesome @robdiciuccio! Testing/reviewing this weekend. Quick observation: you need to upgrade to `npm@7`, as the lock file will otherwise be downgraded from version 2 to 1.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.11%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.15%   +1.11%     
   ==========================================
     Files         928      928              
     Lines       47002    47046      +44     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36298     +560     
   + Misses      11098    10606     -492     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `81.03% <0.00%> (-1.73%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | ... and [92 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d3afcc6) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **decrease** coverage by `0.05%`.
   > The diff coverage is `77.03%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   77.43%   77.37%   -0.06%     
   ==========================================
     Files         933      933              
     Lines       47093    47135      +42     
     Branches     5818     5824       +6     
   ==========================================
   + Hits        36465    36470       +5     
   - Misses      10485    10523      +38     
   + Partials      143      142       -1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.43% <19.04%> (-0.07%)` | :arrow_down: |
   | hive | `80.24% <ø> (-0.02%)` | :arrow_down: |
   | javascript | `63.44% <77.03%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.97% <ø> (-0.13%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+0.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.69%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `82.84% <0.00%> (-5.44%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `89.10% <0.00%> (-0.28%)` | :arrow_down: |
   | [...et-frontend/src/messageToasts/components/Toast.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvY29tcG9uZW50cy9Ub2FzdC50c3g=) | `95.12% <0.00%> (+2.43%)` | :arrow_up: |
   | [...perset-frontend/src/messageToasts/actions/index.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvYWN0aW9ucy9pbmRleC50cw==) | `96.15% <0.00%> (+7.69%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d63cdec) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **decrease** coverage by `4.30%`.
   > The diff coverage is `76.86%`.
   
   > :exclamation: Current head d63cdec differs from pull request most recent head d3afcc6. Consider uploading reports for the commit d3afcc6 to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   77.43%   73.12%   -4.31%     
   ==========================================
     Files         933      615     -318     
     Lines       47093    21908   -25185     
     Branches     5818     5727      -91     
   ==========================================
   - Hits        36465    16020   -20445     
   + Misses      10485     5746    -4739     
   + Partials      143      142       -1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.33% <19.04%> (-0.18%)` | :arrow_down: |
   | hive | `?` | |
   | javascript | `63.19% <76.86%> (-0.21%)` | :arrow_down: |
   | mysql | `?` | |
   | postgres | `?` | |
   | presto | `?` | |
   | python | `?` | |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+0.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [...hboard/components/nativeFilters/FilterBar/state.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL3N0YXRlLnRz) | `85.71% <0.00%> (-14.29%)` | :arrow_down: |
   | [...nd/src/dashboard/util/findTabIndexByComponentId.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2ZpbmRUYWJJbmRleEJ5Q29tcG9uZW50SWQuanM=) | `92.85% <0.00%> (-7.15%)` | :arrow_down: |
   | [superset-frontend/src/dataMask/actions.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2RhdGFNYXNrL2FjdGlvbnMudHM=) | `75.00% <0.00%> (-5.00%)` | :arrow_down: |
   | [...d/components/nativeFilters/FilterBar/FilterBar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb21wb25lbnRzL25hdGl2ZUZpbHRlcnMvRmlsdGVyQmFyL0ZpbHRlckJhci50c3g=) | `92.42% <0.00%> (-1.17%)` | :arrow_down: |
   | [...nd/src/dashboard/containers/DashboardComponent.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9jb250YWluZXJzL0Rhc2hib2FyZENvbXBvbmVudC5qc3g=) | `100.00% <0.00%> (ø)` | |
   | ... and [332 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d3afcc6) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **decrease** coverage by `0.05%`.
   > The diff coverage is `77.03%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   77.43%   77.37%   -0.06%     
   ==========================================
     Files         933      933              
     Lines       47093    47135      +42     
     Branches     5818     5824       +6     
   ==========================================
   + Hits        36465    36470       +5     
   - Misses      10485    10523      +38     
   + Partials      143      142       -1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.43% <19.04%> (-0.07%)` | :arrow_down: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `63.44% <77.03%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.97% <ø> (-0.13%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+0.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.69%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `82.84% <0.00%> (-5.44%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `89.10% <0.00%> (-0.28%)` | :arrow_down: |
   | [...et-frontend/src/messageToasts/components/Toast.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvY29tcG9uZW50cy9Ub2FzdC50c3g=) | `95.12% <0.00%> (+2.43%)` | :arrow_up: |
   | [...perset-frontend/src/messageToasts/actions/index.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvYWN0aW9ucy9pbmRleC50cw==) | `96.15% <0.00%> (+7.69%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.07%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.10%   +1.07%     
   ==========================================
     Files         928      928              
     Lines       47002    47018      +16     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36255     +517     
   + Misses      11098    10621     -477     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `?` | |
   | presto | `?` | |
   | python | `80.59% <ø> (-0.51%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/sql\_validators/postgres.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvc3FsX3ZhbGlkYXRvcnMvcG9zdGdyZXMucHk=) | `50.00% <0.00%> (-50.00%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/postgres.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bvc3RncmVzLnB5) | `89.53% <0.00%> (-6.98%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | ... and [102 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.34%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.38%   +1.34%     
   ==========================================
     Files         928      928              
     Lines       47002    47046      +44     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36405     +667     
   + Misses      11098    10499     -599     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `80.25% <ø> (ø)` | |
   | python | `81.10% <ø> (ø)` | |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [...erset-frontend/src/SqlLab/components/ResultSet.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL1Jlc3VsdFNldC50c3g=) | `68.64% <0.00%> (-0.30%)` | :arrow_down: |
   | [superset-frontend/src/explore/exploreUtils.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvZXhwbG9yZVV0aWxzLmpz) | `69.81% <0.00%> (+0.62%)` | :arrow_up: |
   | [superset-frontend/src/components/ListView/utils.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvTGlzdFZpZXcvdXRpbHMudHM=) | `85.95% <0.00%> (+0.82%)` | :arrow_up: |
   | [...rontend/src/SqlLab/components/AceEditorWrapper.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL1NxbExhYi9jb21wb25lbnRzL0FjZUVkaXRvcldyYXBwZXIudHN4) | `61.25% <0.00%> (+1.25%)` | :arrow_up: |
   | [superset-frontend/src/components/Select/styles.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvU2VsZWN0L3N0eWxlcy50c3g=) | `86.30% <0.00%> (+1.36%)` | :arrow_up: |
   | ... and [85 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (7e5d039) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `7.37%`.
   > The diff coverage is `26.08%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   68.65%   -7.38%     
   ==========================================
     Files         928      840      -88     
     Lines       47002    41940    -5062     
     Branches     5724     4361    -1363     
   ==========================================
   - Hits        35738    28796    -6942     
   - Misses      11098    13144    +2046     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `50.65% <26.08%> (-1.59%)` | :arrow_down: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `18.18% <18.18%> (-69.16%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `64.17% <40.00%> (-6.83%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [520 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...7e5d039](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d54831c) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `1.05%`.
   > The diff coverage is `76.86%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   77.08%   +1.05%     
   ==========================================
     Files         928      928              
     Lines       47002    47018      +16     
     Branches     5724     5814      +90     
   ==========================================
   + Hits        35738    36246     +508     
   + Misses      11098    10630     -468     
   + Partials      166      142      -24     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <19.04%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `63.17% <76.86%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `?` | |
   | presto | `?` | |
   | python | `80.56% <ø> (-0.55%)` | :arrow_down: |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+7.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.51%> (-9.32%)` | :arrow_down: |
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/sql\_validators/postgres.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvc3FsX3ZhbGlkYXRvcnMvcG9zdGdyZXMucHk=) | `50.00% <0.00%> (-50.00%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/postgres.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3Bvc3RncmVzLnB5) | `89.53% <0.00%> (-6.98%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | ... and [105 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (96bb118) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `5.13%`.
   > The diff coverage is `27.53%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   70.90%   -5.14%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29794    -5944     
   - Misses      11098    12226    +1128     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.38% <27.53%> (+4.14%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.64% <ø> (-0.47%)` | :arrow_down: |
   | sqlite | `?` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `19.83% <19.83%> (-67.51%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [517 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...96bb118](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (d3afcc6) into [master](https://codecov.io/gh/apache/superset/commit/aa92c1e7eb42eaec1a5269d44b35f538994422b2?el=desc) (aa92c1e) will **increase** coverage by `0.00%`.
   > The diff coverage is `77.03%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@           Coverage Diff           @@
   ##           master   #13696   +/-   ##
   =======================================
     Coverage   77.43%   77.44%           
   =======================================
     Files         933      933           
     Lines       47093    47135   +42     
     Branches     5818     5824    +6     
   =======================================
   + Hits        36465    36502   +37     
   - Misses      10485    10491    +6     
   + Partials      143      142    -1     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.43% <19.04%> (-0.07%)` | :arrow_down: |
   | hive | `80.25% <ø> (ø)` | |
   | javascript | `63.44% <77.03%> (+0.04%)` | :arrow_up: |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `80.25% <ø> (ø)` | |
   | python | `81.10% <ø> (ø)` | |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `66.19% <ø> (+1.81%)` | :arrow_up: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <ø> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `78.60% <60.00%> (+0.60%)` | :arrow_up: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `78.03% <77.69%> (-9.32%)` | :arrow_down: |
   | [...et-frontend/src/messageToasts/components/Toast.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvY29tcG9uZW50cy9Ub2FzdC50c3g=) | `95.12% <0.00%> (+2.43%)` | :arrow_up: |
   | [...perset-frontend/src/messageToasts/actions/index.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvYWN0aW9ucy9pbmRleC50cw==) | `96.15% <0.00%> (+7.69%)` | :arrow_up: |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [aa92c1e...d3afcc6](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] rusackas commented on a change in pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
rusackas commented on a change in pull request #13696:
URL: https://github.com/apache/superset/pull/13696#discussion_r598849635



##########
File path: superset-frontend/package.json
##########
@@ -275,10 +275,12 @@
     "jest": "^26.6.3",
     "jest-environment-enzyme": "^7.1.2",
     "jest-enzyme": "^7.1.2",
+    "jest-websocket-mock": "^2.2.0",
     "jsdom": "^16.4.0",
     "less": "^3.12.2",
     "less-loader": "^5.0.0",
     "mini-css-extract-plugin": "^0.4.0",
+    "mock-socket": "^9.0.3",

Review comment:
       Is this used anywhere?




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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (7e5d039) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `5.11%`.
   > The diff coverage is `26.08%`.
   
   > :exclamation: Current head 7e5d039 differs from pull request most recent head d54831c. Consider uploading reports for the commit d54831c to get more accurate results
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   70.91%   -5.12%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29800    -5938     
   - Misses      11098    12220    +1122     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <26.08%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `18.18% <18.18%> (-69.16%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [514 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...d54831c](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (7e5d039) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **decrease** coverage by `5.11%`.
   > The diff coverage is `26.08%`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   - Coverage   76.03%   70.91%   -5.12%     
   ==========================================
     Files         928      843      -85     
     Lines       47002    42020    -4982     
     Branches     5724     4396    -1328     
   ==========================================
   - Hits        35738    29800    -5938     
   - Misses      11098    12220    +1122     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `56.36% <26.08%> (+4.12%)` | :arrow_up: |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset-frontend/src/chart/chartReducer.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0UmVkdWNlci50cw==) | `56.92% <ø> (-7.47%)` | :arrow_down: |
   | [superset-frontend/src/middleware/asyncEvent.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21pZGRsZXdhcmUvYXN5bmNFdmVudC50cw==) | `18.18% <18.18%> (-69.16%)` | :arrow_down: |
   | [superset-frontend/src/chart/chartAction.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NoYXJ0L2NoYXJ0QWN0aW9uLmpz) | `70.64% <40.00%> (-0.36%)` | :arrow_down: |
   | [superset-frontend/src/dashboard/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC9pbmRleC5qc3g=) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [superset-frontend/src/explore/index.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2V4cGxvcmUvaW5kZXguanN4) | `100.00% <100.00%> (+36.36%)` | :arrow_up: |
   | [...uperset-frontend/src/dashboard/util/dnd-reorder.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2RuZC1yZW9yZGVyLmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...rset-frontend/src/dashboard/util/getEmptyLayout.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2Rhc2hib2FyZC91dGlsL2dldEVtcHR5TGF5b3V0Lmpz) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...et-frontend/src/components/Pagination/Ellipsis.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvUGFnaW5hdGlvbi9FbGxpcHNpcy50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...-frontend/src/components/OmniContainer/Omnibar.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvT21uaUNvbnRhaW5lci9PbW5pYmFyLnRzeA==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | [...frontend/src/components/ErrorMessage/IssueCode.tsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRXJyb3JNZXNzYWdlL0lzc3VlQ29kZS50c3g=) | `0.00% <0.00%> (-100.00%)` | :arrow_down: |
   | ... and [514 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...7e5d039](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] codecov[bot] edited a comment on pull request #13696: feat: Refactor asyncEvent middleware and add websocket support

Posted by GitBox <gi...@apache.org>.
codecov[bot] edited a comment on pull request #13696:
URL: https://github.com/apache/superset/pull/13696#issuecomment-802520668


   # [Codecov](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=h1) Report
   > Merging [#13696](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=desc) (7e5d039) into [master](https://codecov.io/gh/apache/superset/commit/375ded92ef43e8c4735a4d9e2e094c67258f3f60?el=desc) (375ded9) will **increase** coverage by `4.64%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree graph](https://codecov.io/gh/apache/superset/pull/13696/graphs/tree.svg?width=650&height=150&src=pr&token=KsB0fHcx6l)](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree)
   
   ```diff
   @@            Coverage Diff             @@
   ##           master   #13696      +/-   ##
   ==========================================
   + Coverage   76.03%   80.67%   +4.64%     
   ==========================================
     Files         928      313     -615     
     Lines       47002    25150   -21852     
     Branches     5724        0    -5724     
   ==========================================
   - Hits        35738    20291   -15447     
   + Misses      11098     4859    -6239     
   + Partials      166        0     -166     
   ```
   
   | Flag | Coverage Δ | |
   |---|---|---|
   | cypress | `?` | |
   | hive | `?` | |
   | javascript | `?` | |
   | mysql | `80.56% <ø> (ø)` | |
   | postgres | `80.59% <ø> (ø)` | |
   | presto | `?` | |
   | python | `80.67% <ø> (-0.43%)` | :arrow_down: |
   | sqlite | `80.15% <ø> (ø)` | |
   
   Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.
   
   | [Impacted Files](https://codecov.io/gh/apache/superset/pull/13696?src=pr&el=tree) | Coverage Δ | |
   |---|---|---|
   | [superset/db\_engines/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lcy9oaXZlLnB5) | `0.00% <0.00%> (-85.72%)` | :arrow_down: |
   | [superset/db\_engine\_specs/hive.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2hpdmUucHk=) | `74.23% <0.00%> (-16.54%)` | :arrow_down: |
   | [superset/db\_engine\_specs/presto.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL3ByZXN0by5weQ==) | `81.79% <0.00%> (-6.49%)` | :arrow_down: |
   | [superset/views/database/mixins.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvdmlld3MvZGF0YWJhc2UvbWl4aW5zLnB5) | `81.03% <0.00%> (-1.73%)` | :arrow_down: |
   | [superset/connectors/sqla/models.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvY29ubmVjdG9ycy9zcWxhL21vZGVscy5weQ==) | `89.87% <0.00%> (-0.61%)` | :arrow_down: |
   | [superset/db\_engine\_specs/base.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvZGJfZW5naW5lX3NwZWNzL2Jhc2UucHk=) | `85.78% <0.00%> (-0.49%)` | :arrow_down: |
   | [superset/models/core.py](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQvbW9kZWxzL2NvcmUucHk=) | `89.10% <0.00%> (-0.28%)` | :arrow_down: |
   | [...rc/common/hooks/useChangeEffect/useChangeEffect.ts](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL2NvbW1vbi9ob29rcy91c2VDaGFuZ2VFZmZlY3QvdXNlQ2hhbmdlRWZmZWN0LnRz) | | |
   | [superset-frontend/src/CRUD/Field.jsx](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL0NSVUQvRmllbGQuanN4) | | |
   | [...erset-frontend/src/messageToasts/reducers/index.js](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL21lc3NhZ2VUb2FzdHMvcmVkdWNlcnMvaW5kZXguanM=) | | |
   | ... and [607 more](https://codecov.io/gh/apache/superset/pull/13696/diff?src=pr&el=tree-more) | |
   
   ------
   
   [Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/13696?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/superset/pull/13696?src=pr&el=footer). Last update [375ded9...7e5d039](https://codecov.io/gh/apache/superset/pull/13696?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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org