Tell HN: Gitlab.com doesn't allow issue search without signing in
I'm shocked by the user hostility. There's zero chance I'm going to move my open source projects to gitlab.com if users can't even search the issue tracker without creating a GitLab account and signing in. Truly baffling decision.
I was so shocked I dug deeper and tracked down the offending code and MRs that introduced them (appreciate the ability to do this, I'll give them that). This is controlled by a feature flag :disable_anonymous_search and manifests as <div class="js-issues-list" data-is-anonymous-search-disabled="true" ...> in rendered HTML. Relevant MRs from 10 months ago:
- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70223
- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70249
I don't see any justification given, but the former MR says "Related to #340716" which doesn't link to anywhere, and https://gitlab.com/gitlab-org/gitlab/-/issues/340716 is 404, so maybe something internal?
The feature flag also doesn't appear to be default-on for self-hosted instances.
Edit: Removed a potentially controversial aside since I don’t want to steer the conversation that way.
22 comments
[ 3.2 ms ] story [ 67.6 ms ] threadhttps://gitlab.com/gitlab-org/gitlab/-/issues/
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70223
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/70249
Note that github has something similar: the code search does not work if not logged in. They don't restrict issue search however.
I imagine keeping Gitlab.com performant has been really difficult with their growth, and keeping expensive operations open is counter productive to that objective.
I dont use it for anything myself currently and will stick with codeberg, sourcehut and during working hours, github.
Still, I'd rather use GitLab ober GitHub.
As a result, I don't make accounts on sites anymore unless it's unavoidable. Whether or not its free doesn't enter into it.
Every account is one thing more that you're responsible for, that you have to remember, can be hacked, will send you spam, etc.
Was testing a new program, and wanted to search the issues to see if someone had the same sort of UI problems I had (and hopefully a fix). No luck there.
I then googled to see if someone had a workaround for the GitLab search issue, and found your post :p
Decided to not switch to the new app.