Skip to content

Revert bundled skills installer; restore pinned [email protected] - #30207

Merged
nwparker merged 1 commit into
mainfrom
nwparker/revert-bundled-skills
Oct 18, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/revert-bundled-skills

Conversation

@nwparker

@nwparker nwparker commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 13 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​246 $\color{#cf222e}{\Huge{\mathbf{−}}}$​498 $\color{#cf222e}{\Huge{\mathbf{−}}}$​252
Prod 18 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​172 $\color{#cf222e}{\Huge{\mathbf{−}}}$​511 $\color{#cf222e}{\Huge{\mathbf{−}}}$​339

ELI5

Restore the existing skills installation commands while a teammate develops the separate installer. Install and update commands use the exact [email protected] version again.

What Changed

Fully revert #30185: remove the bundled installer, its build/packaging hooks, dependency, and new command forwarding. Restore the previous CLI, managed updates, and interactive setup commands. The shared version pin already existed, so no additional implementation is needed beyond the revert.

Why

Avoid duplicating the teammate’s installer work. A straight revert is the smallest change that restores the requested pinned invocation and existing behavior.

Linked Issue

Maintainer-requested revert of #30185; no separate issue.

Visual Proof

N/A — restores previous command generation and execution; no layout or styling changes. Existing setup-command tests cover the restored behavior.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

On macOS with ORCA_BACKGROUND_LAUNCH=1:

  • Frozen lockfile install with lifecycle scripts disabled passed.
  • 166 existing tests across nine suites passed: shared command pin, CLI install/update, managed updates, runtime verifier, and settings/onboarding command generation.
  • All typecheck projects passed with --compiler=native. Default pnpm tc needs the Bun install script, which was intentionally skipped by this local install.
  • Process-host import guard and commit-time Oxlint/React Doctor lint/format checks passed.
  • Verified the complete resulting tree exactly matches the parent of Ship the locked skills installer instead of executing npx #30185’s merge commit; no unrelated changes.

Full packaging, rendered app, and live Windows/WSL/SSH checks are left to CI; no end-to-end skill installation was run locally.

Review

Reviewed the restored shared builder and its three callers: all use [email protected], and skill content stays pinned to the app build commit. Existing agent targeting, prompts, cancellation, and platform command handling return unchanged. The other dependency cleanup PRs remain intact.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

The exact installer version is pinned, but npm still resolves its dependencies outside Orca’s lockfile. This deliberately restores the small existing approach while the separate installer is developed. No new overrides. Leave this PR unmerged for maintainer review.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

Reverts #30185 so the separate installer project can proceed. The restored shared command already pins [email protected] for CLI, desktop updates, and setup commands.
@coderabbitai

coderabbitai Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2a1aaaed-bd5e-408e-8eaa-52a3846fc701
📥 Commits

Reviewing files that changed from the base of the PR and between 4baacca and 6916b6f.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 30
  • config/process-host-direct-import-baseline.txt
  • config/scripts/build-orcad.mjs
  • config/scripts/build-skills-installer.mjs
  • config/scripts/build-skills-installer.test.mjs
  • config/scripts/electron-builder-runtime-resources.test.mjs
  • config/scripts/verify-skills-cli-runtime.cjs
  • config/scripts/verify-skills-cli-runtime.test.mjs
  • package.json
  • src/cli/handlers/skills-wsl-forward.test.ts
  • src/cli/handlers/skills-wsl-forward.ts
  • src/cli/handlers/skills.ts
  • src/cli/root-help-text-primary.ts
  • src/cli/skills.test.ts
  • src/cli/specs/skills.ts
  • src/main/ipc/skills.ts
  • src/main/skills/skill-update-run.test.ts
  • src/main/skills/skill-update-run.ts
  • src/renderer/src/components/onboarding/onboarding-feature-setup.test.ts
  • src/renderer/src/components/settings/CliSkillRuntimeSetup.test.tsx
  • src/renderer/src/components/settings/CliSkillRuntimeSetup.tsx
  • src/renderer/src/components/settings/OrchestrationPane.test.tsx
  • src/renderer/src/components/settings/linear-agent-skill-install-cta.test.tsx
  • src/renderer/src/components/sidebar/LinearAgentSkillSetupPrompt.test.tsx
  • src/shared/agent-feature-install-commands.test.ts
  • src/shared/agent-feature-install-commands.ts
  • src/shared/bundled-skills-installer.test.ts
  • src/shared/bundled-skills-installer.ts
  • src/shared/cli-argument-boundary.ts
  • src/shared/orcad-artifacts.ts
  • src/shared/skill-freshness.ts
💤 Files with no reviewable changes: 10
  • src/cli/handlers/skills-wsl-forward.test.ts
  • config/scripts/build-skills-installer.test.mjs
  • src/shared/bundled-skills-installer.test.ts
  • config/scripts/build-skills-installer.mjs
  • src/shared/orcad-artifacts.ts
  • config/scripts/build-orcad.mjs
  • src/shared/bundled-skills-installer.ts
  • config/scripts/electron-builder-runtime-resources.test.mjs
  • src/cli/handlers/skills-wsl-forward.ts
  • src/shared/cli-argument-boundary.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

📝 Walkthrough

The CLI and background skill updater now run the version-pinned skills CLI through npx. Generated setup commands use the same command format, and Windows setup checks for npx. The bundled installer, its build and packaging steps, and its runtime verification are removed.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 6916b

No actionable merge-blocking issue is established. The dependency declarations are synchronized, and the checked runtime failure paths remain handled; the change is mergeable after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 13.04% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 23 functions across 18 files. (2 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main change: reverting the bundled installer and restoring the pinned [email protected] flow.
Description check Passed The description includes the required sections, explains the user-facing and implementation changes, documents the maintainer-requested issue exception, records testing and limitations, and completes …
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.
Full details: Description check

Explanation

The description includes the required sections, explains the user-facing and implementation changes, documents the maintainer-requested issue exception, records testing and limitations, and completes the checklist.

Full details: Docstring Coverage

Explanation

Docstring coverage is 13.04% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 23 functions across 18 files. (2 skipped: 2 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

  • Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@nwparker
nwparker merged commit d4aa9dc into main Oct 18, 2026
68 checks passed
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