From 2b29639d00cbfa388ab0bed693f8fd66ffbe4b17 Mon Sep 17 00:00:00 2001 From: Roger Zhang Date: Mon, 21 Jul 2025 13:44:03 -0700 Subject: [PATCH 1/2] Update ldkController.ts duration -> sessionDuration (correct) --- packages/core/src/lambda/remoteDebugging/ldkController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/lambda/remoteDebugging/ldkController.ts b/packages/core/src/lambda/remoteDebugging/ldkController.ts index c4c08b10254..100fff94c45 100644 --- a/packages/core/src/lambda/remoteDebugging/ldkController.ts +++ b/packages/core/src/lambda/remoteDebugging/ldkController.ts @@ -729,7 +729,7 @@ export class RemoteDebugController { ) return } - span.record({ duration: this.lastDebugStartTime === 0 ? 0 : Date.now() - this.lastDebugStartTime }) + span.record({ sessionDuration: this.lastDebugStartTime === 0 ? 0 : Date.now() - this.lastDebugStartTime }) try { await vscode.window.withProgress( { From a61281e64c39d120f3bed2c52606a6a8cce81889 Mon Sep 17 00:00:00 2001 From: Roger Zhang Date: Tue, 22 Jul 2025 11:30:10 -0700 Subject: [PATCH 2/2] Update ldkController.ts --- packages/core/src/lambda/remoteDebugging/ldkController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/lambda/remoteDebugging/ldkController.ts b/packages/core/src/lambda/remoteDebugging/ldkController.ts index 100fff94c45..55a777fdc3d 100644 --- a/packages/core/src/lambda/remoteDebugging/ldkController.ts +++ b/packages/core/src/lambda/remoteDebugging/ldkController.ts @@ -729,6 +729,7 @@ export class RemoteDebugController { ) return } + // use sessionDuration to record debug duration span.record({ sessionDuration: this.lastDebugStartTime === 0 ? 0 : Date.now() - this.lastDebugStartTime }) try { await vscode.window.withProgress(