-
-
Notifications
You must be signed in to change notification settings - Fork 237
ref(build): Add client-side validation for SHA fields #2945
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
605f074 to
a8ffcd4
Compare
### Description Add client-side validation for SHA fields. Also, don't send these fields' values if the user overrides them with an empty string like `--head-sha ""`. ### Issues - Resolves #2941 - Resolves [CLI-224](https://linear.app/getsentry/issue/CLI-224/skip-serializing-certain-fields-for-build-upload)
a8ffcd4 to
f23e55c
Compare
runningcode
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great as is! We also want to be able to empty the other auto-inferred params like vcs-provider, base-ref, head-ref, repo-name, and pr-number.
Aha, got it, I can probably fix that as well (should be simpler; I'll just add the clearing ability without validation for those) |
Add client-side validation for SHA fields. Also, don't send these fields' values if the user overrides them with an empty string like `--head-sha ""`. - Resolves #2941 - Resolves [CLI-224](https://linear.app/getsentry/issue/CLI-224/skip-serializing-certain-fields-for-build-upload)
f23e55c to
d26e21d
Compare
Add client-side validation for SHA fields. Also, don't send these fields' values if the user overrides them with an empty string like `--head-sha ""`. - Resolves #2941 - Resolves [CLI-224](https://linear.app/getsentry/issue/CLI-224/skip-serializing-certain-fields-for-build-upload)
d26e21d to
9760a73
Compare
### Description Add client-side validation for SHA fields. Also, don't send these fields' values if the user overrides them with an empty string like `--head-sha ""`. ### Issues - Ref #2941 - Ref [CLI-224](https://linear.app/getsentry/issue/CLI-224/skip-serializing-certain-fields-for-build-upload)
9760a73 to
a2cef20
Compare

Description
Add client-side validation for SHA fields. Also, don't send these fields' values if the user overrides them with an empty string like
--head-sha "".Issues
build upload#2941