Skip to content

fix(push): Failures in push notification should not fail verify code endpoint#20103

Merged
vbudhram merged 1 commit intomainfrom
dont-await-push
Feb 24, 2026
Merged

fix(push): Failures in push notification should not fail verify code endpoint#20103
vbudhram merged 1 commit intomainfrom
dont-await-push

Conversation

@vbudhram
Copy link
Copy Markdown
Contributor

@vbudhram vbudhram commented Feb 24, 2026

Because

  • A failure in sending a post verify push notification could cause the session verify code to timeout

This pull request

  • Removes the await on the push notification sending

Issue that this pull request solves

Closes: https://mozilla-hub.atlassian.net/browse/FXA-13185

Checklist

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Other information (Optional)

Any other information that is important to this pull request.

@vbudhram vbudhram requested a review from a team as a code owner February 24, 2026 16:54
@vbudhram vbudhram merged commit 8014bb0 into main Feb 24, 2026
21 checks passed
@vbudhram vbudhram deleted the dont-await-push branch February 24, 2026 17:28
await signinUtils.cleanupReminders({ verified: true }, account);
await push.notifyAccountUpdated(uid, devices, 'accountConfirm');
push.notifyAccountUpdated(uid, devices, 'accountConfirm').catch((err) =>
log.error('push.accountConfirm.error', { uid, err })
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Collect metric too so we can alert?

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.

3 participants