GitLab Duo commented on merge request !3 at Bluefly.io / OssA / Lab / GITLAB OpenStandardAgent

GitLab Duo
2026-03-16T01:02:16Z

This metrics update will incorrectly accumulate vote counts across multiple calls for the same post. The metrics should track total votes received, not add the current vote counts repeatedly.

SocialVotesReceived.WithLabelValues("up").Set(float64(result.Upvotes))
SocialVotesReceived.WithLabelValues("down").Set(float64(result.Downvotes))