Skip to content

Commit 1e6ed87

Browse files
authored
Update Code to 1.127.0 (#7880)
There is a new use of parsedArgs so we have to pass that in since we parse on demand instead of globally.
1 parent dd48f77 commit 1e6ed87

7 files changed

Lines changed: 32 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Code v99.99.999
2222

2323
## Unreleased
2424

25+
Code v1.127.0
26+
27+
### Changed
28+
29+
- Update to Code 1.127.0
30+
2531
## [4.126.0](https://github.com/coder/code-server/releases/tag/v4.126.0) - 2026-06-24
2632

2733
Code v1.126.0

lib/vscode

Submodule vscode updated 1013 files

patches/display-language.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Index: code-server/lib/vscode/src/vs/server/node/serverServices.ts
1818
import { ProtocolConstants } from '../../base/parts/ipc/common/ipc.net.js';
1919
import { IConfigurationService } from '../../platform/configuration/common/configuration.js';
2020
import { ConfigurationService } from '../../platform/configuration/common/configurationService.js';
21-
@@ -359,6 +359,9 @@ export async function setupServerService
21+
@@ -358,6 +358,9 @@ export async function setupServerService
2222

2323
socketServer.registerChannel('mcpManagement', new McpManagementChannel(mcpManagementService, (ctx: RemoteAgentConnectionContext) => getUriTransformer(ctx.remoteAuthority)));
2424

patches/external-file-actions.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/contextkeys.ts
147147
@IProductService private readonly productService: IProductService,
148148
@IEditorGroupsService private readonly editorGroupService: IEditorGroupsService,
149149
@IEditorService private readonly editorService: IEditorService,
150-
@@ -201,6 +201,10 @@ export class WorkbenchContextKeysHandler
150+
@@ -202,6 +202,10 @@ export class WorkbenchContextKeysHandler
151151
this.auxiliaryBarMaximizedContext = AuxiliaryBarMaximizedContext.bindTo(this.contextKeyService);
152152
this.auxiliaryBarMaximizedContext.set(this.layoutService.isAuxiliaryBarMaximized());
153153

patches/getting-started.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/contextkeys.ts
222222
import { preferredSideBySideGroupDirection, GroupDirection, IEditorGroupsService } from '../services/editor/common/editorGroupsService.js';
223223
import { IConfigurationService } from '../../platform/configuration/common/configuration.js';
224224
import { IBrowserWorkbenchEnvironmentService } from '../services/environment/browser/environmentService.js';
225-
@@ -204,6 +204,7 @@ export class WorkbenchContextKeysHandler
225+
@@ -205,6 +205,7 @@ export class WorkbenchContextKeysHandler
226226
// code-server
227227
IsEnabledFileDownloads.bindTo(this.contextKeyService).set(this.environmentService.isEnabledFileDownloads ?? true)
228228
IsEnabledFileUploads.bindTo(this.contextKeyService).set(this.environmentService.isEnabledFileUploads ?? true)

patches/integration.diff

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Index: code-server/lib/vscode/src/server-main.ts
263263
===================================================================
264264
--- code-server.orig/lib/vscode/src/server-main.ts
265265
+++ code-server/lib/vscode/src/server-main.ts
266-
@@ -22,6 +22,9 @@ import { IServerAPI } from './vs/server/
266+
@@ -23,6 +23,9 @@ import { IServerAPI } from './vs/server/
267267
perf.mark('code/server/start');
268268
(globalThis as { vscodeServerStartTime?: number }).vscodeServerStartTime = performance.now();
269269

@@ -273,15 +273,33 @@ Index: code-server/lib/vscode/src/server-main.ts
273273
// Do a quick parse to determine if a server or the cli needs to be started
274274
const parsedArgs = minimist(process.argv.slice(2), {
275275
boolean: ['start-server', 'list-extensions', 'print-ip-address', 'help', 'version', 'accept-server-license-terms', 'update-extensions'],
276-
@@ -150,6 +153,7 @@ if (shouldSpawnCli) {
276+
@@ -50,7 +53,7 @@ if (shouldSpawnCli) {
277+
mod.spawnCli();
278+
});
279+
} else {
280+
- installServerProcessExitDiagnostics();
281+
+ installServerProcessExitDiagnostics(parsedArgs);
282+
283+
let _remoteExtensionHostAgentServer: IServerAPI | null = null;
284+
let _remoteExtensionHostAgentServerPromise: Promise<IServerAPI> | null = null;
285+
@@ -153,6 +156,7 @@ if (shouldSpawnCli) {
277286
}
278287
});
279288
}
280289
+}
281290

282291
function sanitizeStringArg(val: unknown): string | undefined {
283292
if (Array.isArray(val)) { // if an argument is passed multiple times, minimist creates an array
284-
@@ -283,3 +287,22 @@ function prompt(question: string): Promi
293+
@@ -173,7 +177,7 @@ function sanitizeStringArg(val: unknown)
294+
* provided) so they survive process teardown (an async stdio write from an
295+
* `exit` handler does not).
296+
*/
297+
-function installServerProcessExitDiagnostics(): void {
298+
+function installServerProcessExitDiagnostics(parsedArgs: minimist.ParsedArgs): void {
299+
if (!process.env['VSCODE_SERVER_EXIT_DIAGNOSTICS']) {
300+
return;
301+
}
302+
@@ -406,3 +410,22 @@ function prompt(question: string): Promi
285303
});
286304
});
287305
}

patches/sourcemaps.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Index: code-server/lib/vscode/build/gulpfile.reh.ts
66
===================================================================
77
--- code-server.orig/lib/vscode/build/gulpfile.reh.ts
88
+++ code-server/lib/vscode/build/gulpfile.reh.ts
9-
@@ -297,10 +297,15 @@ function packageTask(type: string, platf
9+
@@ -344,10 +344,15 @@ function packageTask(type: string, platf
1010
const destination = path.join(BUILD_ROOT, destinationFolderName);
1111

1212
return () => {

0 commit comments

Comments
 (0)