Skip to content

fix(stepfunctions): the retry field in CustomState is not iterable#29403

Merged
mergify[bot] merged 5 commits intoaws:mainfrom
abdelnn:retry
Mar 12, 2024
Merged

fix(stepfunctions): the retry field in CustomState is not iterable#29403
mergify[bot] merged 5 commits intoaws:mainfrom
abdelnn:retry

Conversation

@abdelnn
Copy link
Copy Markdown
Contributor

@abdelnn abdelnn commented Mar 7, 2024

Issue # (if applicable)

Closes #29274

Reason for this change

CDK users were unable to specify their retry strategy if it was specified inline in their ASL state machine definition

Description of changes

Checks if the state definition has an inline retry policy defined. If it does, add it to the existing strategy defined using addRetry (if there is one defined, this is where it was failing before)

Description of how you validated changes

Added unit and integration tests

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK bug This issue is a bug. effort/medium Medium work item – several days of effort p2 labels Mar 7, 2024
@aws-cdk-automation aws-cdk-automation requested a review from a team March 7, 2024 22:01
@abdelnn abdelnn marked this pull request as ready for review March 7, 2024 22:32
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 7, 2024
Copy link
Copy Markdown
Contributor

@lpizzinidev lpizzinidev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@aws-cdk-automation aws-cdk-automation added pr/needs-maintainer-review This PR needs a review from a Core Team Member and removed pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. labels Mar 9, 2024
aaythapa
aaythapa previously approved these changes Mar 12, 2024
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 12, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Mar 12, 2024
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 12, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot dismissed aaythapa’s stale review March 12, 2024 17:35

Pull request has been modified.

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: a4562c2
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Mar 12, 2024

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This issue is a bug. effort/medium Medium work item – several days of effort p2 repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-stepfunctions: state.Retry is not iterable

4 participants