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

[PAID] [VIP][Travel] handle errors when spotnana token isn't created #43780

Closed
rushatgabhane opened this issue Jun 14, 2024 · 24 comments
Closed
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@rushatgabhane
Copy link
Member

rushatgabhane commented Jun 14, 2024

Coming from #43081 (comment)

We should handle errors by showing a RBR when spotnana token can't be generated.
Do a pre-design for how errors should be handled, and then implement it.

2 - Make sure to do the same for AcceptSpotnanaTerms command

src/libs/actions/Travel.ts

Issue OwnerCurrent Issue Owner: @rushatgabhane
@rushatgabhane rushatgabhane added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Jun 14, 2024
Copy link

melvin-bot bot commented Jun 14, 2024

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@rushatgabhane
Copy link
Member Author

@strepanier03 please assign this issue to me

@melvin-bot melvin-bot bot added the Overdue label Jun 17, 2024
Copy link

melvin-bot bot commented Jun 17, 2024

@strepanier03 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@strepanier03
Copy link
Contributor

Assigned!

@rushatgabhane
Copy link
Member Author

no updates yet

@rushatgabhane
Copy link
Member Author

PR hit staging

Copy link

melvin-bot bot commented Jun 28, 2024

@strepanier03 @rushatgabhane this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Jun 28, 2024
Copy link

melvin-bot bot commented Jul 1, 2024

@strepanier03, @rushatgabhane Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented Jul 3, 2024

@strepanier03, @rushatgabhane 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Copy link

melvin-bot bot commented Jul 5, 2024

@strepanier03, @rushatgabhane 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

Copy link

melvin-bot bot commented Jul 9, 2024

@strepanier03, @rushatgabhane 12 days overdue now... This issue's end is nigh!

@melvin-bot melvin-bot bot removed the Daily KSv2 label Jul 12, 2024
Copy link

melvin-bot bot commented Jul 12, 2024

This issue has not been updated in over 14 days. @strepanier03, @rushatgabhane eroding to Weekly issue.

@rushatgabhane
Copy link
Member Author

PR above ^

@rushatgabhane
Copy link
Member Author

PR on staging and tests well

Copy link

melvin-bot bot commented Aug 7, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Aug 7, 2024
@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Aug 7, 2024
@melvin-bot melvin-bot bot changed the title [VIP][Travel] handle errors when spotnana token isn't created [HOLD for payment 2024-08-14] [VIP][Travel] handle errors when spotnana token isn't created Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.17-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-14. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Aug 7, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@rushatgabhane] The PR that introduced the bug has been identified. Link to the PR:
  • [@rushatgabhane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@rushatgabhane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@rushatgabhane] Determine if we should create a regression test for this bug.
  • [@rushatgabhane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 14, 2024
Copy link

melvin-bot bot commented Aug 14, 2024

Payment Summary

Upwork Job

BugZero Checklist (@strepanier03)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@strepanier03
Copy link
Contributor

@rushatgabhane - I'll check in later for the checklist.

@strepanier03
Copy link
Contributor

Friendly bump on the checklist so we can wrap this one up.

@melvin-bot melvin-bot bot added the Overdue label Aug 20, 2024
Copy link

melvin-bot bot commented Aug 20, 2024

@strepanier03, @rushatgabhane Eep! 4 days overdue now. Issues have feelings too...

@rushatgabhane
Copy link
Member Author

rushatgabhane commented Aug 21, 2024

  1. The PR that introduced the bug has been identified. Link to the PR: N.A. this was planned to be handled later

  2. The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N.A.

  3. A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N.A.

  4. Determine if we should create a regression test for this bug. Yes

  5. If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again

       1. Go to a new account that is on travel beta
       2. Green `+` > Book travel
       3. Click book travel
       4. Accept spotnana term
       5. Verify that if an error happens due to any reason like API being down, an error message is shown.
    

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2024
@JmillsExpensify
Copy link

$250 approved for @rushatgabhane

@strepanier03 strepanier03 changed the title [HOLD for payment 2024-08-14] [VIP][Travel] handle errors when spotnana token isn't created [PAID] [VIP][Travel] handle errors when spotnana token isn't created Aug 23, 2024
@strepanier03
Copy link
Contributor

REg test created and request is paid, closing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
Development

No branches or pull requests

3 participants