Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Fetch Node Executions directly if possible #109

Merged
merged 5 commits into from
Oct 20, 2020

Conversation

schottra
Copy link
Contributor

flyteorg/flyte#438

This builds on the work from flyteorg/flyteadmin#111 to directly query NodeExecution children for NodeExecutions which use the new isParent flag. Most of the work was in the useChildNodeExecutions and useExecutionDataCache hooks to use the right logic for building a query for the node_executions endpoint.

@codecov-io
Copy link

codecov-io commented Oct 20, 2020

Codecov Report

Merging #109 into master will increase coverage by 0.67%.
The diff coverage is 97.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   69.37%   70.04%   +0.67%     
==========================================
  Files         383      383              
  Lines        6299     6337      +38     
  Branches      986      997      +11     
==========================================
+ Hits         4370     4439      +69     
+ Misses       1929     1898      -31     
Impacted Files Coverage Δ
.../components/Executions/Tables/NodeExecutionRow.tsx 97.77% <ø> (+6.66%) ⬆️
src/components/Executions/types.ts 100.00% <ø> (ø)
src/models/AdminEntity/types.ts 100.00% <ø> (ø)
.../components/Executions/TaskExecutionsList/utils.ts 92.85% <87.50%> (-7.15%) ⬇️
...onents/Executions/Tables/NodeExecutionChildren.tsx 100.00% <100.00%> (+60.00%) ⬆️
src/components/Executions/Tables/RowExpander.tsx 100.00% <100.00%> (+28.57%) ⬆️
src/components/Executions/Tables/constants.ts 100.00% <100.00%> (ø)
...rc/components/Executions/useChildNodeExecutions.ts 97.61% <100.00%> (+25.20%) ⬆️
src/components/Executions/useExecutionDataCache.ts 87.91% <100.00%> (+9.86%) ⬆️
src/components/Executions/utils.ts 78.18% <100.00%> (+1.48%) ⬆️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5a9240...4ae688e. Read the comment docs.

@schottra schottra changed the title Fetch node executions directly if possible feat: Fetch Node Executions directly if possible Oct 20, 2020
@schottra schottra merged commit c740b83 into master Oct 20, 2020
@schottra schottra deleted the use-new-node-execution-endpoint branch October 20, 2020 18:46
@service-github-lyft-semantic-release
Copy link
Contributor

🎉 This PR is included in version 0.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants