github / vscode-github-actions

GitHub Actions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions
MIT License
476 stars 72 forks source link

Realtime Action Status update for pending workflows #285

Open callicles opened 7 months ago

callicles commented 7 months ago

Is your feature request related to a problem? Please describe. I am trying to use the extension to get real time feedback on the CI to see if the tests are passing are not. I am frustrated that I have to click the refresh button, it prevents me from focusing on something else as it runs.

Describe the solution you'd like I would love it if when I click the refresh button, if there are any workflows that are not in a terminal state (not started, pending, queued...) the extension would poll the api every second to get a refreshed status until the action/workflow reached a terminal status.

Additional context I have seen this: https://github.com/github/vscode-github-actions/issues/126 and I can understand how that could be a big undertaking. I am trying to suggest a focused way of getting feedback real time on something I am working on. I am ok, telling the extension "start watching" so that api don't get overflown or we don't constantly poll the api when the extension is opened.

ideally you could subscribe to a websocket 😏 but not sure if that's even possible

Also the yellow spinners make it look like it is polling when it is not

aharpervc commented 5 months ago

Seems related to https://github.com/github/vscode-github-actions/issues/229

dbsanfte commented 5 months ago

I second this issue, it's very annoying to have to click that refresh button. There should be some polling or a websocket kept open.

markusroessler commented 2 months ago

I also find this very frustrating. There's also no way to update the statusbar actions status, which makes it basically useless.