From 0a0c86907e31268c0185f19ad7f53c5fa3e8ec03 Mon Sep 17 00:00:00 2001 From: Diler Zaza Date: Wed, 23 Jul 2025 13:19:21 -0700 Subject: [PATCH 1/5] adding call to execution detail provider --- .../vue/executeStateMachine/executeStateMachine.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts b/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts index b4e47bc65f6..df98e29bb84 100644 --- a/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts +++ b/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts @@ -15,6 +15,7 @@ import { ExtContext } from '../../../shared/extensions' import { VueWebview } from '../../../webviews/main' import * as vscode from 'vscode' import { telemetry } from '../../../shared/telemetry/telemetry' +import { ExecutionDetailProvider } from '../../executionDetails/executionDetailProvider' interface StateMachine { arn: string @@ -61,6 +62,10 @@ export class ExecuteStateMachineWebview extends VueWebview { stateMachineArn: this.stateMachine.arn, input, }) + await ExecutionDetailProvider.openExecutionDetails( + startExecResponse.executionArn!, + startExecResponse.startDate!.toString() + ) this.logger.info('started execution for Step Functions State Machine') this.channel.appendLine(localize('AWS.stepFunctions.executeStateMachine.info.started', 'Execution started')) this.channel.appendLine(startExecResponse.executionArn || '') From 52426ea4ac79cee51095097469096249daa83e7b Mon Sep 17 00:00:00 2001 From: Diler Zaza Date: Wed, 23 Jul 2025 14:57:38 -0700 Subject: [PATCH 2/5] closing execute webview after calling provider --- .../vue/executeStateMachine/executeStateMachine.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts b/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts index df98e29bb84..579005a09a4 100644 --- a/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts +++ b/packages/core/src/stepFunctions/vue/executeStateMachine/executeStateMachine.ts @@ -69,6 +69,8 @@ export class ExecuteStateMachineWebview extends VueWebview { this.logger.info('started execution for Step Functions State Machine') this.channel.appendLine(localize('AWS.stepFunctions.executeStateMachine.info.started', 'Execution started')) this.channel.appendLine(startExecResponse.executionArn || '') + + this.dispose() } catch (e) { executeResult = 'Failed' const error = e as Error From 2dedd1bddadb0e9f4390d432a35108baad8d8f1c Mon Sep 17 00:00:00 2001 From: Diler Zaza Date: Wed, 23 Jul 2025 15:01:14 -0700 Subject: [PATCH 3/5] Added change log --- .../Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json diff --git a/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json new file mode 100644 index 00000000000..742d2d95965 --- /dev/null +++ b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json @@ -0,0 +1,4 @@ +{ + "type": "Feature", + "description": "Start Execution command from AWS Explorer now launches Execution Details after clicking Execute" +} From 6285ea6b295dc582d463eca733b18698ffbde7a7 Mon Sep 17 00:00:00 2001 From: Diler Zaza <95944688+l0minous@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:15:09 -0700 Subject: [PATCH 4/5] Updating Change log --- .../Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json index 742d2d95965..ffe6b72bdb6 100644 --- a/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json +++ b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json @@ -1,4 +1,4 @@ { "type": "Feature", - "description": "Start Execution command from AWS Explorer now launches Execution Details after clicking Execute" + "description": "Start Execution option in the AWS Explorer now opens the execution details page after clicking Execute" } From be2bb9c066285e886b3c4b4c92321ae99fd15447 Mon Sep 17 00:00:00 2001 From: Diler Zaza <95944688+l0minous@users.noreply.github.com> Date: Wed, 23 Jul 2025 16:27:30 -0700 Subject: [PATCH 5/5] Update change log --- .../Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json index ffe6b72bdb6..2b0e5cbb431 100644 --- a/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json +++ b/packages/toolkit/.changes/next-release/Feature-eb3fdb2e-b75b-4789-8b2f-e18130aa1ccf.json @@ -1,4 +1,4 @@ { "type": "Feature", - "description": "Start Execution option in the AWS Explorer now opens the execution details page after clicking Execute" + "description": "[Step Functions] Start Execution option in the AWS Explorer now opens the execution details page after clicking Execute" }