Is it possible that the UI for this API has changed? I do see a blue indicator under the top left when I run things. My suspicion is that our API call still works, but that VSCode has changed the way they present it.
Link to @corbob's description: https://github.com/PowerShell/vscode-powershell/issues/2175#issuecomment-549606784
Yeah I can't see where the difference is. Stable it shows up, Preview it doesn't. Even though PSES hits the code path the same way.
FWIW: I'm getting the indicator when I run commands at the PSIC... just not if I run the commands from the editor window.
Easy demo:
in a ps1 file:
Start-Sleep -Seconds 15
Run with either F5 or F8
Copy the command and run it directly in PSIC.
Ah interesting. That's helpful. Thanks @corbob!
I wonder if this is because we have to cancel the PSRL prompt in the F8 example and so the notification is getting fired but since there's a second executionStatus event that gets fired (where the state is Cancelled I think) theres a bit of a race condition.
PR out for this