Skip to content

Commit 22ddf60

Browse files
authored
Update Code to 1.143.1 (#8069)
* Remove Node patch * Update patches Just one conflict, they use user-data-dir now which is something we already have been doing for a long time.
1 parent e777c1f commit 22ddf60

16 files changed

Lines changed: 25 additions & 57 deletions

‎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.143.1
26+
27+
### Changed
28+
29+
- Update to Code 1.143.1
30+
2531
## [4.141.1](https://github.com/coder/code-server/releases/tag/v4.141.1) - 2026-10-23
2632

2733
### Security

‎lib/vscode‎

Submodule vscode updated 4502 files

‎patches/copilot.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Index: code-server/lib/vscode/build/gulpfile.extensions.ts
22
===================================================================
33
--- code-server.orig/lib/vscode/build/gulpfile.extensions.ts
44
+++ code-server/lib/vscode/build/gulpfile.extensions.ts
5-
@@ -291,6 +291,29 @@ export const compileCopilotExtensionBuil
5+
@@ -294,6 +294,29 @@ export const compileCopilotExtensionBuil
66
task.task(compileCopilotExtensionBuildTask);
77

88
/**

‎patches/csp-hashes.diff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/webview/browser/pre/index
66
<meta charset="UTF-8">
77

88
<meta http-equiv="Content-Security-Policy"
9-
- content="default-src 'none'; script-src 'sha256-FFQoOVVa2tOE3uqUvirwaMNT20TZmrHcL2aaOjJ8BUo=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
10-
+ content="default-src 'none'; script-src 'sha256-24QqbpzqcqSyIGvg/ZwFRy5pPlhmVBa8CkUREEIUnBw=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
9+
- content="default-src 'none'; script-src 'sha256-7cKy9iQfWRXcgRS74x6I4q5cRDkv8nQz51jecqMmQ5w=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
10+
+ content="default-src 'none'; script-src 'sha256-FYdHnaDkSHwSK3TmWDrs/tT+X4bK+aaoa9yy432BONk=' 'self'; frame-src 'self'; style-src 'unsafe-inline';">
1111

1212
<!-- Disable pinch zooming -->
1313
<meta name="viewport"

‎patches/disable-builtin-ext-update.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
77
===================================================================
88
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
99
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
10-
@@ -343,6 +343,10 @@ export class Extension implements IExten
10+
@@ -344,6 +344,10 @@ export class Extension implements IExten
1111
if (this.type === ExtensionType.System && this.productService.quality === 'stable' && !this.productService.builtInExtensionsEnabledWithAutoUpdates?.some(id => id.toLowerCase() === this.identifier.id.toLowerCase())) {
1212
return false;
1313
}

‎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 { createRandomIPCHandle } from '../../base/parts/ipc/node/ipc.net.js';
2020
import { IConfigurationService } from '../../platform/configuration/common/configuration.js';
21-
@@ -418,6 +418,9 @@ export async function setupServerService
21+
@@ -444,6 +444,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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,15 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explo
282282
===================================================================
283283
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts
284284
+++ code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.ts
285-
@@ -65,6 +65,7 @@ import { timeout } from '../../../../../
285+
@@ -62,6 +62,7 @@ import { defaultCountBadgeStyles } from
286286
import { IFilesConfigurationService } from '../../../../services/filesConfiguration/common/filesConfigurationService.js';
287287
import { mainWindow } from '../../../../../base/browser/window.js';
288288
import { IExplorerFileContribution, explorerFileContribRegistry } from '../explorerFileContrib.js';
289289
+import { IBrowserWorkbenchEnvironmentService } from '../../../../services/environment/browser/environmentService.js';
290290
import { WorkbenchCompressibleAsyncDataTree } from '../../../../../platform/list/browser/listService.js';
291291
import { ISearchService, QueryType, getExcludes, ISearchConfiguration, ISearchComplete, IFileQuery } from '../../../../services/search/common/search.js';
292292
import { CancellationToken } from '../../../../../base/common/cancellation.js';
293-
@@ -1587,7 +1588,8 @@ export class FileDragAndDrop implements
293+
@@ -1515,7 +1516,8 @@ export class FileDragAndDrop implements
294294
@IConfigurationService private configurationService: IConfigurationService,
295295
@IInstantiationService private instantiationService: IInstantiationService,
296296
@IWorkspaceEditingService private workspaceEditingService: IWorkspaceEditingService,
@@ -300,7 +300,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/files/browser/views/explo
300300
) {
301301
const updateDropEnablement = (e: IConfigurationChangeEvent | undefined) => {
302302
if (!e || e.affectsConfiguration('explorer.enableDragAndDrop')) {
303-
@@ -1812,15 +1814,17 @@ export class FileDragAndDrop implements
303+
@@ -1740,15 +1742,17 @@ export class FileDragAndDrop implements
304304

305305
// External file DND (Import/Upload file)
306306
if (data instanceof NativeDragAndDropData) {

‎patches/getting-started.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
115115
===================================================================
116116
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css
117117
+++ code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css
118-
@@ -60,6 +60,15 @@
118+
@@ -63,6 +63,15 @@
119119
display: block;
120120
}
121121

‎patches/integration.diff‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Index: code-server/lib/vscode/src/vs/server/node/server.main.ts
3333
-delete process.env[agentHostBridgeConnectionTokenEnvironmentVariable];
3434
-
3535
-const REMOTE_DATA_FOLDER = args['server-data-dir'] || process.env['VSCODE_AGENT_FOLDER'] || join(os.homedir(), product.serverDataFolderName || '.vscode-remote');
36-
-const USER_DATA_PATH = join(REMOTE_DATA_FOLDER, 'data');
36+
-const USER_DATA_PATH = args['user-data-dir'] || join(REMOTE_DATA_FOLDER, 'data');
3737
-const APP_SETTINGS_HOME = join(USER_DATA_PATH, 'User');
3838
-const GLOBAL_STORAGE_HOME = join(APP_SETTINGS_HOME, 'globalStorage');
3939
-const LOCAL_HISTORY_HOME = join(APP_SETTINGS_HOME, 'History');

‎patches/node-version.diff‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)