interactive
interactive copied to clipboard
Polyglot Notebook: [DevExE2E][Regression][intermittent]When running the cells one by one, test can't be stopped and always hang in running status.
Describe the bug
When running the cells one by one, test can't be stopped and always hang in running status.
Note: 1. It's a regression issue. We doesn't repro when running these cells on - VSCodeUserSetup-arm64-1.81.1 + dotnet-interactive-vscode-1.0.4454011.vsix + dotnet-sdk-7.0.400-win-x64. 2. It's a intermittent issue.
Detailed Repro Build info: VSCodeSetup-x64-1.83.1 +dotnet-interactive-vscode-1.0.4514021.vsix+ dotnet-sdk-7.0.402-win-x64 VS Code: https://update.code.visualstudio.com/1.83.1/win32-x64/stable Version: 1.83.1 (system setup) Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc Date: 2023-10-10T23:48:05.904Z Electron: 25.8.4 ElectronBuildId: 24154031 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.25398
dotnet-interactive-vscode-1.0.4514021.vsix Build link: https://dev.azure.com/dnceng/internal/_build/results?buildId=2291238&view=artifacts&pathAsName=false&type=publishedArtifacts
Steps:
- Open the notebook from https://github.com/dotnet/interactive/blob/main/NotebookTestScript.dib.
- Execute the cells one by one.
Expected Results:
Each cell should be run normally, with no error.
Actual Results:
Sometimes, test can't be stopped and always hang in running status as following. Details please refer to following screenshot and gif:
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- [√] Windows 11
- [ ] Windows 10
- [ ] macOS
- [ ] Linux (Please specify distro)
- [ ] iOS
- [ ] Android
- Browser
- [ ] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari
- Frontend
- [ ] Jupyter Notebook
- [ ] Jupyter Lab
- [ ] nteract
- [√] Visual Studio Code
- [ ] Visual Studio Code Insiders
- [ ] Visual Studio
- [ ] Other (please specify)
This issue also repro when running F# code in newly created .ipynb file. If we restart the kernal, the cell can be running normally.
Steps:
- Open the notebook from https://github.com/dotnet/interactive/blob/main/NotebookTestScript.dib.
- Ctrl+Shift+P` => "Polyglot Notebook: Create new blank notebook"
- Select "Create as .ipynb"
- Select "F#"
- You should have a new empty notebook named something like "Untitled-1.ipynb" with a single cell of type "F# (Polyglot Notebook)".
- Set the cell contents to
1+1and execute.
This issue still repro on VSCodeSetup-arm64-1.89.1 + dotnet-interactive-vscode-1.0.5263011.vsix +dotnet-sdk-8.0.300-win-arm64 .