actions: connect resource instance nodes to after actions#37936
actions: connect resource instance nodes to after actions#37936DanielMSchmidt merged 3 commits intomainfrom
Conversation
9b7bfe4 to
f0abdc3
Compare
f0abdc3 to
1784fb8
Compare
| CreateNodesAsAfter bool | ||
| ConcreteActionTriggerNodeFunc ConcreteActionTriggerNodeFunc | ||
| CreateNodesAsAfter bool | ||
| ConnectToResourceInstanceNodes bool // if false it connects to resource nodes instead of resource instance nodes |
There was a problem hiding this comment.
Normally if something connects to a resource, it can connect to both the expand node and the instance nodes, and there is no need to differentiate between the two.
There was a problem hiding this comment.
This isn't a direct request, you don't need to make this change now, but I was curious about this section when I first saw it: Given that these variables only change from default if we're in apply mode(in the graph builder code); are they even necessary in this struct? Can we set these as helper variables directly in the Transformer based on the operation (t.operation)?
There was a problem hiding this comment.
Okay, yeah I can connect both, no problem
|
nice, I see the new edges in the graph (this is the graph just before the pruning transformers run; the "redundant" edges don't show up in the final graph): A bunch of transformers run (rather quietly) after this graph, and we end up with the same graph I posted from the first version 👍🏻 |
mildwonkey
left a comment
There was a problem hiding this comment.
lgtm, and extra thanks for reducing the scope on those variables!
|
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. |


Fixes #37930
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