Skip to content

Commit ea34e74

Browse files
committed
Merge branch 'main' into joh/rewrite-privates
2 parents 3ffb834 + 7c466b8 commit ea34e74

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/vs/editor/test/node/diffing/diffing.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ suite('diff fixtures', () => {
3131

3232
const diffingAlgo = diffingAlgoName === 'smart' ? new SmartLinesDiffComputer() : new StandardLinesDiffComputer();
3333

34-
const diff = diffingAlgo.computeDiff(firstContentLines, secondContentLines, { ignoreTrimWhitespace: false, maxComputationTime: Number.MAX_SAFE_INTEGER });
34+
const diff = diffingAlgo.computeDiff(firstContentLines, secondContentLines, { ignoreTrimWhitespace: false, maxComputationTimeMs: Number.MAX_SAFE_INTEGER });
3535

3636
const actualDiffingResult: DiffingResult = {
3737
originalFileName: `./${firstFileName}`,

src/vs/platform/externalServices/common/marketplace.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ export async function resolveMarketplaceHeaders(version: string,
2828

2929
if (supportsTelemetry(productService, environmentService) && getTelemetryLevel(configurationService) === TelemetryLevel.USAGE) {
3030
const uuid = await getServiceMachineId(environmentService, fileService, storageService);
31-
const { sessionId } = await telemetryService.getTelemetryInfo();
31+
const { machineId } = await telemetryService.getTelemetryInfo();
3232
headers['X-Market-User-Id'] = uuid;
33-
headers['VSCode-SessionId'] = sessionId;
33+
// Send machineId as VSCode-SessionId so we can correlate telemetry events across different services
34+
headers['VSCode-SessionId'] = machineId;
3435
}
3536

3637
return headers;

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6910,9 +6910,9 @@ loader-runner@^4.2.0:
69106910
integrity sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==
69116911

69126912
loader-utils@^1.2.3, loader-utils@^1.4.0:
6913-
version "1.4.1"
6914-
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.1.tgz#278ad7006660bccc4d2c0c1578e17c5c78d5c0e0"
6915-
integrity sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==
6913+
version "1.4.2"
6914+
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3"
6915+
integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==
69166916
dependencies:
69176917
big.js "^5.2.2"
69186918
emojis-list "^3.0.0"

0 commit comments

Comments
 (0)