[claude] refactor: break up dispatch_issue() into helpers (#1187) #1188
Reference in New Issue
Block a user
Delete Branch "claude/issue-1187"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1187
Extracts three helper functions from
dispatch_issue()insrc/timmy/vassal/dispatch.py:_apply_label_to_issue()— gets/creates the label then applies it (18 lines)_post_dispatch_comment()— builds and posts the routing comment (22 lines)_perform_gitea_dispatch()— orchestrates label+comment with the httpx client (35 lines)dispatch_issue()is now 41 lines. All functions are ≤50 lines.tox -e unitgreen (293 passed).