feat(issue-comment): accept multiple ISSUE_IDs - #208
Merged
Conversation
Switch `lc issue comment` from a single required positional arg to `allow_unknown_args: true`, matching the pattern used by `issue take`, `issue status`, `issue update`, and `issue move`. When multiple IDs are given the same comment body is posted to each issue concurrently via Task.async_stream (capped at 20 in flight, same as other bulk-mutation commands). Body resolution (prompt, -m text, or --body-file) happens once before the fan-out, using the first issue's context for the interactive prompt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
bougyman
approved these changes
Sep 3, 2026
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
lc issue commentnow accepts one or moreISSUE_IDarguments instead of exactly one, matching the pattern used byissue take,issue status,issue update, andissue moveTask.async_stream)-m,--body-file, or interactive prompt) happens once before the fan-out; the interactive prompt uses the first issue's contextTest plan
CRY-1is now captured viaunknowninstead of a named positional arg, invisibly to tests)multiple ISSUE_IDs each receive the comment— verifies twocommentCreatemutations fire for two IDsno ISSUE_IDs is a smells_bad error— verifies exit 22 with "No issue IDs provided!" when no IDs givenmix credopasses with no issuesmix format --check-formattedpassesLinearCli.GitTest, unrelated)Closes EXT-25
🤖 Generated with Claude Code