ensure actions don't break the graph in modules with no instances#38089
ensure actions don't break the graph in modules with no instances#38089DanielMSchmidt merged 2 commits intomainfrom
Conversation
84a4765 to
8180837
Compare
8180837 to
500a822
Compare
dbanck
left a comment
There was a problem hiding this comment.
Nice!
One question (not intended for this PR): I see that most of the other node expansion logic uses the forEachModuleInstance helper. Would that make sense in the actions context as well?
|
@dbanck Yeah I think that could make sense, I believe I just copied, I mean was inspired by parts of the code base that didn't use the helper yet. Normally I would be in favor of making that small adjustment but @mildwonkey is currently working on rewriting part of the actions scheduling logic and I don't want refactoring changes to make their life harder so maybe it's sth to keep in mind for after that effort concludes 👍 |
|
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Before we only added the root graph node on each module iteration, but we want the root node to always be present in the sub-graph so we moved this call to just before the return statement.
Fixes #38088
Target Release
1.15.x
Rollback Plan
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
CHANGELOG entry