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

AWS/SNS create endpoint without custom user data (SQCORE-1267) #2910

Merged

Conversation

supersven
Copy link
Contributor

@supersven supersven commented Dec 8, 2022

Previously, AWS/SNS endpoint creation included CustomUserData which was the UserId. This doesn't make sense anymore; given that a user may be attached with the same device (Android or iOS) and several accounts (several UserIds!) to the same backend. So, CustomUserData isn't added to the request, anymore.

This PR is experimental, as we have to check if it doesn't break anything on staging. (Unfortunately, that's the only environment for these kind of tests that we've at hand... 😞 )

This PR also includes trace logging (== logs with level Trace) of requests and responses sent dururing SNS endpoint creation.

Ticket

SQCORE-1267

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

…tomUserData (SQCORE-1267)

We need these trace logs to understand how AWS/SNS exactly
behaves. (Unfortunately, the documentation is a bit sparse.)

The sent CustomUserData used to be the UserId. This doesn't make sense
anymore; given that a user may be attached with the same device (Android
or iOS) and several accounts to the same backend.
@supersven supersven temporarily deployed to cachix December 8, 2022 09:09 — with GitHub Actions Inactive
@supersven supersven temporarily deployed to cachix December 8, 2022 09:09 — with GitHub Actions Inactive
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Dec 8, 2022
@supersven supersven marked this pull request as ready for review December 8, 2022 10:06
@supersven supersven merged commit 6f7e60f into develop Dec 8, 2022
@supersven supersven deleted the sventennie/SNS_create_endpoint_without_CustomUserData branch December 8, 2022 10:07
supersven added a commit that referenced this pull request Dec 8, 2022
supersven added a commit that referenced this pull request Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants