fix(update): only suggest IDE restarts when needed - #1656
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesUpdate restart guidance
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The update summary now shows IDE restart guidance only when applicable; this is a localized output change with no actionable merge-blocking risk remaining after normal checks. Possibly related PRs
Suggested reviewers: 🚥 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 |
Status: LGTM
What was wrong
openspec initalready avoids restart guidance for CLI tools, butopenspec updateprinted “Restart your IDE” after every successful refresh. Claude Code, Codex, Gemini CLI, and other command-line tools therefore received an instruction that could not help them.How it was fixed
The update summary now shows the existing restart hint only when an IDE-resident tool successfully received commands or skills. The tool metadata and generation rules already used by init remain the source of truth. No command behavior, configuration, generated files, or workflow architecture changed.
Replication / proof
pnpm run buildpnpm run lintpnpm test -- --maxWorkers=4 --reporter=dot: 3,971 tests passed across 136 files.Notes / nits
This is an output-only patch with a patch changeset. It does not change OpenSpec design, schemas, file formats, or user workflows.
Closes #1608
Summary by CodeRabbit