-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Remove timeout workaround in authentication service now that immediate activation waits on the local Ext Host #292611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
|
@copilot there is also code in auth land that has a timeout waiting for an auth provider to be registered.. we can get rid of that vscode/src/vs/workbench/services/authentication/browser/authenticationService.ts Lines 430 to 448 in 2a057b6
|
…ider Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Removed the timeout workaround in |
| this.logService.error('[DefaultAccount] Error while waiting for installed extensions to be registered', getErrorMessage(error)); | ||
| } | ||
|
|
||
| await this.extensionService.whenInstalledExtensionsRegistered(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot revert this change, I want to focus this PR on the auth service change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted in d13e615. The PR now only contains the auth service changes.
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Following the fix for immediate activation waiting on local extension host (#260061), the timeout workaround in the authentication service is no longer necessary.
Changes
src/vs/workbench/services/authentication/browser/authenticationService.ts:
tryActivateProvider()raceCancellation,raceTimeout)Before:
After:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.