-
-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(verbose): Disable spinner when verbose. Add trace logs #331
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #331 +/- ##
==========================================
- Coverage 90.41% 90.19% -0.22%
==========================================
Files 48 48
Lines 2588 2602 +14
Branches 535 536 +1
==========================================
+ Hits 2340 2347 +7
- Misses 248 255 +7 ☔ View full report in Codecov by Sentry. |
📝 WalkthroughWalkthroughThis pull request updates the command used for running Repomix locally and refines some internal logging behavior. The CLI command in documentation and contributing guidelines has been changed from Sequence Diagram(s)sequenceDiagram
participant User as User
participant Terminal as Terminal
participant Package as package.json
participant App as Repomix App
User->>Terminal: Run "npm run repomix"
Terminal->>Package: Invoke "repomix" script
Package->>Package: Execute build process
Package->>App: Run repomix.cjs (optionally via repomix-src/repomix-website)
App-->>User: Application starts
sequenceDiagram
participant Logger as Logger
participant Spinner as Spinner
Logger->>Spinner: Call isVerboseEnabled()
Spinner->>Spinner: Set isEnabled = (not verbose)
Spinner->>Spinner: start() method checks isEnabled
alt Spinner is enabled
Spinner->>UI: Display spinner animation
else
Spinner-->>Spinner: Skip spinner updates
end
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (19)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used🪛 GitHub Check: codecov/patchsrc/shared/logger.ts[warning] 12-13: src/shared/logger.ts#L12-L13 src/cli/cliSpinner.ts[warning] 20-21: src/cli/cliSpinner.ts#L20-L21 [warning] 33-35: src/cli/cliSpinner.ts#L33-L35 ⏰ Context from checks skipped due to timeout of 90000ms (9)
🔇 Additional comments (19)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Checklist
npm run test
npm run lint