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(378): ensure that undefined executions ids won't get into graph #388

Merged
merged 2 commits into from
Apr 14, 2022

Conversation

anrusina
Copy link
Contributor

Current fix removed request for undefined executionIds, which usually happens with branch nodes.
It allows us to avoid unneeded crash. Further work is needed for proper support of Branch nodes.

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

Tracking Issue

fixes https://github.com/flyteorg/flyteconsole/issues/378

Follow-up issue

This fix currently removes the crash, however it doesn't fix the branch node representation, which is still a bit off. A separate task was created to cover that work:
https://github.com/flyteorg/flyteconsole/issues/377
TODO with task number was added to the code to ensure, that fix would be fully tested

Signed-off-by: Nastya Rusina [email protected]

@anrusina anrusina requested review from a team, ursucarina, jsonporter and olga-union and removed request for a team April 14, 2022 17:50
@codecov
Copy link

codecov bot commented Apr 14, 2022

Codecov Report

Merging #388 (e284332) into master (a8c0ab8) will decrease coverage by 0.01%.
The diff coverage is 9.09%.

@@            Coverage Diff             @@
##           master     #388      +/-   ##
==========================================
- Coverage   66.45%   66.43%   -0.02%     
==========================================
  Files         405      405              
  Lines        9059     9063       +4     
  Branches     1599     1600       +1     
==========================================
+ Hits         6020     6021       +1     
- Misses       3039     3042       +3     
Impacted Files Coverage Δ
src/components/WorkflowGraph/WorkflowGraph.tsx 0.00% <0.00%> (ø)
src/components/Workflow/workflowQueries.ts 40.00% <11.11%> (-2.31%) ⬇️

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 e684e58...e284332. Read the comment docs.

Signed-off-by: Nastya Rusina <[email protected]>
Copy link
Contributor

@olga-union olga-union left a comment

Choose a reason for hiding this comment

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

LGTM!

@flyte-bot
Copy link
Collaborator

🎉 This PR is included in version 0.52.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Graph] Some graphs are not rendering due to Cannot read properties of undefined (reading 'id')
3 participants