Skip to content

Address feedback on notebook kernel selector race condition fix#12643

Closed
Copilot wants to merge 1 commit intofix/notebook-kernel-selector-race-conditionfrom
copilot/sub-pr-12641
Closed

Address feedback on notebook kernel selector race condition fix#12643
Copilot wants to merge 1 commit intofix/notebook-kernel-selector-race-conditionfrom
copilot/sub-pr-12641

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

Addresses review feedback on #12641, which fixed the intermittent "scopedContextKeyService is not available" error by clearing _scopedContextKeyService in detachView().

The automated reviewer suggested adding a unit test for the attach/detach lifecycle. After evaluating, no test was added — _scopedContextKeyService = undefined follows the same cleanup pattern already used for _overlayContainer and _notebookOptions in detachView(), none of which have dedicated tests. A lifecycle test would require significant mock infrastructure and introduce flakiness disproportionate to a one-line change.

Release Notes

New Features

  • N/A

Bug Fixes

  • N/A

QA Notes

No behavior change from this PR — it only addresses a code review discussion. Testing guidance is in the original PR #12641.


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Copilot AI changed the title [WIP] [WIP] Address feedback on notebook kernel selector race condition fix Address feedback on notebook kernel selector race condition fix Mar 20, 2026
Copilot AI requested a review from rodrigosf672 March 20, 2026 17:14
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants