[eno][part2] Adding composition creation order for creation/update#585
Conversation
ruinan-liu
left a comment
There was a problem hiding this comment.
replied to comments
Code reviewFound 3 issues:
eno/internal/controllers/scheduling/controller.go Lines 174 to 191 in 4a465d4
eno/internal/controllers/scheduling/controller.go Lines 195 to 202 in 4a465d4
eno/internal/controllers/symphony/controller.go Lines 257 to 270 in 4a465d4 |
|
Addendum to code review — one more issue:
eno/internal/toposort/toposort.go Lines 20 to 25 in 4a465d4 Fix: Before incrementing in-degree for a dep key, check if it exists in the item set. If not, track it separately as "unresolved" rather than letting it fall into the cyclic bucket. |
|
Respond to comments:
|
ruinan-liu
left a comment
There was a problem hiding this comment.
Responded to comments
ruinan-liu
left a comment
There was a problem hiding this comment.
Thanks, replied to comments
ruinan-liu
left a comment
There was a problem hiding this comment.
REplied to comments
Adding controller logic for using DependsOn on creation flow.