Skip to content
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

Native Notebooks are creating a new kernel on any execution after moving to a different document #4109

Closed
IanMatthewHuff opened this issue Dec 3, 2020 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@IanMatthewHuff
Copy link
Member

Pretty bad issue right now, especially as I don't think that the old kernel is getting shutdown. It will do this again and again for me when moving to another document.

NewKernel.gif

Have one suspicion that I'm looking into right now.

@IanMatthewHuff IanMatthewHuff added the bug Issue identified by VS Code Team member as probable bug label Dec 3, 2020
@greazer
Copy link
Member

greazer commented Dec 3, 2020

Not able to repro this on shipping extension. May be a regression that was recently caused (but thankfully not shipped)

@DonJayamanne
Copy link
Contributor

I tried, & cannot repro this issue.

@DavidKutu DavidKutu self-assigned this Dec 4, 2020
@DavidKutu
Copy link

I'm also unable to repro this.

@IanMatthewHuff
Copy link
Member Author

@DavidKutu @DonJayamanne I'll take over investigation on this.

@IanMatthewHuff
Copy link
Member Author

Did some more work to pin down at least one repro. Scenario is as follows. Python extension required for this scenario.

  1. Create a new jupyter notebook
  2. Run this notebook with a selected installed kernelspec, not just an interpreter (we need 'startUsingKernelSpec' as our connection type)
  3. Change the active interpreter
  4. Do something to retrigger vscode kernel provider fetching swap to a different document and back
  5. Execute a cell again (it will reconnect to a new kernel instance)

@rchiodo
Copy link
Contributor

rchiodo commented Jan 13, 2021

Validated. Does not create a new kernel after following the steps above.

@rchiodo rchiodo closed this as completed Jan 13, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

5 participants