Skip to content

chore(ui): remove debug console.log from renderer.tsx#7879

Closed
jeffa-block wants to merge 1 commit intoblock:mainfrom
jeffa-block:jeffa/cleanup-debug-logs-renderer
Closed

chore(ui): remove debug console.log from renderer.tsx#7879
jeffa-block wants to merge 1 commit intoblock:mainfrom
jeffa-block:jeffa/cleanup-debug-logs-renderer

Conversation

@jeffa-block
Copy link
Copy Markdown
Contributor

Why

renderer.tsx contains two startup debug logs that leak connection details (goosed host/port) to the browser DevTools console in production builds.

What

Remove 2 console.log statements from ui/desktop/src/renderer.tsx:

  • 'window created, getting goosed connection info'
  • 'connecting at', gooseApiHost

How to review

Single file, 2 lines deleted. No logic changes.

Testing

  • npm run build in ui/desktop — no compile errors
  • Manual: open Goose desktop, verify the app still connects to goosed. The only difference is silence in DevTools console.

Remove startup debug logs ('window created, getting goosed connection
info' and 'connecting at') that leak connection details to DevTools.
@DOsinga
Copy link
Copy Markdown
Collaborator

DOsinga commented Mar 26, 2026

Squashed into #8142

@DOsinga DOsinga closed this Mar 26, 2026
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.

2 participants