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

fix(@aws-amplify/analytics)!: do not attempt to delete unused endpoints #7245

Merged
merged 2 commits into from
Nov 20, 2020

Conversation

iartemiev
Copy link
Member

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lgtm-com
Copy link

lgtm-com bot commented Nov 20, 2020

This pull request introduces 1 alert and fixes 1 when merging bdde247 into 31c7199 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

fixed alerts:

  • 1 for Unused variable, import, function or class

@iartemiev iartemiev force-pushed the pinpoint-dont-remove-endpoints branch from bdde247 to dca2a41 Compare November 20, 2020 16:34
@lgtm-com
Copy link

lgtm-com bot commented Nov 20, 2020

This pull request fixes 1 alert when merging dca2a41 into 31c7199 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

BREAKING CHANGE: Analytics will no longer attempt to automatically delete old endpoints on updateEndpoint
@iartemiev iartemiev force-pushed the pinpoint-dont-remove-endpoints branch from dca2a41 to efde74b Compare November 20, 2020 16:47
@lgtm-com
Copy link

lgtm-com bot commented Nov 20, 2020

This pull request fixes 1 alert when merging efde74b into 31c7199 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

@codecov
Copy link

codecov bot commented Nov 20, 2020

Codecov Report

Merging #7245 (efde74b) into main (31c7199) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7245      +/-   ##
==========================================
+ Coverage   73.05%   73.11%   +0.06%     
==========================================
  Files         213      213              
  Lines       13379    13342      -37     
  Branches     2521     2615      +94     
==========================================
- Hits         9774     9755      -19     
+ Misses       3439     3392      -47     
- Partials      166      195      +29     
Impacted Files Coverage Δ
...ges/analytics/src/Providers/AWSPinpointProvider.ts 77.62% <100.00%> (+2.92%) ⬆️
packages/auth/src/OAuth/OAuth.ts 56.11% <0.00%> (ø)
packages/core/src/Credentials.ts 31.51% <0.00%> (ø)
packages/analytics/src/Analytics.ts 63.58% <0.00%> (ø)
packages/datastore/src/sync/index.ts 14.53% <0.00%> (ø)
packages/datastore/src/sync/outbox.ts 24.00% <0.00%> (ø)
packages/datastore/src/storage/storage.ts 71.66% <0.00%> (ø)
packages/core/src/OAuthHelper/GoogleOAuth.ts 33.33% <0.00%> (ø)
packages/core/src/Util/Reachability.native.ts 37.50% <0.00%> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31c7199...b5e053a. Read the comment docs.

Copy link
Contributor

@sammartinez sammartinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🌮

Copy link
Contributor

@manueliglesias manueliglesias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Manuel Iglesias <[email protected]>
@iartemiev iartemiev merged commit d11009a into aws-amplify:main Nov 20, 2020
@lgtm-com
Copy link

lgtm-com bot commented Nov 20, 2020

This pull request fixes 1 alert when merging b5e053a into 31c7199 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

Copy link
Contributor

@elorzafe elorzafe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me thanks @iartemiev ! 🌮

@joebernard
Copy link

This merge seems to have reintroduced an old issue. See #7251 .

@dylan-westbury
Copy link

As @joebernard has mentioned, we have had to set our amplify version to a previous as inactive endpoints don't clear and once user reaches 10 they cannot receive any more push notifications.

CryogenicPlanet pushed a commit to MLH-Fellowship/amplify-js that referenced this pull request Jan 20, 2021
…ts (aws-amplify#7245)

BREAKING CHANGE: Analytics will no longer attempt to automatically delete old endpoints on updateEndpoint
@GeorgeBellTMH
Copy link

Can we please get this and the corresponding change in cli reverted? This is causing all sorts of problems...

@GeorgeBellTMH
Copy link

@iartemiev @sammartinez @manueliglesias @elorzafe can we get some idea why this change was made? It is breaking functionality, there is no explanation why it was needed, no ticket it was related to, and there is no response to many complaints about it breaking functionality....can we get some idea of what is being done to fix the issue?

@github-actions
Copy link

github-actions bot commented Feb 7, 2022

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants