Skip to content

refactor(cli): split oversized command modules - #9775

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/linear-p0-lint-followup
Jul 21, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/linear-p0-lint-followup

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • split the MCP-style Linear command specs into a focused module without changing the registered command surface
  • split SSH relay argument parsing into a focused module without changing parsing behavior
  • restore max-lines compliance after the four sequential Linear P0 merges
  • incorporate the newly published v1.4.149-rc.1.issue7936 skill snapshot and assign the combined post-stack bytes one new revision: orca-linear 4 and legacy linear-tickets 6

Validation

  • pnpm exec oxlint --format unix (0 errors; pre-existing warnings only)
  • 70 focused CLI and SSH tests pass
  • pnpm run typecheck:node
  • pnpm run typecheck:cli
  • pnpm run verify:skill-bundle-manifest after fetching all release tags

Context

Follow-up to #9667, #9672, #9674, and #9670. The stack intentionally reused the unreleased orca-linear revision 3; a release tag published during landing froze revision 3, so the final combined content now correctly receives one revision bump rather than one bump per feature PR. The Windows Notepad E2E failure on #9672 was unrelated and flaky: the immediately following Unicode paste and replace-selection tests passed.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Updated skill release mappings, revisions, digests, and file checksums for linear-tickets and orca-linear. Added centralized MCP command specifications for four Linear commands. Extracted SSH remote CLI argument parsing and typed flag helpers into a new module, then updated remote command execution and legacy dispatch to use them, including host passthrough fallback and interactive-command rejection.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The description covers summary and validation, but it omits required sections like Screenshots, AI Review Report, Security Audit, and Notes. Add the missing template sections, including Screenshots, the checklist-style Testing section, AI Review Report, Security Audit, and Notes.
✅ Passed checks (3 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly matches the main refactor: splitting oversized CLI and SSH command modules.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@brennanb2025
brennanb2025 force-pushed the brennanb2025/linear-p0-lint-followup branch from 0487b64 to 7e7c19c Compare July 21, 2026 20:33
@brennanb2025
brennanb2025 merged commit f1c84d3 into main Jul 21, 2026
19 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant