-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pause debug pod watchers before next iteration deploy #5932
Pause debug pod watchers before next iteration deploy #5932
Conversation
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
2042917
to
4cb40a9
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I fixed it |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
Codecov Report
@@ Coverage Diff @@
## master #5932 +/- ##
==========================================
- Coverage 70.67% 70.65% -0.03%
==========================================
Files 454 454
Lines 17395 17399 +4
==========================================
- Hits 12294 12293 -1
- Misses 4195 4197 +2
- Partials 906 909 +3
Continue to review full report at Codecov.
|
You need to drop a7ce90d — sorry, it was a test :-( |
4cb40a9
to
dc24c78
Compare
No worries. |
I think one consequence of this change is that all debug sessions will be torn down and need to be re-established. I’m not sure CC-IJ does this at the moment — @etanshaul? Maybe we need these managers to have a |
IntelliJ has no iterative debugging at the moment (unless the user goes out of their way to turn on watching via env vars - but this isn't yet an officially supported path). |
And CC-IJ doesn't reconnect on a dropped connection. |
Fixes #5914
See #5914 (comment) for more details on why we need to stop the debug manager between deploys.
Changes in this PR
PortforwardManager
andDebugManager
withStart
andStop
methods.Stop
for DebugManager similar to what we do forPortforwardManager
.close
fromDebugManager.Stop
since the doc mentionclose
should only be called by sender. Changed theDebugManager.Stop
to stop the pod watchers.Verified locally, we don't see an
DebugContainerEvent
in StatusCheck phase.