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

ref: Switch the internal representation of project IDs from ints over to char*s #690

Merged
merged 4 commits into from Mar 30, 2022

Conversation

relaxolotl
Copy link
Contributor

@relaxolotl relaxolotl commented Mar 29, 2022

Much like getsentry/sentry-rust#452, this does what it says in the title. This tries to future-proof project IDs as they aren't guaranteed to be numbers forever. Project IDs are now treated as opaque strings, and minimal validation is now applied to them to reflect that fact.

jira breadcrumb: NATIVE-502

@relaxolotl relaxolotl requested a review from a team March 29, 2022 02:12
src/sentry_utils.c Outdated Show resolved Hide resolved
src/sentry_utils.c Outdated Show resolved Hide resolved
@relaxolotl
Copy link
Contributor Author

I've rebased the branch off of #692 which is stacked on top of #691 so this can properly run against the CI again. Changes have also been made to reflect the original expectations that served as the underlying motivation for the change; All feedback should be addressed by the new changes.

This PR should be ready for a second look.

@relaxolotl relaxolotl merged commit f6eda12 into master Mar 30, 2022
@relaxolotl relaxolotl deleted the ref/string-project-ids branch March 30, 2022 21:59
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.

None yet

2 participants