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-01-30] [HOLD for payment 2024-01-25] [HOLD for payment 2024-01-24] [$500] Android - App crashes when downloading attachments #34569

Closed
1 of 6 tasks
kbecciv opened this issue Jan 16, 2024 · 29 comments
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 Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Jan 16, 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.25-4
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:

Precondition: user has a device running Android 14

  1. Open the app and log in
  2. Navigate to a chat with some attachments
  3. Open any attachment
  4. Tap the download icon

Expected Result:

The attachment has been successfully downloaded, the pop-up is displayed

Actual Result:

The app crashes

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

Bug6343839_1705372708927.video_2024-01-15_21-37-31.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d74c3eb5115eee4f
  • Upwork Job ID: 1747295636132077568
  • Last Price Increase: 2024-01-16
Issue OwnerCurrent Issue Owner: @kadiealexander
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jan 16, 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 Jan 16, 2024

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

@Gonals
Copy link
Contributor

Gonals commented Jan 16, 2024

@kbecciv, I can't seem to reproduce this on Staging (Android).

@mountiny
Copy link
Contributor

@situchan could repro on android 14 and not in android 11

@mkhutornyi
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

App crashes when download attachment on android 14

What is the root cause of that problem?

compileSdkVersion = 34
targetSdkVersion = 34

Our app's targetSdkVersion = 34
So it's known upstream issue - RonRadtke/react-native-blob-util#303
Fixed in RonRadtke/react-native-blob-util#306

What changes do you think we should make in order to solve the problem?

Solution 1: bump react-native-blob-util to latest version
Solution 2: apply local patch for the fix in RonRadtke/react-native-blob-util#306
Solution 3: lower targetSdkVersion to 33 (RonRadtke/react-native-blob-util#303 (comment))

@mountiny
Copy link
Contributor

Discussed in slack, lets do the patch for now and then test updating to latest

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jan 16, 2024
@mountiny mountiny added External Added to denote the issue can be worked on by a contributor Bug Something is broken. Auto assigns a BugZero manager. labels Jan 16, 2024
@melvin-bot melvin-bot bot changed the title Android - App crashes when downloading attachments [$500] Android - App crashes when downloading attachments Jan 16, 2024
Copy link

melvin-bot bot commented Jan 16, 2024

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

Copy link

melvin-bot bot commented Jan 16, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01d74c3eb5115eee4f

@melvin-bot melvin-bot bot added Daily KSv2 Help Wanted Apply this label when an issue is open to proposals by contributors and removed Weekly KSv2 labels Jan 16, 2024
Copy link

melvin-bot bot commented Jan 16, 2024

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

@mountiny
Copy link
Contributor

Adding appropriate labels here and PR is ready for review.

@mkhutornyi To clarify, I think for a full reward here, we should do the full update of the package as you have mentioned in your solutions to remove the patch, which is just to resolve the deploy blocker.

Once we handle that deploy blocker, can you raise a PR for an update of the package/ removal of the patch where we can do a full review/ testing?

@mkhutornyi
Copy link
Contributor

@mountiny sure, happy to do that

@melvin-bot melvin-bot bot changed the title [$500] Android - App crashes when downloading attachments [HOLD for payment 2024-01-24] [$500] Android - App crashes when downloading attachments Jan 17, 2024
Copy link

melvin-bot bot commented Jan 17, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 17, 2024
Copy link

melvin-bot bot commented Jan 17, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.25-10 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-01-24. 🎊

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

  • @mkhutornyi requires payment (Needs manual offer from BZ)
  • @situchan requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jan 17, 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:

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

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Jan 17, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-01-24] [$500] Android - App crashes when downloading attachments [HOLD for payment 2024-01-25] [HOLD for payment 2024-01-24] [$500] Android - App crashes when downloading attachments Jan 18, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 18, 2024
Copy link

melvin-bot bot commented Jan 18, 2024

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

Copy link

melvin-bot bot commented Jan 18, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.26-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-01-25. 🎊

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

  • @mkhutornyi requires payment (Needs manual offer from BZ)
  • @situchan requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jan 18, 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:

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 23, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-01-25] [HOLD for payment 2024-01-24] [$500] Android - App crashes when downloading attachments [HOLD for payment 2024-01-30] [HOLD for payment 2024-01-25] [HOLD for payment 2024-01-24] [$500] Android - App crashes when downloading attachments Jan 23, 2024
Copy link

melvin-bot bot commented Jan 23, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.29-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 2024-01-30. 🎊

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

  • @mkhutornyi requires payment (Needs manual offer from BZ)
  • @situchan requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Jan 23, 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:

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

Copy link

melvin-bot bot commented Jan 30, 2024

Payment Summary

Upwork Job

BugZero Checklist (@kadiealexander)

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

@kadiealexander kadiealexander added Daily KSv2 and removed Weekly KSv2 labels Jan 31, 2024
@kadiealexander
Copy link
Contributor

@situchan don't forget about the checklist!

@situchan
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: chore: Update React Native to 0.73.2 #31558
  • 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: https://github.com/Expensify/App/pull/31558/files#r1472293552
  • 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
  • Determine if we should create a regression test for this bug. No need as this was caught during staging regression testing.
  • 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.

@situchan
Copy link
Contributor

FYI: I don't need payment here

@kadiealexander
Copy link
Contributor

Thanks @situchan

@kadiealexander
Copy link
Contributor

@mkhutornyi please accept the Upwork contract!

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 Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

7 participants