10000 bug: StepFunctions ListExecutions doesn't work and fails with an error when StateMachine ARN is not provided · Issue #12669 · localstack/localstack · GitHub
[go: up one dir, main page]

Skip to content
bug: StepFunctions ListExecutions doesn't work and fails with an error when StateMachine ARN is not provided #12669
Open
@alisherzhaken

Description

@alisherzhaken

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Performing awslocal stepfunctions list-executions ends up in failure from the localstack

    if not StepFunctionsProvider._STATE_MACHINE_ARN_REGEX.match(state_machine_arn):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

Expected Behavior

It should return a list of all StateMachine executions when State Machine ARN is not provided.

The actual problem comes from _validate_state_machine_arn which should just simply pass if the ARN is not provided.

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

localstack start

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

awslocal stepfunctions list-executions

Environment

- OS: Ubuntu 25.04
- LocalStack:
  LocalStack version: 4.4.0
  LocalStack Docker image sha:
  LocalStack build date:
  LocalStack build git hash:

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0