refactor(cli): extract issue creation and assignment workflows - #268
Merged
ruby-automation merged 1 commit intoSep 12, 2026
Merged
Conversation
Moves `make_da_issue!/1` into `CLI.Issue.Creation` and `gimme_da_issue!/2` into `CLI.Issue.Assignment`, leaving `IssueHelpers` with only the remaining shared helpers. Updates all call sites in `Commands`, splits tests into focused files, and drops the moved tests from `IssueHelpersTest` and `ProfileDefaultsTest`. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ruby-automation
force-pushed
the
EXT-50-extract-issue-creation-and-assignment
branch
from
September 12, 2026 00:01
d679039 to
aa9dcf1
Compare
ruby-automation
deleted the
EXT-50-extract-issue-creation-and-assignment
branch
September 12, 2026 00:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make_da_issue!/1and all private helpers fromIssueHelpersinto newCLI.Issue.Creationgimme_da_issue!/2and all private helpers fromIssueHelpersinto newCLI.Issue.AssignmentCommandsandProfilesto the new modules (no shims, no logic duplication)creation_test.exsandassignment_test.exs; removes the moved blocks fromIssueHelpersTestandProfileDefaultsTestCloses EXT-50. Depends on EXT-48 (
CLI.Issue.IdentifiersandCLI.Issue.WorkflowStates), already merged asfe2199b.Test plan
mix precommitclean: format ✓, credo strict (736 mods/funs, no issues) ✓, 493 tests pass ✓CLI.Issue.CreationTest— 1 test coveringmake_da_issue!/1with team/label/project resolutionCLI.Issue.AssignmentTest— 6 tests covering allgimme_da_issue!/2branches (already-assigned, self-assign, status resolution, case-insensitive match, unknown status error, stateId mutation when already assigned)ProfileDefaultsTestupdated to callCreation.make_da_issue!directly — profile fallback behaviour unchanged🤖 Generated with Claude Code