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

fix: dynamic-node-tasks #765

Merged
merged 9 commits into from
May 24, 2023
Merged

fix: dynamic-node-tasks #765

merged 9 commits into from
May 24, 2023

Conversation

4nalog
Copy link
Member

@4nalog 4nalog commented May 19, 2023

This PR fixes a bug when viewing children of dynamic task where the various information like the task type/template was not correctly being shown.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

The issue was caused by incorrectly referencing task definitions from the (root) compiledWorkflowClosure rather than dynamic execution's workflowClosure. The result was that row values like task type as well as information in the execution detail panel (slide-out) were null and showing empty values.

fixes #3455

Follow-up issue

NA

@codecov
Copy link

codecov bot commented May 19, 2023

Codecov Report

Merging #765 (d2166db) into master (b15640a) will decrease coverage by 0.07%.
The diff coverage is 5.88%.

@@            Coverage Diff             @@
##           master     #765      +/-   ##
==========================================
- Coverage   65.98%   65.92%   -0.07%     
==========================================
  Files         490      490              
  Lines       11963    11976      +13     
  Branches     2210     2219       +9     
==========================================
+ Hits         7894     7895       +1     
- Misses       4069     4081      +12     
Impacted Files Coverage Δ
...ionDetails/NodeExecutionDetailsContextProvider.tsx 70.27% <0.00%> (-1.96%) ⬇️
...ponents/WorkflowGraph/transformerWorkflowToDag.tsx 48.42% <0.00%> (-0.94%) ⬇️
...er/NodeExecutionDetails/getTaskThroughExecution.ts 23.80% <9.09%> (-6.96%) ⬇️

@ursucarina ursucarina requested review from a team, ursucarina, jsonporter and james-union and removed request for a team May 22, 2023 23:25
@4nalog 4nalog marked this pull request as ready for review May 23, 2023 16:36
@4nalog
Copy link
Member Author

4nalog commented May 23, 2023

This is working well:

Verified with the workflow:
https://localhost.development.uniondemo.run:3000/console/projects/flytesnacks/domains/development/executions/admspfjxlzcl6q55hcfc?duration=all

All fields are populated correctly from the task type and the descriptions are also correct for the task template on the slideout

4nalog and others added 2 commits May 23, 2023 12:38
Signed-off-by: Soham <[email protected]>
Signed-off-by: Carina Ursu <[email protected]>
ursucarina
ursucarina previously approved these changes May 23, 2023
@jsonporter jsonporter merged commit 39c252d into master May 24, 2023
@jsonporter jsonporter deleted the fix/dynamic-node-tasks branch May 24, 2023 16:53
@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 1.8.3 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] FlyteConsole: execution detail panel task template dynamic executions
4 participants