Skip to content

fix: Clean up diagnostic logging, respect debug settings#1119

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/debug-ai-worker-refactor-7qcPd
Jan 30, 2026
Merged

fix: Clean up diagnostic logging, respect debug settings#1119
braedonsaunders merged 1 commit into
mainfrom
claude/debug-ai-worker-refactor-7qcPd

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner
  • Remove all unguarded console.log statements that were bypassing the debug logger system
  • AI build order executor now uses debugAI.log for success messages
  • GameWorker spawn/entity logging now uses debugInitialization
  • Removed temporary render pipeline diagnostics from UnitRenderer, BuildingRenderer, and RenderStateAdapter
  • All remaining console.log calls are properly guarded with debugInitialization.isEnabled() so they respect UI toggle settings

This fixes the issue where AI debugging logs appeared even when turned off in the options UI.

https://claude.ai/code/session_01V4RhCiDvDJ7FmwSPYT74Y7

- Remove all unguarded console.log statements that were bypassing the
  debug logger system
- AI build order executor now uses debugAI.log for success messages
- GameWorker spawn/entity logging now uses debugInitialization
- Removed temporary render pipeline diagnostics from UnitRenderer,
  BuildingRenderer, and RenderStateAdapter
- All remaining console.log calls are properly guarded with
  debugInitialization.isEnabled() so they respect UI toggle settings

This fixes the issue where AI debugging logs appeared even when
turned off in the options UI.

https://claude.ai/code/session_01V4RhCiDvDJ7FmwSPYT74Y7
@braedonsaunders braedonsaunders merged commit e98cc9c into main Jan 30, 2026
4 checks passed
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