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: mark memoized node as cached #13883

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MenD32
Copy link

@MenD32 MenD32 commented Nov 8, 2024

Fixes #13848

Motivation

when using memoization, its much easier to debug workflows when you can see that nodes have been cached. currently in large workflows you'd have to go over all the nodes one by one to understand if they are cached, or you could go to the timeline tab.
both of those options offer a bad user experience, that becomes worse as the workflows get larger.

Modifications

changed the icon of successful cached nodes to a database icon (from font awesome) to mark them as cached.

Verification

tested in the UI that it works using the examples/memoized-simple.yaml example

screenshots:

first workflow (no cache hit)
Screenshot 2024-11-08 at 14 53 33

second workflow (cache hit)
Screenshot 2024-11-08 at 14 53 50

@MenD32 MenD32 force-pushed the feat/mark-memoized-node-as-cached branch from 0560b4e to fd44dd5 Compare November 8, 2024 16:19
@MenD32 MenD32 marked this pull request as ready for review November 8, 2024 16:25
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.

Mark memoized node as cached
1 participant