Skip to content

Conversation

@kaizencc
Copy link
Contributor

The reprocessing workflow has a retry mechanism built in that retries common S3 failures with decreasing amounts of objects requested. However this retry mechanism was incorrectly chained and results in immediately ending the execution rather than going to the next task. In practice this means that the reprocessing workflow continues as normal until it hits the DataLimitExceeded s3 error, enters the retry, and subsequently ends. We are not reprocessing everything that is indexed in construct hub.

The current state machine graph for the reprocess workflow is:

stepfunctions_graph (1)

The changes in this PR result in:

stepfunctions_graph

Note that the change is that all tasks in the retry mechanism point to Is There More on success.


Note

Construct Hub previously used aws-cdk-lib version 2.189.0 which was subject to this step functions regression, causing test deploys to fail. I updated to the earliest working version, 2.194.0, and also needed to update snapshot tests.


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

kaizencc and others added 3 commits December 10, 2025 10:57
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@cdklabs-automation cdklabs-automation added this pull request to the merge queue Dec 10, 2025
Merged via the queue into main with commit e2c06c1 Dec 10, 2025
7 checks passed
@cdklabs-automation cdklabs-automation deleted the conroy/fix-state-machine branch December 10, 2025 16:12
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