Investigated from: https://github.com/microsoft/vscode-python/pull/24148#pullrequestreview-2443313565 In the reloading of notebook document such as native REPL, calling ``` await workspace.openNotebookDocument(mementoValue as Uri); ``` works fine if the notebook document is visible. Problem happens when user hide their notebook document (such as native REPL) hiding behind some untitled text file, and then calling ``` await workspace.openNotebookDocument(mementoValue as Uri); ``` will create another instance of untitled.ipynb with the same exact URI as the notebook that was hidden. https://github.com/user-attachments/assets/75e93dcc-ccc5-46ef-b4c8-d824bfc3fdbe