Skip to content

Conversation

EhabY
Copy link
Collaborator

@EhabY EhabY commented Oct 17, 2025

Closes #626

@EhabY EhabY force-pushed the show-remote-ssh-output-on-start branch from bbb0391 to 92b1788 Compare October 17, 2025 13:13
Comment on lines +466 to +468
if (shouldShowSshOutput) {
showSshOutput();
}
Copy link
Collaborator Author

@EhabY EhabY Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm aiming for a less intrusive UX by only showing the Output: Remote SSH channel when a workspace starts (i.e., when the startup script runs). However, since the channel logs activity during (normal) connection as well, we could always show it to help catch issues sooner. The caveat is that we can't automatically hide the output channel once a connection succeeds.

What would be the best UX approach here?

  • Show the output only after a workspace startup (current approach)
  • Show it always when connecting to a remote SSH (whether it's a startup or not).

Copy link
Collaborator Author

@EhabY EhabY Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm now leaning more towards the latter because those logs can be useful still even if this part is faster than the startup script part

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we could hide it after connecting I think it might make sense but as a user I feel like I might be annoyed if I have to keep closing the window every time I connect (but I am not a VS Code user so I could be wrong). Do we have users asking for this?

If we just want users to be aware something is happening, the progress notifications should cover that, but maybe we need to show more detail in the notification? Although, that is on the remote SSH extension side and not something we can change. 🤔

Copy link
Collaborator Author

@EhabY EhabY Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have users asking for this?

This scenario was encountered by @dannykopping where their workspace seemed like it was stuck but it was just executing the startup script and working normally. Seeing the logs just shows that things are moving I suppose while the progress notification doesn't tell us if things are ACTUALLY working (can't tell if it's stuck).

I can keep it as is where we just show the output logs when we start the workspace, that way it's less annoying but might not show the output in some cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically focus on the Output window (Remote - SSH) when connecting to a Workspace

2 participants