-
Notifications
You must be signed in to change notification settings - Fork 10.2k
actions: connect resource instance nodes to after actions #37936
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
actions: connect resource instance nodes to after actions #37936
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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