Open IuliiaHerets opened 4 days ago
Triggered auto assignment to @dylanexpensify (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.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Triggered auto assignment to @jasperhuangg (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
💬 A slack conversation has been started in #expensify-open-source
Triggered auto assignment to @stitesExpensify (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
💬 A slack conversation has been started in #expensify-open-source
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Sorry, was confused with blocker label
@IuliiaHerets next time add both labels, they're used to indicate that the bug could either be from the front-end or the back-end.
These logs seem suspect, I'll try to reproduce on my own account to see if I run into the same issue. Need to wait for the beta cache to refresh though.
The logs indicate that the authPartnerID stored with the restored token we're passing to the CreateLogin command isn't recognized.
When I reproduce on my test Android device I can't seem to reproduce the issue. It sends the stores the same partnerID as on Web/Desktop/iPhone, which is the NewDot partnerID recognized by the back-end.
The logs for the OP seem to show that we stored the Android partnerID with the authToken, which isn't recognized by the back-end.
Going to ask in Slack for some more context about how we decide which partnerID to send with each request since I lack context.
Ah I was finally able to repro. The tester is testing using HybridApp. When we sign into HybridApp on Android/iPhone and then switch to NewDot, the authToken is created with partnerID = 14 or 16 (i.e. PARTNER_NAME_IPHONE or PARTNER_NAME_ANDROID). When we try to call CreateLogin with an authToken with those partnerIDs, it isn't recognized here and throws.
We need to either:
Gonna ask in Slack for some feedback on these options.
NewDot Copilot lives behind a beta, so I don't think we need to block deploy on this.
Triggered auto assignment to @twisterdotcom (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.
Hey @twisterdotcom! I'm heading out on parental leave so reassigning this! TY! 🙇♂️
Have some feedback in the Slack thread to look into calling SignInWithShortLivedAuthToken
to get a NewDot token when switching to NewDot. It seems that's what we do in other cases when switching from OldDot to NewDot.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.50-0 Reproducible in staging?: N Reproducible in production?: N If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5097100 Email or phone of affected tester (no customers): applausetester+jp_2171024@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
User able to switch to own account from copilot account
Actual Result:
Error appears:
Oops something went wrong
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/05af81de-e678-484e-b33e-b7ebdb662fc7
View all open jobs on GitHub