Skip to content

Conversation

jeanp413
Copy link
Contributor

@jeanp413 jeanp413 commented Mar 2, 2023

Fixes #175107

Comment on lines +44 to +48
for (const remoteAuthority of [undefined, _environmentService.remoteAuthority]) {
let resolve: () => void;
const p = new Promise<void>(r => resolve = r);
this._backendRegistration.set(remoteAuthority, { promise: p, resolve: resolve! });
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

RemoteTerminalBackendContribution is registered to be created on restored phase but instantiation only occurs when idle.

@jeanp413
Copy link
Contributor Author

ping @Tyriar

@Tyriar Tyriar added this to the April 2023 milestone Mar 20, 2023
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for looking into this, very long standing and annoying issue ❤️

@Tyriar Tyriar enabled auto-merge March 29, 2023 14:47
@Tyriar
Copy link
Member

Tyriar commented Mar 29, 2023

FYI @jkeech, this was a elusive Codespaces bug that had some partial fixes previously.

@Tyriar Tyriar merged commit db329c2 into microsoft:main Mar 29, 2023
@jeanp413 jeanp413 deleted the fix-175107 branch March 29, 2023 16:24
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configured default shell not used when reconnecting to Codespace

4 participants