-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-03] HIGH: [Reliability] [$500] Unread fevicon does not show for new messages / unread messages #38256
Comments
Triggered auto assignment to @garrettmknight ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Unread fevicon does not show for new messages / unread messages. What is the root cause of that problem?This is about module importing in JS. In
When we used Line 33 in 34930fe
This has happened since we migrated What changes do you think we should make in order to solve the problem?We should use Line 29 in 34930fe
What alternative solutions did you explore? (Optional)NA |
I'd like to review this as C+ since I have context while reviewing similar issues: |
Job added to Upwork: https://www.upwork.com/jobs/~011928bada81510714 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
ProposalPlease re-state the problem that we are trying to solve in this issue. Unread favicon does not show for new messages What is the root cause of that problem? We need to update unreadReports and sync What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.The favicon for unread is missing! Great catch btw What is the root cause of that problem?This is a regression from the typescript migration: #25231 I believe this is a case of "Side effect imports" to understand the issue in depth. What changes do you think we should make in order to solve the problem?I agree with the previous post that we should import everything with Confirmed this solution with the docs from https://www.typescriptlang.org/docs/handbook/2/modules.html What alternative solutions did you explore? (Optional) |
@garrettmknight Please assign @situchan as C+ here, I'll unassign myself here. |
❌ There was an error making the offer to @situchan for the Contributor role. The BZ member will need to manually hire the contributor. |
Thanks |
Thanks for the proposals. While @jeremy-croff's root cause is more accurate, I think it's not fair for @gijoe0295 to ignore their efforts to find offending PR and solution first. Pointing out the offending PR itself mostly covers the root cause. @jeremy-croff please feel free to comment with the reason if you disagree. |
Triggered auto assignment to @deetergp, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I know this situation is a bit complicated because I also feel bad for suggesting the same solution. The only improvement I could find was to remove the unnecessary lint rule. However, based on your explanation, I would like to clarify a few things. Firstly, I was the one who identified the problematic PR and linked it to TypeScript migration, not @gijoe0295. Secondly, it appears that @gijoe0295 only edited the PR to indicate that the issue was caused by TypeScript migration after the fact."er I posted this root cause |
As we know the offending line, the PR could have been identified in a few seconds using git bisect or git lens ![]() |
@jeremy-croff I think you might be mistaken here. I edited my proposal to point to TS migration before you did. And we all know which PR it is without explicitly link the PR 😄. |
@situchan I see what you mean. His root cause states specifically it's a wrong import, and that's it.But that import hadn't changed in over a year and that is why I wanted to point out the real root cause. He then posted he posted 3 lines of code all with different git history. For example it could've been the default export that occured during writing of the unit test of 8c3c4e2 also 2 months ago. since the import never changed right. When I wrote my proposal I thought it would provide the actual clarity. As it brought in the specifics and the history the bug. Not leave you to assume based on your own usage of gitlens on 1 of the refererred lines of code. But now I also see that @gijoe0295 edited his proposal to mention typescript, but I don't have the granular timestamp to know where it was me or him that posted it first. As both were 16 hours ago. |
@gijoe0295 updated proposal 25min before @jeremy-croff's post |
@gijoe0295 I hope you understand where I came from, I drafted the proposal for far over 25 minutes so I was not trying to duplicate your proposal. I actually did not know you edited to add typescript before my post so my statement of me pointing it out first was genuine, but a misunderstanding. Thanks for all the clarifications and @situchan there's no disagreement from me. |
PR reached staging |
On prod, updating for payment |
@garrettmknight Payment due ytd. |
All paid out. @situchan can you post the bug zero checklist when you get a chance? |
Bump @situchan |
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 bumpity bump |
@situchan bump - please complete the checklist. |
@situchan Bump! Please finish the checklist. Thanks! |
Sorry I am back from vacay |
Regression Test Proposal
|
Thanks @situchan and welcome back 🎉 |
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: 1.4.51-3
Reproducible in staging?: y
Reproducible in production?: y
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: @AndrewGable
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1710193817230399
Action Performed:
Expected Result:
Fevicon should display unread icon
Actual Result:
Does not show
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.2850.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: