Skip to content

*: suppress git mirror refresh output by default#20

Merged
adityamaru merged 3 commits intomainfrom
adityamaru/quiet-git-mirror
Feb 4, 2026
Merged

*: suppress git mirror refresh output by default#20
adityamaru merged 3 commits intomainfrom
adityamaru/quiet-git-mirror

Conversation

@adityamaru
Copy link
Contributor

@adityamaru adityamaru commented Feb 4, 2026

Summary

Only show progress and verbose output when the verbose input is explicitly enabled. This reduces noise in logs for customers who don't need detailed git mirror debugging information.

Changes

  • Remove --progress flag from default git fetch args
  • Only add --progress and --verbose flags when verbose=true
  • Add silent: !verbose to suppress stdout/stderr when not in verbose mode

Testing

All existing tests pass. The change is backward compatible—existing workflows with verbose=true will continue to see full output.


Note

Low Risk
Small change to logging/exec options around git fetch; main risk is reduced diagnostic output if silent behavior differs across environments, mitigated by including stderr in errors.

Overview
Suppresses mirror refresh log noise by removing default --progress from git fetch and running the fetch in silent mode unless verbose=true.

When not verbose, failures now surface more useful details by appending trimmed stderr to the thrown git fetch failed error message (so the post-step logs still explain why the refresh failed).

Written by Cursor Bugbot for commit 9cf256b. This will update automatically on new commits. Configure here.

Only show progress and verbose output when the verbose input is explicitly enabled. This reduces noise in logs for customers who don't need detailed git mirror debugging information.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adityamaru adityamaru changed the title Suppress git mirror refresh output by default *: suppress git mirror refresh output by default Feb 4, 2026
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
When running in quiet mode (verbose=false), output is suppressed but
stderr is still captured. Include it in the error message so failure
details are visible for debugging even when not in verbose mode.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@adityamaru adityamaru merged commit 1e539a0 into main Feb 4, 2026
14 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.

1 participant