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.
CIRRUS_FAILED_TOPIC_ARN
andCIRRUS_INVALID_TOPIC_ARN
SNS Topicshave been deprecated, and the
CIRRUS_WORKFLOW_EVENT_TOPIC_ARN
Topic shouldbe used by subscriptions which need to act on failed or invalid workflows.
Fixed
already_processing
corrected toskipping(state="PROCESSING",...)
. ([fix: dne already_processing, instead skipping with state=PROCESSING #267])payload_id
was not passed properly toStateDB
for logging, via the statechange decorator. Updated the decorator to be a Descriptor, which may make
type checking happier. ([fix: passing payload_id into statedb decorator #270])
cirrus.lib2.utils.cold_start
to move overhead of botoclient/resource cache instantiation out of lambda function execution. ([added function 'cirrus.lib2.utils.cold_start' #272])
Added
cirrus-<stage>-workflow-event
SNS topic, andWorkflowEventManager
class for managing workflow event actions. ([Workflow event class #261])The actions managed by this class include:
updating state of workflows in
StateDB
announcing interactions cirrus has with a payload to the
cirrus-<stage>-workflow-event
Note: To use this topic, existing deployments will need to add the following
to their environment in both their
cirrus.yml
file:and add the Topic to their
cloudformation/resources.yml
file:Testing of python 3.12. ([Workflow event class #261])
SfnStatus
string enum added for StepFunctions execution statusstrings. ([Workflow event class #261])
Added check of status returned from AWS calls to update the
StateDB
table,which raises a
RuntimeError
including the response if the write fails.This addresses Issue [statedb needs to check dynamo responses and raise errors for non-success #202]. ([Migrate timestream calls to events #263])
Changed
StateEnum
tocirrus.lib2.enums
module for use acrosslib2
andbuiltins
. ([Workflow event class #261])EventDB
) events fromStateDB
toWorkflowEventManager
. ([Migrate timestream calls to events #263])WorkflowEventManager
state-changefunctions. ([Migrate timestream calls to events #263])