(self, parsed)
| 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}"}) |
no test coverage detected