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(Canvas): Duplicated edge IDs #1898

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Jan 8, 2025

Context

Currently, edge IDs are not scoped to the owner flow, causing to be duplicated in case two flows use the same step combination.

Changes

The fix is to scope the edge ID as well, so we avoid duplication.

Before After
image image

fix: #1897

@lordrip lordrip force-pushed the fix/duplicated-edge-id branch 2 times, most recently from 2e07ed0 to 34c020c Compare January 8, 2025 13:51
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.48%. Comparing base (8ce024a) to head (4f65d05).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##               main    #1898    +/-   ##
==========================================
  Coverage     78.48%   78.48%            
  Complexity      367      367            
==========================================
  Files           468      468            
  Lines         14777    14778     +1     
  Branches       2831     2746    -85     
==========================================
+ Hits          11598    11599     +1     
- Misses         2906     3091   +185     
+ Partials        273       88   -185     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@apupier apupier left a comment

Choose a reason for hiding this comment

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

functionally working

I think the UI tests in VS Code kaoto will need to be adapted when merged in main branch

Currently, edge IDs are not scoped to the owner flow, causing to be
duplicated in case two flows use the same step combination.

The fix is to scope the edge ID as well, so we avoid the duplication.

fix: KaotoIO#1897
@lordrip lordrip force-pushed the fix/duplicated-edge-id branch from 34c020c to 4f65d05 Compare January 8, 2025 14:20
@lordrip lordrip marked this pull request as ready for review January 8, 2025 14:20
Copy link

sonarqubecloud bot commented Jan 8, 2025

@lordrip lordrip merged commit d3299a6 into KaotoIO:main Jan 8, 2025
14 checks passed
@lordrip lordrip deleted the fix/duplicated-edge-id branch January 8, 2025 14:45
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.

Duplicated edge ID when using same step combination
3 participants