Skip to content

Add issues bulk-update command#14

Merged
dubscode merged 2 commits intomainfrom
issue-8
May 9, 2026
Merged

Add issues bulk-update command#14
dubscode merged 2 commits intomainfrom
issue-8

Conversation

@dubscode
Copy link
Copy Markdown
Contributor

@dubscode dubscode commented May 9, 2026

Adds a new linear issues bulk-update command 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.

Copilot AI review requested due to automatic review settings May 9, 2026 04:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-update with dry-run resolution, configurable concurrency, and per-item success/failure aggregation + exit codes.
  • Extracts isIssueUpdateInput into 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.

Comment thread packages/cli/src/commands/issues-bulk-update.ts Outdated
Comment thread packages/cli/src/commands/issues-bulk-update.ts Outdated
Comment thread packages/cli/src/commands/issues-bulk-update.ts
@dubscode dubscode merged commit 90f746f into main May 9, 2026
5 checks passed
@dubscode dubscode deleted the issue-8 branch May 9, 2026 04:44
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

🎉 This PR is included in version 1.5.0-alpha.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 9, 2026

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants