Repository navigation
Add CI that runs an order through the durable workflow - #1
Merged
Merged
Conversation
test.sh starts an execution, checks the payment retries and the parked callback, restarts LocalStack while it waits, confirms the payment and checks the result, history, DynamoDB record and notifications. Claude-Session: https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM
AWS CLI v2 treats --result as a blob and rejected the JSON with 'Invalid base64'. The README command had the same problem. Claude-Session: https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repo had no CI and no test.
test.shfollows the README walkthrough with a fresh order ID:payment_attemptsin DynamoDB)RUNNINGand the orderAWAITING_CONFIRMATIONRESTART_CMDset, LocalStack restarts while the execution waits, and the execution is stillRUNNINGafterwardssend-durable-execution-callback-success, the executionSUCCEEDEDwith the orderFULFILLED, 3 payment attempts, the charge ID and the confirmation in the resultStepSucceededexactly once, plusCallbackSucceededFULFILLEDwith its charge, and both EMAIL and SMS notifications reach the SQS sink--persist, deploys withlstk cdk, and runs the test withRESTART_CMD="lstk restart".send-durable-execution-callback-successnow passes--cli-binary-format raw-in-base64-out. AWS CLI v2 treats--resultas a blob, so the documented command failed withInvalid base64.Verified by CI.
https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM