Skip to content

refactor: remove debug console.log statements from hot-path components#668

Open
neuron-tech-ai wants to merge 1 commit into
jamiepine:mainfrom
neuron-tech-ai:refactor/remove-debug-logs
Open

refactor: remove debug console.log statements from hot-path components#668
neuron-tech-ai wants to merge 1 commit into
jamiepine:mainfrom
neuron-tech-ai:refactor/remove-debug-logs

Conversation

@neuron-tech-ai
Copy link
Copy Markdown

Removes leftover console.log statements from story playback, the API client, and other components that run on every interaction. These were added during development and not removed before merge.

Two reasons to remove them: (1) console output in production is noise that makes real errors harder to spot, and (2) string interpolation for log messages has a small but real cost in tight loops.

Strips bracket-prefixed debug traces that were left in from development
from the model-download client method, download toast hook, model
progress component, story store, and story playback hook.  Startup
lifecycle logs in App.tsx are left intact as they are useful signal for
desktop app diagnostics.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

Warning

Rate limit exceeded

@neuron-tech-ai has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 2 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 880422bf-6d97-4f72-b7ae-39798d81fea9

📥 Commits

Reviewing files that changed from the base of the PR and between b35b909 and 73ebd26.

📒 Files selected for processing (5)
  • app/src/components/ServerSettings/ModelProgress.tsx
  • app/src/lib/api/client.ts
  • app/src/lib/hooks/useModelDownloadToast.tsx
  • app/src/lib/hooks/useStoryPlayback.ts
  • app/src/stores/storyStore.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

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