Skip to content

fix(flow): refactor flow naming to remove interfering with mgm processing order - #5095

Draft
Y4nnikH wants to merge 4 commits into
CactuseSecurity:developfrom
Y4nnikH:feat/improve-flow-sync
Draft

fix(flow): refactor flow naming to remove interfering with mgm processing order#5095
Y4nnikH wants to merge 4 commits into
CactuseSecurity:developfrom
Y4nnikH:feat/improve-flow-sync

Conversation

@Y4nnikH

@Y4nnikH Y4nnikH commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

To preserve the naming hierarchy for new flow objects, we currently order the to-be-synced managements accordingly during processing, so names get assigned on first come first serve basis. But we need e.g. sub managements to be synced after their super management, for flow objects derived from global objects to be available. This may not be compatible.
So instead, we now add new flow objects without name during management processing and then assign the names with a final call to a naming function, after all managements have been synced.
This also allows a refactoring of some flow naming logic in the ui to use the same function.

Need to test if this affects performance or existing functionality.

@Y4nnikH Y4nnikH self-assigned this Aug 10, 2026
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant