Closed lanitochka17 closed 3 months ago
: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 @carlosmiceli (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
We think that this bug might be related to #vip-vsp
@mollfpr @b4s36t4 This one seems related to your PR https://github.com/Expensify/App/pull/44702 can you please confirm if revert fixes it?
Not fixed by the revert, going to mark this as external
Job added to Upwork: https://www.upwork.com/jobs/~0163f99f868835a727
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 (External
)
In you proposals, you must include the offending PR. If you can highlight which PR caused it without a fix for the bug (the fix is a revert) a partial $50 reward will go your way
@mountiny ther is no option to view the group image in the confirm page in production so it looks like this come from this PR #41586 that add a feature to view a group chat custom avatar.
Also I noticed a behaviour : If you wait for some time before viewing the image it works fine and display the image after the first refresh. Check the video below. ( but it doesn't work if you refresh it for one more time )
https://github.com/user-attachments/assets/2c8ee18a-2afb-402b-aa87-7a2497fc6388
So I think what happened is that: After refreshing the page the app trying trying to fetch the image from the backend, but it seems that it didn't get uploaded yet so the file is not found. When I try with a small size image and wait for sometime before veiwing the image it works because the image has been uploaded.
And here is the error message from the console.
The not found file message
Not Completely sure, but I think the same PR also cause this issue #45842. I mentioned the PR there too.
Avatar loads infinitely when refreshing full screen avatar on confirmation page
The image uploaded while creating group is optimistically saved locally in the form of blob
URI. The blob data would be cleared once we refresh the page. As the result, console would throw ERR_FILE_NOT_FOUND
and the attachment view modal would show loading:
and the group avatar in confirmation RHP would be reset to default.
Normally for an image to be uploaded to the CDN, we need to call the corresponding update avatar API and the BE will handle the upload. We haven't had any approaches solving the case of optimistic image data.
Offending PR: This has happened ever since we allowed viewing the custom avatar in full screen while creating group in https://github.com/Expensify/App/pull/41586.
We should not allow View photo
option if the image uri indicates a local file FileUtils.isLocalFile(url)
:
Or we can revert the shouldDisableViewPhoto
that had been removed in https://github.com/Expensify/App/pull/41586 and use in in NewChatConfirmationPage
.
cc @nexarvo Can you check this one ๐
I saw this issue in Upwork. I tried the same step but now it is not reproducible, is it fix or still reproducible ?
๐ฃ @NaveedShaikh78! ๐ฃ Hey, it seems we donโt have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Is it still reproducible?
Avatar spinner shown when refreshing full screen avatar page and on new group chat confirmation page
PR https://github.com/Expensify/App/pull/41586 enables viewing group avatar in full screen. When user creates new group, the data is stored in onyx newChatDraft, but the avatar is stored as blob uri string. The blob uri string won't be available when the user refresh the app.
We could store the avatar image as base64 string in onyx and use it in new/chat/confirm page. If we need to fix this issue quickly, I have made a draft PR.
Good points, I think this is minor issue and @nexarvo @s77rt should be able to handle this as not a blocker
We are proceeding with the revert here https://github.com/Expensify/App/pull/45863 so this will most likely be fixed after that
In you proposals, you must include the offending PR. If you can highlight which PR caused it without a fix for the bug (the fix is a revert) a partial $50 reward will go your way
@mountiny Based on this, will I get paid for highlighting the PR?
Upwork job price has been updated to $50
Triggered auto assignment to @RachCHopkins (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.
๐ฃ @Ahmed-Abdella ๐ An offer has been automatically sent to your Upwork account for the Contributor role ๐ Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer 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 ๐
Yeah $50 to @Ahmed-Abdella
Offer accepted, Thanks @mountiny
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.11-5 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-08-01. :confetti_ball:
For reference, here are some details about the assignees on this issue:
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:
No checklist needed ^ Offending PR has been reverted
Can we close this?
@carlosmiceli, @Ahmed-Abdella is due payment for finding offending PR
Understood!
@carlosmiceli, @s77rt, @RachCHopkins, @mountiny, @Ahmed-Abdella Eep! 4 days overdue now. Issues have feelings too...
I'm here Melvin! Sorry, busy week last week!
Summary $50 to @Ahmed-Abdella for help with this deploy blocker and finding the offending PR.
As we have reverted the offending change the checklist can be skipped
Payment Summary:
Contributor: @Ahmed-Abdella paid $50 via Upwork
Contributor has been paid, the contract has been completed, and the Upwork post has been closed.
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: 9.0.10-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: N/A Issue reported by: Applause - Internal Team
Action Performed:
. Go to staging.new.expensify.com
Expected Result:
Avatar will load after refreshing the page
Actual Result:
Avatar loads infinitely when refreshing full screen avatar on confirmation page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/d52a99e0-681c-4524-93ad-4811b972243e
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @RachCHopkins