Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new linear issues bulk-update command to apply issue updates in batch, supporting both a shared payload (--ids + --input/--input -/--input-file) and per-issue payloads (--input-file JSON array). This aligns with the previously requested batch update + dry-run workflow (see repo issue #8).
Changes:
- Introduces
issues bulk-updatewith dry-run resolution, configurable concurrency, and per-item success/failure aggregation + exit codes. - Extracts
isIssueUpdateInputinto a shared guard module so single-issue update and bulk-update validate payloads consistently. - Adds command examples to root help and adds unit tests for parsing and aggregation behavior.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/cli/src/commands/issues-bulk-update.ts | Implements parsing, stdin/file reading, concurrency runner, exit-code logic, and registers the new command. |
| packages/cli/src/commands/issue-guards.ts | Adds shared isIssueUpdateInput guard. |
| packages/cli/src/index.ts | Wires issues bulk-update into the CLI and reuses the extracted guard for single-issue update. |
| packages/cli/src/help/root-help.ts | Adds usage examples for the new bulk-update command. |
| packages/cli/tests/issues-bulk-update.test.ts | Adds tests for bulk input parsing and mixed success/failure aggregation + exit codes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version 1.5.0-alpha.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Adds a new
linear issues bulk-updatecommand with shared-payload and per-issue file input modes, dry-run resolution, concurrency control, and per-item result aggregation. Reuses the issue update payload guard for both existing single-issue updates and the new bulk command, and updates issue help examples. Validation:pnpm verify.