Repository navigation
Pull notebook diagnostics after cell reorder - #1892
Merged
Dirk Bäumer (dbaeumer) merged 4 commits intoOct 20, 2026
Merged
Dirk Bäumer (dbaeumer) merged 4 commits into
Dirk Bäumer (dbaeumer) merged 4 commits into
Conversation
Contributor
Author
|
@microsoft-github-policy-service agree |
There was a problem hiding this comment.
🟡 Changes recommended
Structural refreshes duplicate newly opened cell requests, and the regression test can pass on unrelated pulls.
2 open issues
What changed in this PR
Refreshes notebook diagnostics after cell reordering to address #1836, without changing the scheduler delay discussed in #1837.
Changes:
- Pulls matching cells after structural changes when inter-file dependencies are enabled.
- Enables that capability in the test server and adds a reorder regression test.
Verification here was limited to source inspection; no tests were run.
| File | Description |
|---|---|
| client/src/common/diagnostic.ts | Adds diagnostic pulls after notebook structure changes. |
| client-node-tests/src/servers/fullNotebookServer.ts | Enables inter-file diagnostic dependencies. |
| client-node-tests/src/integration.test.ts | Adds a cell-reorder regression test. |
Review effort: Balanced
Dirk Bäumer (dbaeumer)
requested changes
Oct 19, 2026
Dirk Bäumer (dbaeumer)
left a comment
Member
There was a problem hiding this comment.
mango (@mangomac) see copilot review
Signed-off-by: mangomac <333602023+mangomac@users.noreply.github.com>
Contributor
Author
|
Pushed ff03c87 to address the review notes.
Caveat: I compiled the two files, but the VS Code integration tests need the electron host and I could not run them locally, so that part is untested. CI will be the first real run. |
Dirk Bäumer (dbaeumer)
approved these changes
Oct 19, 2026
Anthony Kim (anthonykim1)
approved these changes
Oct 19, 2026
Giuseppe Cianci (Giuspepe)
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #1836.
The diagnostic feature ignored
structure.arraychanges, so reordering notebook cells did not trigger a new pull. WithinterFileDependenciesenabled it now pulls after a structure change.Tests: a new client-node-tests case moves a cell and asserts a pull happens. I also set
interFileDependencies: trueinfullNotebookServer. Before the change the suite was 214 pass / 1 fail, after it is 215 / 0. Only the client package was tested; the browser and other packages were not run.Note: this pulls all matching cells and could be narrowed. It does not change the 500ms delay discussed in #1837.