MCPcopy Create free account
hub / github.com/Tele-AI/Fluxon / _handle_rerun

Method _handle_rerun

fluxon_test_stack/gitops/gitops_lib.py:1641–1647  ·  view source on GitHub ↗
(self, parsed)

Source from the content-addressed store, hash-verified

1639 self._process_rerun(str(target))
1640
1641 def _process_rerun(self, target: str) -> None:
1642 try:
1643 repo, branch, commit = target.split(":", 2)
1644 except ValueError:
1645 self._send_json(400, {"error": "bad target format; expect repo:branch:commit"})
1646 return
1647
1648 follow_cfg = _get_follow_cfg_for_repo_branch(repo, branch)
1649 if not isinstance(follow_cfg, dict):
1650 self._send_json(400, {"error": f"unknown repo/branch in config: {repo} {branch}"})

Callers 1

do_GETMethod · 0.95

Calls 3

_send_jsonMethod · 0.95
_process_rerunMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected