getsentry / getsentry/sentry

Vercel integration - commit association not working after adding SENTRY_RELEASE environemnt variable.

Open
#65,412 5 comments 0 reactions 0 assignees View on GitHub
Bug Product Area: Settings - Integrations
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
1d 5h
Merged PRs (30d)
624

Description

### Environment

SaaS ([https://sentry.io/]())

### Steps to Reproduce

There seems to be a limitation to the our Vercel Integration's commit association feature when renaming releases using environment variable.

1. Setup GIthub integration
2. Setup Vercel integration
3. Configure Vercel integration with a project
4. Create a new Vercel deployment
With the default settings, a new release named after the last commit SHA is created with associated commits.
5. Add a new SENTRY_RELEASE environment variable in (Project Settings -> Environment Variables) to name releases using SemVer
6. Create a new deployment in Vercel

### Expected Result

A new release is created in Sentry following SemVer versioning and commits are associated with it.

### Actual Result

A new release is created with correct SemVer name but with no associated commits.

### Product Area

Settings - Integrations

### Link

*No response*

### DSN

*No response*

### Version

*No response*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.