Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(stepfunctions): Support calling TestState API from Workflow Studio #6421

Conversation

anthonyting
Copy link

Problem

The Workflow Studio webview currently does not allow for calling the TestState API. This API is used for testing individual states in isolation, and helps with debugging when constructing a state machine. It is available in the console version of Workflow Studio.

Solution

Adding support for calling APIs from the webview using message passing. This is the added flow:

  1. The webview sends a message to the extension to call sfn:TestState or iam:ListRoles
  2. The extension performs the API call using its credentials and default credential region
  3. The extension sends the response as a message to the webview

Note: this PR is dependent on this PR being merged first since it requires an aws-sdk version update.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@anthonyting anthonyting requested a review from a team as a code owner January 23, 2025 19:10
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@anthonyting anthonyting force-pushed the feature/stepfunctions-workflow branch from 38458dd to fddfd43 Compare January 24, 2025 21:33
@anthonyting anthonyting requested a review from justinmk3 January 30, 2025 20:12
@justinmk3 justinmk3 merged commit 358666e into aws:feature/stepfunctions-workflow Jan 31, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants