Revert insiders decision

This commit is contained in:
Osvaldo Ortega
2026-01-23 15:51:23 -08:00
parent 194f6f9f67
commit a4ab6d0e43
2 changed files with 3 additions and 12 deletions

View File

@@ -105,13 +105,8 @@ class AgentSessionsWelcomeRunnerContribution extends Disposable implements IWork
// Get startup editor configuration
const startupEditor = this.configurationService.getValue<string>('workbench.startupEditor');
// Only proceed if configured to show agent sessions welcome page,
// or if on Insiders with welcomePage (treat welcomePage as agentSessionsWelcomePage on Insiders)
const isInsiders = this.productService.quality === 'insider';
const shouldShowAgentSessionsWelcome = startupEditor === 'agentSessionsWelcomePage' ||
(isInsiders && startupEditor === 'welcomePage');
if (!shouldShowAgentSessionsWelcome) {
// Only proceed if configured to show agent sessions welcome page
if (startupEditor !== 'agentSessionsWelcomePage') {
return;
}

View File

@@ -138,11 +138,7 @@ export class StartupPageRunnerContribution extends Disposable implements IWorkbe
if (startupEditorSetting.value === 'readme') {
await this.openReadme();
} else if (startupEditorSetting.value === 'welcomePage' || startupEditorSetting.value === 'welcomePageInEmptyWorkbench') {
// On Insiders, AgentSessionsWelcomeRunnerContribution handles 'welcomePage', so skip here to avoid race condition
const isInsiders = this.productService.quality === 'insider';
if (!isInsiders || startupEditorSetting.value === 'welcomePageInEmptyWorkbench') {
await this.openGettingStarted(true);
}
await this.openGettingStarted(true);
} else if (startupEditorSetting.value === 'terminal') {
this.commandService.executeCommand(TerminalCommandId.CreateTerminalEditor);
}