Skip to content

Use a claimed username that passes Tuna's regexCheck, and test it for every site - #3648

Closed
hakarrr wants to merge 16 commits into
soxoj:mainfrom
hakarrr:hakarrr-patch-7
Closed

hakarrr wants to merge 16 commits into
soxoj:mainfrom
hakarrr:hakarrr-patch-7

Conversation

@hakarrr

@hakarrr hakarrr commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Tuna's usernameClaimed was bob, which fails the site's own regexCheck (^[a-z0-9]{4,40}$), so the site could never pass --self-check. This changes the claimed username to admin, which passes the regex, and regenerates db_meta.json (the data hash changed).

It also adds a test asserting that every enabled site with both regexCheck and usernameClaimed has a claimed username that matches its regex, so this class of mistake is caught automatically.

hakarrr and others added 16 commits December 2, 2026 17:45
Add test to ensure claimed usernames pass site regex checks.
…very site

Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
Co-authored-by: GeneralTony007 <144252170+GeneralTony007@users.noreply.github.com>
@hakarrr

hakarrr commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3650.

@hakarrr hakarrr closed this Dec 3, 2026
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.

1 participant