refactor(cli): extract pull-request workflow and remove IssueHelpers - #269
Merged
ruby-automation merged 1 commit intoSep 12, 2026
Merged
Conversation
Extract `create_pr!/3` and `issue_pr/2` from `LinearCli.CLI.IssueHelpers` into a new `LinearCli.CLI.Issue.PullRequest` module. Update `Actions` to dispatch the `:pr` option to `PullRequest.issue_pr/2` instead of `IssueHelpers`. Update `commands.ex` to alias `PullRequest` and remove the `IssueHelpers` alias. Delete `issue_helpers.ex` and migrate its two tests to `pull_request_test.exs`. Update all stale `IssueHelpers` references in doc comments across `cli.ex`, `rollover.ex`, `display.ex`, `issue_commands_test.exs`, and the EXT-48/49/50 modules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ruby-automation
force-pushed
the
EXT-51-extract-pull-request-workflow-remove-issuehelpers
branch
from
September 12, 2026 00:39
ced424a to
c3e55ff
Compare
ruby-automation
deleted the
EXT-51-extract-pull-request-workflow-remove-issuehelpers
branch
September 12, 2026 01:29
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
LinearCli.CLI.Issue.PullRequestwithcreate_pr!/3andissue_pr/2, extracted from the now-deletedLinearCli.CLI.IssueHelpersCLI.Issue.Actions.update_issue/2to dispatch the:proption toPullRequest.issue_pr/2instead ofIssueHelpersIssueHelpersalias fromcommands.ex; addPullRequestalias; update theIssueHelpers.issue_prcall siteissue_helpers.exand renameissue_helpers_test.exs→issue/pull_request_test.exs(same 2 tests, module updated)IssueHelpersdoc references acrosscli.ex,rollover.ex,display.ex,issue_commands_test.exs, and the EXT-48/49/50 modulesCloses EXT-51.
Test plan
mix precommitclean (format, credo --strict, full test suite)mix test— 493 passed (test-neutral: 2 IssueHelpers PR tests renamed to PullRequest module)mix compile --warnings-as-errorscleangrep -rn 'IssueHelpers' app/— only historical-context "former" references remain; zero functional references🤖 Generated with Claude Code