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

[C#] Disable nullish coalescing to empty strings in ENV #144

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

omacranger
Copy link
Member

Description

Disables nullish coalescing of empty strings during ENV parsing. Since null values from ENVs were coalesced to empty strings "" these would be sent to the GraphQL API and stored with the corresponding build / snapshot. This is especially problematic for custom IDs which are used as a grouping behavior for builds and can be easily done unintentionally with the current behavior.

Project / Branches are coalesced to empty strings before hashing in the backend which should make this backwards compatible for baseline hash matching.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)

@omacranger omacranger merged commit 69a3680 into main Sep 30, 2024
2 checks passed
@omacranger omacranger deleted the bugfix/empty-dotnet-envs branch September 30, 2024 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants