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: Expose caching status for NodeExecutions #91

Merged
merged 6 commits into from
Aug 31, 2020

Conversation

schottra
Copy link
Contributor

flyteorg/flyte#21

This change builds on the recent work to expose caching information about TaskNode executions. If taskNodeMetadata is found, we will render icons in the NodeExecutionsTable and icons+text in the DetailsPanel.
Note: For CACHE_MISS and CACHE_DISABLED, we will skip the icons in the table. The majority of node executions will probably be one of these two values, and I didn't want to clutter up the view with meaningless icons.


Details Panel for execution which used a cached value

image


Details Panel for execution whose result was written to cache

image

Details Panel for execution with cache disabled

image


Icons in the table

image

@codecov-commenter
Copy link

Codecov Report

Merging #91 into master will increase coverage by 0.53%.
The diff coverage is 91.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #91      +/-   ##
==========================================
+ Coverage   66.16%   66.70%   +0.53%     
==========================================
  Files         368      370       +2     
  Lines        5894     5962      +68     
  Branches      910      930      +20     
==========================================
+ Hits         3900     3977      +77     
+ Misses       1994     1985       -9     
Impacted Files Coverage Δ
src/components/Executions/Tables/constants.ts 100.00% <ø> (ø)
src/components/Executions/Tables/styles.ts 100.00% <ø> (ø)
src/components/common/styles.ts 100.00% <ø> (ø)
src/models/Common/constants.ts 90.90% <ø> (ø)
...components/Executions/NodeExecutionCacheStatus.tsx 89.36% <89.36%> (ø)
...ponents/Executions/Tables/nodeExecutionColumns.tsx 91.48% <90.90%> (+2.30%) ⬆️
...ecutions/ExecutionDetails/NodeExecutionDetails.tsx 84.12% <100.00%> (+0.25%) ⬆️
src/components/Executions/constants.ts 100.00% <100.00%> (ø)
src/components/common/PublishedWithChanges.tsx 100.00% <100.00%> (ø)
src/test/modelUtils.ts 100.00% <100.00%> (ø)
... and 8 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 d1517d4...2c4a879. Read the comment docs.

@kumare3 kumare3 self-requested a review August 31, 2020 17:26
Copy link
Contributor

@kumare3 kumare3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it - worked great for me!

@service-github-lyft-semantic-release
Copy link
Contributor

🎉 This PR is included in version 0.10.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
Development

Successfully merging this pull request may close these issues.

5 participants