Skip to content

Generate readable usernames for local actors #85

Description

@2chanhaeng
  • Add @faker-js/faker to @drfed/graphql; derive usernames from
    faker.internet.username(), normalized to [a-z0-9_] for
    actors_username_check and common handle rules.
  • Retry on the (username, instance_id) unique conflict.
  • Build profileUrl from the username.
  • Update actor.test.ts.

Tracks the FIXME in generateActor() in packages/graphql/src/actor.ts.

AI disclosure

The user asked Claude Code (claude-fable-5-1) to survey every FIXME comment in the codebase and draft an issue for each. The user read and edited the drafts, then directed Claude Code to file them through the GitHub CLI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    Priority

    Low

    Effort

    Low

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions