Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some internal project id instead of project name #37410

Open
pva opened this issue Aug 3, 2022 · 12 comments
Open

Some internal project id instead of project name #37410

pva opened this issue Aug 3, 2022 · 12 comments

Comments

@pva
Copy link

pva commented Aug 3, 2022

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Version

22.8.0.dev0

Steps to Reproduce

  1. Cloned https://github.com/getsentry/self-hosted.git
  2. Configured a bit and run
  3. I created a new project named "auth".

Instead of the project name, I see 097bd3cc54a2:
изображение

Project name, that is auth, I see only in settings...

Expected Result

I expect to see auth everywhere I see 097bd3cc54a2.

Actual Result

изображение
изображение

@pva
Copy link
Author

pva commented Aug 3, 2022

I've tried Sentry 22.7.0 and I still have the same issue.

@getsentry-release
Copy link

Routing to @getsentry/open-source for triage. ⏲️

@ethanhs
Copy link
Contributor

ethanhs commented Aug 9, 2022

Hm, I wonder if we treat "auth" specially. I will try to reproduce this later today.

@ethanhs
Copy link
Contributor

ethanhs commented Aug 12, 2022

So I was able to reproduce this but I don't think it is related to running on self-hosted. Routing to the frontend team to look at this. I'm guessing we show the hash of the name since auth is special?

@getsentry-release
Copy link

Routing to @getsentry/app-frontend for triage. ⏲️

@dashed
Copy link
Member

dashed commented Aug 12, 2022

@pva @ethanhs It's a reserved project slug. The list of reserved project slugs are here:

RESERVED_PROJECT_SLUGS = frozenset(
(
"$all",
"api-keys",
"audit-log",
"auth",
"members",
"projects",
"rate-limits",
"repos",
"settings",
"teams",
"billing",
"payments",
"legal",
"subscription",
"support",
"integrations",
"developer-settings",
"usage",
)
)

@ethanhs
Copy link
Contributor

ethanhs commented Aug 12, 2022

@dashed do you know if it would be possible to show the name of a project even if it is reserved? Or just reject projects with those names? The current behavior is a bit un-intuitive.

@dashed
Copy link
Member

dashed commented Aug 12, 2022

@ethanhs I agree. I think rejecting project slugs with a validation error might be the right approach.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2022

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@billsbooth
Copy link

I renamed my project, and the entire build system has hopelessly imploded.

@getsantry
Copy link
Contributor

getsantry bot commented Mar 19, 2024

Routing to @getsentry/product-owners-settings-projects for triage ⏲️

@hubertdeng123
Copy link
Member

@billsbooth What does hopelessly imploded mean to you? What kind of errors are you seeing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: No status
Development

No branches or pull requests

9 participants