Skip to content

Commit d37caf0

Browse files
author
Alan Christie
committed
dev: Logs end of step and end of running workflow
1 parent 18d9a82 commit d37caf0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.cz.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
commitizen:
1010
name: cz_customize
1111
customize:
12-
schema_pattern: "^(?P<change_type>feat|fix|perf|refactor|remove|style|test|build|docs|chore|ci|BREAKING CHANGE)(?:\\((?P<scope>[^()\\r\\n]*)\\)|\\()?(?P<breaking>!)?:\\s(?P<message>.*)?"
13-
commit_parser: "^(?P<change_type>feat|fix|perf|refactor|remove|style|test|build|docs|chore|ci|BREAKING CHANGE)(?:\\((?P<scope>[^()\\r\\n]*)\\)|\\()?(?P<breaking>!)?:\\s(?P<message>.*)?"
12+
schema_pattern: "^(?P<change_type>feat|fix|perf|refactor|remove|style|test|build|docs|chore|ci|dev|BREAKING CHANGE)(?:\\((?P<scope>[^()\\r\\n]*)\\)|\\()?(?P<breaking>!)?:\\s(?P<message>.*)?"
13+
commit_parser: "^(?P<change_type>feat|fix|perf|refactor|remove|style|test|build|docs|chore|ci|dev|BREAKING CHANGE)(?:\\((?P<scope>[^()\\r\\n]*)\\)|\\()?(?P<breaking>!)?:\\s(?P<message>.*)?"
1414
# The changelog_pattern identifies the commit types
1515
# that will be included.
1616
# Build the changelog with 'cz ch' on the staging or production branches.

workflow/workflow_engine.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ def _handle_pod_message(self, msg: PodMessage) -> None:
334334
_LOGGER.debug("API.get_workflow(%s) returned: -\n%s", wfid, str(wf_response))
335335

336336
# We then inspect the Workflow to determine the next step.
337+
_LOGGER.debug("End of RunningWorkflowStep %s (%s)", r_wfsid, r_wfid)
337338
self._wapi_adapter.set_running_workflow_step_done(
338339
running_workflow_step_id=r_wfsid,
339340
success=True,
@@ -401,6 +402,7 @@ def _handle_pod_message(self, msg: PodMessage) -> None:
401402

402403
# If no launch was attempted we can assume this is the end of the running workflow.
403404
if not launch_attempted:
405+
_LOGGER.debug("End of RunningWorkflow %s", r_wfid)
404406
self._wapi_adapter.set_running_workflow_done(
405407
running_workflow_id=r_wfid,
406408
success=True,

0 commit comments

Comments
 (0)