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

[HOLD for payment 2023-07-06] [$1000] iOS - Thread - LHN is cut if swipe away from thread and chat #20514

Closed
1 of 6 tasks
kbecciv opened this issue Jun 9, 2023 · 37 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Jun 9, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Issue found when executing PR #19185

Action Performed:

  1. Open iOS app on a real device
  2. Open a chat
  3. Long press a message in chat that doesn't have a thread
  4. Tap "Reply in thread"
  5. Swipe thread screen to the right to close it and land in chat
  6. Swipe chat screen to the right to close it and land in LHN
  7. Repeat steps 2-6 if you cannot initially reproduce

Expected Result:

LHN is displayed screen-wide without any issues

Actual Result:

There is an empty space at the bottom of the LHN after swiping from the thread

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.26.1

Reproducible in staging?: Yes

Reproducible in production?: Yes

If this was caught during regression testing, add the test name, ID and link from TestRail:

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug6086634_IMG_7883.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01558dcf5b3e274d73
  • Upwork Job ID: 1668283079090876416
  • Last Price Increase: 2023-06-12
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jun 9, 2023
@OSBotify
Copy link
Contributor

OSBotify commented Jun 9, 2023

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

Triggered auto assignment to @amyevans (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@amyevans
Copy link
Contributor

amyevans commented Jun 9, 2023

  • I'm able to reproduce both when swiping back and using the back button, on my physical iPhone on version 1.3.26.0
  • I'm unable to reproduce this on a simulator on main
  • I'm unable to build locally to my physical iPhone to further test/debug:
error:Failed to prepare the device for development. This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your Mac and device in order to correctly detect compatibility.

As next steps I'll try to resolve that Xcode error and also take a look through the PRs on staging to see if something sticks out.

cc @mountiny in case you have any initial thoughts. It feels like it could still be related to the navigation refactor, though I'm not positive.

@melvin-bot
Copy link

melvin-bot bot commented Jun 9, 2023

Looks like something related to react-navigation may have been mentioned in this issue discussion.

As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

Feel free to drop a note in #expensify-open-source with any questions.

@situchan
Copy link
Contributor

situchan commented Jun 9, 2023

Navigation refactor is already on production so should not be related.

@amyevans
Copy link
Contributor

amyevans commented Jun 9, 2023

I got my local build issues sorted 🎉 , will continue to look for the PR causing the issue

@amyevans
Copy link
Contributor

amyevans commented Jun 9, 2023

Ok I feel like I'm going a little bit insane with this one (in that I'll test against a commit once and not be able to repro the bug, then test again later and it's reproducible, so I start to question if I can trust my testing or if I need to "start over", or what exactly is going on).

But I decided to take a step back and install the production app and retest there, and I am able to reproduce the bug:

20514-repro.mov

So I think at the least this isn't a Deploy Blocker (cc @roryabraham curious if you agree). It doesn't happen the first time doing the action, but on any subsequent repeats of the action it does. Video 2 after a fresh sign in:

20514-repro-2.mov

@amyevans
Copy link
Contributor

amyevans commented Jun 9, 2023

I also confirmed on main that it doesn't happen on the first time swiping but does on subsequent, so that is consistent with production. I'm going to go ahead and remove the DeployBlockerCash label.

@mountiny / @WoLewicki, on Monday would y'all mind taking a look at this one to determine if it's indeed related to the navigation refactor? 🙇‍♀️

@amyevans amyevans added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jun 9, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 12, 2023
@amyevans
Copy link
Contributor

Going to a get a BZ member assigned here as well as open it up for external help.

@melvin-bot melvin-bot bot removed the Overdue label Jun 12, 2023
@amyevans amyevans added the Bug Something is broken. Auto assigns a BugZero manager. label Jun 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@amyevans amyevans added the External Added to denote the issue can be worked on by a contributor label Jun 12, 2023
@melvin-bot melvin-bot bot changed the title iOS - Thread - LHN is cut if swipe away from thread and chat [$1000] iOS - Thread - LHN is cut if swipe away from thread and chat Jun 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01558dcf5b3e274d73

@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

Current assignee @slafortune is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jun 12, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 12, 2023
@mountiny mountiny moved this from Review Proposals to In Progress in Navigation Refactor Follow-ups Jun 16, 2023
@fedirjh
Copy link
Contributor

fedirjh commented Jun 16, 2023

@mountiny @amyevans This issue is reproducible on latest main on simulator as well

Screen.Recording.2023-06-16.at.12.11.16.PM.mov

@mountiny
Copy link
Contributor

@fedirjh nice did you try on the branch?

@fedirjh
Copy link
Contributor

fedirjh commented Jun 16, 2023

@mountiny Yes, I have tested both the branch and the iOS build, and it appears to be working fine on both the simulator and a real device.

@mountiny
Copy link
Contributor

I see you commented there, thanks! We might have ti investigate a different solution which wont disable the react-freeze to prevent any performance regressions.

@mountiny mountiny moved this from In Progress to Higher Priority in Navigation Refactor Follow-ups Jun 19, 2023
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jun 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 20, 2023

📣 @adamgrzybowski You have been assigned to this job by @mountiny!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@mountiny
Copy link
Contributor

Assigning Adam as he has worked on the original refactor hence his task now is to fix all the follow up bugs and he got around to this one. Hence no proposal in this case from them.

@mountiny mountiny moved this from Higher Priority to Review External PR in Navigation Refactor Follow-ups Jun 20, 2023
@adamgrzybowski
Copy link
Contributor

Video of the newly found related problem and reproduction steps:

  1. Open the first chat
  2. Deeplink to another chat
  3. Deeplink again to chat that is not currently opened
  4. Select the input field
  5. Swipe back
  6. Swipe back again
ios.mov

Currently looking for a solution for this

@adamgrzybowski
Copy link
Contributor

Hey, update on this issue. Here is PR to fix that. I just updated this PR so the patch for react-native matches the changes that are proposed here to fix this upstream.

@melvin-bot
Copy link

melvin-bot bot commented Jun 27, 2023

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

  • when @adamgrzybowski got assigned: 2023-06-20 14:59:49 Z
  • when the PR got merged: 2023-06-27 19:53:19 UTC
  • days elapsed: 5

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jun 29, 2023
@melvin-bot melvin-bot bot changed the title [$1000] iOS - Thread - LHN is cut if swipe away from thread and chat [HOLD for payment 2023-07-06] [$1000] iOS - Thread - LHN is cut if swipe away from thread and chat Jun 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 29, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jun 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 29, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.34-1 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 2023-07-06. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented Jun 29, 2023

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:

  • [@fedirjh] The PR that introduced the bug has been identified. Link to the PR:
  • [@fedirjh] 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:
  • [@fedirjh] 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:
  • [@fedirjh] Determine if we should create a regression test for this bug.
  • [@fedirjh] 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.
  • [@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@mountiny mountiny moved this from Review External PR to Done in Navigation Refactor Follow-ups Jul 4, 2023
@mountiny
Copy link
Contributor

mountiny commented Jul 4, 2023

@slafortune Only payment here is to @fedirjh and thats $1000 for reviewing and testing the PR.

Thanks for working on this. I have created Monthly issue as a reminder for us to remove the patch once we get the fix in the RN release #22155 We can close this after the payment

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 5, 2023
@slafortune
Copy link
Contributor

@fedirjh offer sent!

@slafortune
Copy link
Contributor

Paid!

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 Engineering External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Development

No branches or pull requests

8 participants