Skip to content

fix: temporarily turn off badge increments #177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 21, 2025
Merged

Conversation

liady
Copy link
Collaborator

@liady liady commented Jul 17, 2025

Turning off badge calls (temporarily)

@Copilot Copilot AI review requested due to automatic review settings July 17, 2025 23:16
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR temporarily disables the badge increment functionality by commenting out the incrementRepoViewCount call in the GenericRepoHandler. This is a temporary measure to turn off badge calls as stated in the description.

Key Changes:

  • Commented out the incrementRepoViewCount function call and its error handling
  • Maintained the original code structure for easy reversion

@@ -54,15 +54,15 @@ class GenericRepoHandler implements RepoHandler {
};
}

Copy link
Preview

Copilot AI Jul 17, 2025

Choose a reason for hiding this comment

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

Consider adding a TODO comment or ticket reference explaining when this code should be re-enabled, as this is described as a temporary change.

Suggested change
// TODO: Re-enable this code once the issue with incrementing repo view count is resolved.
// See ticket #12345 for details on the problem and the resolution plan.

Copilot uses AI. Check for mistakes.

@idosal idosal merged commit aeccdfe into main Aug 21, 2025
4 of 6 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