Skip to content

Bounty.claimedBy is a raw GitHub username with no stable id, so every profile link breaks silently if a contributor renames their GitHub handle #203

Closed

Description

@chonilius

src/types/index.ts#Bounty models the claimer purely as a username string:

export interface Bounty {
  ...
  claimedBy?: string;
  ...
}

Every place this app links from a bounty to the claimer's profile builds the URL directly
from this string: BountyCard.tsx displays claimed by {bounty.claimedBy}, and
src/app/reputation/[handle]/page.tsx is reached via /reputation/${handle} links built
from exactly this kind of raw handle (see Navbar.tsx's /reputation/${user.username}
and DashboardShell.tsx's hardcoded /reputation/priyaeth).

GitHub usernames are mutable — a user can rename their account at any time. mergefi-backend's
Bounty/User entities presumably have a stable numeric/UUID id (every other relation in
RawBounty, like claimedBy?: RawUser | null, is keyed off a real user object), but
adaptBounty only extracts claimedBy?.username, discarding any stable identifier. Once
a contributor renames their GitHub handle, every historical bounty's claimedBy field —
and any link built from it — now points at a username that no longer resolves to that
person, with no way to recover the association from the frontend's data alone.

Suggested fix: carry a stable user id alongside the display username on Bounty
(claimedById/claimedByHandle), and adapt profile links to use the stable id where the
backend supports it, falling back to username only for display text.

Activity

  1. added
    bug
    architecture
    good first issue
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 24, 2026
  3. Isihaq123 commented on Aug 24, 2026

    @Isihaq123

    @Isihaq123 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I will like to work on this issues please assign me

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Isihaq123 to this issue.

  4. Lanhubs commented on Aug 24, 2026

    @Lanhubs

    @Lanhubs has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I’d love to take this on! I have strong experience implementing these exact patterns and can deliver a clean, production-ready solution that hits all acceptance criteria.

    My approach will focus on writing modular, well-documented code with comprehensive test coverage for both success paths and edge cases.

    I'm ready to get started immediately. Could you please assign this to me?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Lanhubs to this issue.

  5. aliyuHabibu commented on Aug 24, 2026

    @aliyuHabibu

    @aliyuHabibu has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer please assign this issue to me. Thank you

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @aliyuHabibu to this issue.

  6. jajackwork-cpu commented on Aug 24, 2026

    @jajackwork-cpu

    @jajackwork-cpu has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer! I’m interested in contributing to this task and can ensure timely delivery with clean implementation.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @jajackwork-cpu to this issue.

  7. Mathew2k-hash commented on Aug 24, 2026

    @Mathew2k-hash

    @Mathew2k-hash has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I'd like to work on this issue because it addresses an important data-integrity problem with historical bounty ownership. I can update the bounty model and adapter to preserve a stable user identifier while keeping the username for display, then update profile links to use the stable ID where supported. I’ll also ensure existing behavior remains compatible and add the necessary tests to prevent regressions.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Mathew2k-hash to this issue.

  8. Halimatyemisi commented on Aug 24, 2026

    @Halimatyemisi

    @Halimatyemisi has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello, I'd like to
    contribute to this issue and would appreciate the opportunity to work on it. Thank you.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Halimatyemisi to this issue.

  9. Johnjnr1 commented on Aug 24, 2026

    @Johnjnr1

    @Johnjnr1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi, I'd like to work on this issue! because I am very conversant with solving problems like this!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Johnjnr1 to this issue.

  10. OZILSOLAR commented on Aug 24, 2026

    @OZILSOLAR

    @OZILSOLAR has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    OZILSOLAR
    Hi team!!!!
    I came across this issue and would love to work on it. I have experience with similar tasks and I'm confident I can investigate, implement a clean solution, and thoroughly test it before submitting a PR. If the issue is still open, I would appreciate it if you could assign it to me. Thank you!!!!!!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @OZILSOLAR to this issue.

  11. NEA-DEV-coder commented on Aug 24, 2026

    @NEA-DEV-coder

    @NEA-DEV-coder has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi maintainer, kindly assign me this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @NEA-DEV-coder to this issue.

  12. davidishere1 commented on Aug 24, 2026

    @davidishere1
    Contributor

    @davidishere1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I can work on this please

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @davidishere1 to this issue.

  13. lauferuqquyah commented on Aug 24, 2026

    @lauferuqquyah

    @lauferuqquyah has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi, i would like to work on this issue.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @lauferuqquyah to this issue.

  14. ogbemercyada-sketch commented on Aug 24, 2026

    @ogbemercyada-sketch

    @ogbemercyada-sketch has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer,
    I would like to contribute to this project.
    Thank you

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @ogbemercyada-sketch to this issue.

  15. JesseJohn7 commented on Aug 24, 2026

    @JesseJohn7

    @JesseJohn7 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Can I please work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @JesseJohn7 to this issue.

  16. 0yOla commented on Aug 24, 2026

    @0yOla

    @0yOla has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hello Maintainer, I’ve carefully reviewed the issue and fully understand the requirements. I’m confident I can implement a clean, efficient solution that meets the acceptance criteria,please assign this issue to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @0yOla to this issue.

  17. drips-wave commented on Aug 24, 2026

    @drips-wave

    Congratulations, @davidishere1! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @davidishere1: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  18. added a commit that references this issue on Aug 25, 2026
    6650f3e
  19. drips-wave commented on Aug 25, 2026

    @drips-wave

    This issue has been completed by @davidishere1 as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @davidishere1: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  20. removed
    Stellar Wave
    on Oct 15, 2026
  21. added
    Stellar Wave
    on Oct 15, 2026
  22. removed
    Stellar Wave
    on Oct 15, 2026
  23. added
    Stellar Wave
    on Oct 15, 2026
  24. removed
    Stellar Wave
    on Oct 15, 2026
  25. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wavearchitecturebuggood first issuehelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions