DEV Community

Cover image for What was your win this week?
Jess Lee Subscriber Community Curator for The DEV Team

Posted on

What was your win this week?

Community sharing badges and performance wins

👋👋👋👋
Looking back on your week -- what was something you're proud of?
All wins count -- big or small 🎉

Examples of 'wins' include:

  • Getting a promotion!
  • Starting a new project
  • Fixing a tricky bug
  • Remembering to drink your water every day 💧

Happy Friday!

A lays in a sink drinking out of the faucet.

Top comments (6)

Collapse
 
ben profile image
Ben Halpern The DEV Team •

DEV Performance gains of late 😊

DEV performance

Picked as gem
Collapse
 
hadil profile image
Hadil Ben Abdallah • • Edited
Collapse
 
ben profile image
Ben Halpern The DEV Team •

Congrats!

Collapse
 
hadil profile image
Hadil Ben Abdallah •

Thanks, Ben 🙌🏻

Collapse
 
georgekobaidze profile image
Giorgi Kobaidze •

I dunno. This?

But it's bittersweet considering which article earned me this badge, but maybe that's what makes it special.

Collapse
 
francistrdev profile image
FrancisTRᴅᴇᴠ •

Made a PR that fixes awarding DEV Contributor Club Badges:

Fix attribution issue for DEV Contributor Club Badges #24301

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [ ] Feature
  • [x] Bug Fix
  • [x] Optimization
  • [ ] Documentation Update

Description

Note: Generated by Gemma4

Some contributors were not receiving their "Contributor Club" badges (e.g., 16x-commit-club) despite having the required number of merged pull requests. This was primarily due to GitHub attribution issues where commits were not associated with the user's current GitHub ID (often caused by changes in verified emails).

This PR improves the badge awarding logic by complementing the total commit count with an explicit count of merged pull requests using the GitHub Search API.

Related Tickets & Documents

  • Related Issue #24243
  • Closes #24243

Added/updated tests?

  • [x] Yes
  • [ ] No, and this is why: please replace this line with details on why tests have not been included
  • [ ] I need help with writing tests

What gif best describes this PR or how it makes you feel?

Summary by CodeRabbit

  • New Features
    • Contributor badges now reflect activity from both commits and merged pull requests over the past 14 days, using whichever activity count is higher.
    • Contributors can qualify for badges through merged pull requests even when their commits aren’t attributed to them on GitHub.
  • Bug Fixes
    • Badge awards are more resilient when GitHub search requests encounter temporary errors or rate limits.