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

fix(self-hosted): SOURCE_COMMIT #76139

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

joshuarli
Copy link
Member

This env var is read by sentry.get_revision. There are at least 3 self-hosted issue reports of people being confused by the frontend showing somethign like "24.3.0 unknown". Let's make that 24.3.0 self hosted.

As far as I can tell the sentry version is cosmetic (it isn't validated by anything / doesn't crash the cli):

SENTRY_BUILD="self hosted" sentry --version
sentry, version 24.8.0.dev0+self hosted

@joshuarli
Copy link
Member Author

oh actually this might be coming from __version__ = VERSION (which also defaults to unknown), one sec i need to actually take a closer look

@aldy505
Copy link
Contributor

aldy505 commented Aug 14, 2024

To be honest, this isnt a big deal at all, you don't have to fix this...

@asottile-sentry
Copy link
Member

the actual fix is in this line, funny typo on my part

--build-arg SOURCE_COMMIt=${{ github.sha }} \

This reverts commit ebe8899.
@joshuarli
Copy link
Member Author

the actual fix is in this line, funny typo on my part

--build-arg SOURCE_COMMIt=${{ github.sha }} \

lol moby/buildkit#2128

@joshuarli joshuarli requested a review from a team as a code owner August 14, 2024 18:04
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 14, 2024
@joshuarli joshuarli merged commit 3aa9054 into master Aug 15, 2024
34 checks passed
@joshuarli joshuarli deleted the self-hosted-include-vanity-SENTRY_BUILD branch August 15, 2024 06:24
@joshuarli joshuarli changed the title fix(self-hosted): less confusing SENTRY_BUILD fix(self-hosted): SOURCE_COMMIT Aug 15, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants