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

Enable cell cancellation for Interactive notebooks (#19005) #19045

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

corivera
Copy link
Member

This fix enables cell cancellation for Interactive notebooks. Without it, an Interactive cell can potentially run forever unless the user restarts the whole application. These changes are limited to the .NET Interactive code path, so there's low risk to the rest of our notebook code.

Port request issue: #18979

* Also added a check to prevent multiple Interactive cells from executing simultaneously.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2162964595

  • 0 of 31 (0.0%) changed or added relevant lines in 3 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 42.276%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/sql/workbench/api/common/extHostNotebook.ts 0 3 0.0%
src/sql/workbench/api/common/notebooks/vscodeExecuteProvider.ts 0 13 0.0%
src/sql/workbench/api/common/notebooks/adsNotebookController.ts 0 15 0.0%
Files with Coverage Reduction New Missed Lines %
extensions/machine-learning/src/common/processService.ts 3 77.78%
Totals Coverage Status
Change from base Build 2158592370: -0.02%
Covered Lines: 27597
Relevant Lines: 61018

💛 - Coveralls

@chlafreniere chlafreniere merged commit f0f83d0 into release/1.36 Apr 13, 2022
@chlafreniere chlafreniere deleted the corivera/portCancellationFix branch April 13, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants