Clicking on changed files from `All Sessions` sometimes doesn't work
Ref https://github.com/microsoft/vscode-internalbacklog/issues/6388
- Kick off a few background sessions, each of which changes files
- See the changed files listed for each session
-
- ❓ Clicking to open changes for the top session doesn't work
-
If I click into the changed file from the session output, it works as expected:
Clicking on the changed files for the second background session does somehow work though:
Confirmed that I'm still experiencing this issue in the latest VS Code Insiders and Chat pre-release (clicking on the 1 file +43 -0 doesn't do anything). Though I wonder if it's because I previously closed the worktree in VS Code? If that's the case, I wonder how we can indicate this to users / if we should hide this file diff from the session summary, to avoid users thinking the changed files view is broken.
This should fix it https://github.com/microsoft/vscode/pull/281621#event-21395146426, looks like the extension still can only compute a diff from a worktree so non-worktrees would fail even after merging this