Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Problem

GitStatusStore logs every OUTPUT TRUNCATED and OUTPUT OVERFLOW error with console.debug, creating console spam in large repositories. These errors are common and handled gracefully by the system.

Solution

Filter out these specific error messages from logging. The git status script already has proper overflow handling via overflow_policy, so these messages provide no actionable information.

Changes

  • Skip logging for errors containing "OUTPUT TRUNCATED" or "OUTPUT OVERFLOW"
  • Other git status errors still logged normally for debugging
  • No behavior change, just reduces log noise

Testing

  • make static-check passes
  • Same error handling, just quieter logs

Filter out OUTPUT TRUNCATED and OUTPUT OVERFLOW errors from console.debug
logging in GitStatusStore. These errors are common in large repositories
and are handled gracefully by the system, so logging them just adds noise.

The git status script already has proper overflow handling via overflow_policy,
so these messages provide no actionable information to users.
@ammario ammario merged commit e0caa13 into main Oct 16, 2025
8 checks passed
@ammario ammario deleted the reduce-git-status-spam branch October 16, 2025 03:23
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