Skip to content

Commit

Permalink
Fixed WorkflowRun State creation business logic
Browse files Browse the repository at this point in the history
* WorkflowRun State creation is WRSC timestamp dependant.
  It needs to check "time window" condition before saving
  and emitting (relaying) WRSC event.
  • Loading branch information
victorskl committed Aug 24, 2024
1 parent 8bbd692 commit bad848a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def handler(event, context):
wfr.save()

# create the related state & payload entries for the WRSC
create_workflow_run_state(wrsc=wrsc, wfr=wfr)
# create_workflow_run_state(wrsc=wrsc, wfr=wfr) # FIXME State creation is "time window" WRSC timestamp dependant

# if the workflow run is linked to library record(s), create the association(s)
input_libraries: list[LibraryRecord] = wrsc.linkedLibraries
Expand Down

0 comments on commit bad848a

Please sign in to comment.