MCPcopy Create free account
hub / github.com/StackStorm/st2 / post_run

Method post_run

st2common/st2common/runners/base.py:305–315  ·  view source on GitHub ↗
(self, status, result)

Source from the content-addressed store, hash-verified

303 self.entry_point = entry_point
304
305 def post_run(self, status, result):
306 super(GitWorktreeActionRunner, self).post_run(status=status, result=result)
307
308 # Remove git worktree directories (if used and available)
309 if self.git_worktree_path and self.git_worktree_revision:
310 pack_name = self.get_pack_name()
311 self.cleanup_git_worktree(
312 worktree_path=self.git_worktree_path,
313 content_version=self.git_worktree_revision,
314 pack_name=pack_name,
315 )
316
317 def create_git_worktree(self, content_version):
318 """

Callers

nothing calls this directly

Calls 3

cleanup_git_worktreeMethod · 0.95
get_pack_nameMethod · 0.80
post_runMethod · 0.45

Tested by

no test coverage detected