-
Notifications
You must be signed in to change notification settings - Fork 73
Delete failed Plugin/VMs via fail callbacks. #181
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
Conversation
Signed-off-by: Takeshi Yoneda <[email protected]>
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.
Would it be possible to add some basic tests for this behavior to verify that:
- Failed VMs and Plugins are not reused.
- VMs and Plugins can be restarted using the same keys.
I think this works fine right now, so those tests are primarly about protecting us against future regressions.
9cded75
to
d04a12b
Compare
OK added test! |
Signed-off-by: Takeshi Yoneda <[email protected]>
459799f
to
dce6347
Compare
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
Signed-off-by: Takeshi Yoneda <[email protected]>
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, but did you see envoyproxy/envoy#17386 (comment)? Would it be possible to add PluginHandleManager
here? It could be in a separate PR.
sorry, I am thinking I will do that in a separate PR since this PR itself is a little bit large, plus this requires no code change in Envoy. Thanks! |
You might consider waiting with merging this until the next PR is ready to minimize the window when we cannot update Envoy. |
well I think this PR requires no change in Envoy so this won't block anyone even after I merge this right now. |
Towards envoyproxy/envoy#16726
Signed-off-by: Takeshi Yoneda [email protected]