chore: Simplify native CLI setup internals - #1623
Conversation
Move install and uninstall process execution into a focused runner so the installer remains responsible for orchestration and current-process state. Keep command behavior and timeout handling unchanged while routing existing tests directly through the extracted owner.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe CLI install/uninstall process execution logic is extracted from ChangesCLI setup command runner extraction
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
No issues found across 4 files
You’re at about 91% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Summary
User Impact
Changes
NativeCliSetupCommandRunner.INSTALL_PROCESS_WAIT_SLICE_MSwith the execution logic; itsprivatetointernalvisibility change is required by the uninstall completion caller.System.DiagnosticsandSystem.Textimports fromNativeCliInstaller.out bool canceledcontract as-is.Verification
dist/darwin-arm64/uloop compile --project-path "$(git rev-parse --show-toplevel)"(0 errors, 0 warnings)NativeCliInstallerTests(33 passed)StaticFacadeStateGuardTests(20 passed)