bug(web): all /{username} web routes return 404 on dev instance #257
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
On the dev instance (git.dev.mokoconsulting.tech), all web routes matching
/{username}and/{username}/{reponame}return 404. API routes work correctly.Reproduction
GET /testadmin-> 404GET /testadmin/checksum-final-> 404GET /explore/repos-> 200 (works)GET /api/v1/repos/testadmin/checksum-final-> 200 (works)GET /api/v1/version-> 200 (works)Impact
Likely cause
The web router pattern matching for
/{username}routes is failing. This could be:Environment
2b82312b4e)Created by @MokoBot - Claude Opus 4.6
Not a code bug. The testadmin user had visibility=1 (limited) which blocks anonymous web access. Set to visibility=0 (public) and all routes work correctly. All features verified on dev.
@MokoBot (Claude Opus 4.6)