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 2024-04-05] Chat - Video does not resume playing after regaining internet connection #36903

Closed
6 tasks done
lanitochka17 opened this issue Feb 20, 2024 · 16 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 20, 2024

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


Version Number: 1.4.43-2
Reproducible in staging?: Y
Reproducible in production?: N
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Navigate to staging.new.expensify.com
  2. Go to chat
  3. Upload a video
  4. Go offline after upload is complete
  5. Play the video
  6. Go online
  7. Note that it loads infinitely
  8. (Web and desktop app only) Open the video in full screen
  9. Note that it loads
  10. Return to chat view

Expected Result:

In Step 6, after returning online, the video should load without issue
In Step 10, the video in the chat view will play because it loads successfully in Step 8

Actual Result:

In Step 6, after returning online, the video still loads infinitely
In Step 10, the video in the chat view does not load

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6385632_1708430500983.bandicam_2024-02-20_14-41-24-977.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 20, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 20, 2024
Copy link
Contributor

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

Copy link

melvin-bot bot commented Feb 20, 2024

Triggered auto assignment to @mountiny (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@mountiny
Copy link
Contributor

I do feel like this is a new feature and it would not have to be a deploy blocker @francoisl

@kowczarz
Copy link
Contributor

kowczarz commented Feb 20, 2024

Hey! I will take a look on it, but I agree with @mountiny, the mentioned PR didn't introduce regression since it's a new feature and I think #36906 is a similar case.

@francoisl francoisl added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 20, 2024
@melvin-bot melvin-bot bot added Overdue and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Feb 20, 2024
@mountiny
Copy link
Contributor

@kowczarz any updates

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Feb 23, 2024
@Skalakid
Copy link
Contributor

Hey, I will continue @kowczarz's investigation and take a look on it :D

Copy link

melvin-bot bot commented Mar 1, 2024

@eVoloshchak, @mountiny, @Skalakid, @kowczarz Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@Skalakid
Copy link
Contributor

Skalakid commented Mar 4, 2024

Hi, I investigated the issue and created a fix for it #37674. The problem is probably connected to expo-av implementation, however we can simply fix it by forcing video player to restart video loading by changing its uri inside

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Mar 29, 2024
@melvin-bot melvin-bot bot changed the title Chat - Video does not resume playing after regaining internet connection [HOLD for payment 2024-04-05] Chat - Video does not resume playing after regaining internet connection Mar 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 29, 2024
Copy link

melvin-bot bot commented Mar 29, 2024

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

Copy link

melvin-bot bot commented Mar 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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-04-05. 🎊

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

  • @eVoloshchak requires payment through NewDot Manual Requests
  • @Skalakid does not require payment (Contractor)
  • @kowczarz does not require payment (Contractor)

@mountiny
Copy link
Contributor

I beelive we can close this one now

@eVoloshchak
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: this is a problem with expo-av implementation
  • 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
  • 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: I don't think an additional discussion is needed, we already have the following item in PR reviewer checklist: I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

Regression Test Proposal

  1. Navigate to staging.new.expensify.com
  2. Go to chat
  3. Upload a video
  4. Go offline after the upload is complete
  5. Play the video
  6. Go online
  7. Verify that the video loads
  8. (Web and desktop app only) Open the video in full screen
  9. Verify that the video loads

Do we agree 👍 or 👎

@eVoloshchak
Copy link
Contributor

@mountiny, I forgot to finish this one, could you post a payment summary please?

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 Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants