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
fix(executor/pns): remove sleep before sigkill #2995
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
While we're here - there's another kind-of-bug with images that start more than one process in the entrypoint. The CMD is: Which causes this in the executor:
The container PID for
Which causes |
Another option that seems fine is this:
By only tracking the first |
It seems that the wait is in place to allow enough time for the I'll confirm this with @jessesuen today since he wrote the code, but if true we can just check if there are any outputs before running the sleep statement. |
You can open a separate PR for the PID issue, we'll review that independently. |
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.
Spoke to @jessesuen and he confirmed that this was debug code that was never removed. Thanks for this great catch!
Bug in PNS executor when sidecars need to be
SIGKILL
'd (likely a missed line).