Skip to content

[HOLD for payment 2023-12-15] [$500] IOS - A spinner appears in the chat when a message is posted #30729

Description

@kbecciv

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.3.94.1
Reproducible in staging?: YES
Reproducible in production?: NO
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: @mountiny
Slack conversation:

Action Performed:

  1. Log in IOS app
  2. Send the message

Expected Result:

A spinner doesn't appear in the chat when a message is posted

Actual Result:

A spinner appears in the chat when a message is posted

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

RPReplay_Final1698857268.mov
RPReplay_Final1698860649.MP4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d9960c2187a7e349
  • Upwork Job ID: 1719847322291130368
  • Last Price Increase: 2023-11-01
  • Automatic offers:
    • abdulrahuman5196 | Reviewer | 27654812

Activity

  1. OSBotify commented on Nov 1, 2023

    @OSBotify
    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.
  2. melvin-bot commented on Nov 1, 2023

    @melvin-bot

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

  3. aldo-expensify commented on Nov 1, 2023

    @aldo-expensify
    Contributor

    Can't reproduce in Web, I'm trying to setup my env to run IOS

  4. aldo-expensify commented on Nov 1, 2023

    @aldo-expensify
    Contributor

    I'm not being able to reproduce this.

    This is the code that renders that spinner at the bottom:

    <View style={[stylesGenerator.alignItemsCenter, styles.justifyContentCenter, styles.chatBottomLoader]}>
    <ActivityIndicator
    color={themeColors.spinner}
    size="small"
    />
    </View>
    (thanks @Beamanator)

    This can only happen when type is HEADER, so the only usage of the ListBoundaryLoader we should look at is this one:

    https://github.com/Expensify/App/blob/30da921305c0b70cef887ce0321b3da820afbfd8/src/pages/home/report/ReportActionsList.js#L401C1-L404

  5. aldo-expensify commented on Nov 1, 2023

    @aldo-expensify
    Contributor
  6. aldo-expensify commented on Nov 1, 2023

    @aldo-expensify
    Contributor

    I was able to reproduce more consistently with @s-alves10 's help. I'll try to reproduce in production to see if this is a real deploy blocker or not

  7. dummy-1111 commented on Nov 1, 2023

    @dummy-1111
    Contributor

    I think this would be reproducible in production as well

  8. added and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Nov 1, 2023
  9. aldo-expensify commented on Nov 1, 2023

    @aldo-expensify
    Contributor

    I think this would be reproducible in production as well

    I had the same feeling, and I just confirmed it.

    Removing deploy blocker, reproduced in production:

    Screen.Recording.2023-11-01.at.1.48.23.PM.mov

    My guess is that this may have been caused by this PR: #26166 that introduced the bidirectional pagination for comments

  10. 64 remaining items

  11. melvin-bot commented on Dec 8, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.9-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 2023-12-15. 🎊

    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

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

  12. melvin-bot commented on Dec 8, 2023

    @melvin-bot

    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:

    • [@abdulrahuman5196] The PR that introduced the bug has been identified. Link to the PR:
    • [@abdulrahuman5196] 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:
    • [@abdulrahuman5196] 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:
    • [@abdulrahuman5196] Determine if we should create a regression test for this bug.
    • [@abdulrahuman5196] 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.
    • [@conorpendergrast] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  13. melvin-bot commented on Dec 18, 2023

    @melvin-bot

    @conorpendergrast, @abdulrahuman5196, @roryabraham, @perunt Whoops! This issue is 2 days overdue. Let's get this updated quick!

  14. conorpendergrast commented on Dec 18, 2023

    @conorpendergrast
    Contributor

    Payouts due:

    Issue Reporter: N/A - @mountiny
    Contributor: N/A (contractor) @perunt

    Upwork job is here.

  15. conorpendergrast commented on Dec 18, 2023

    @conorpendergrast
    Contributor

    @abdulrahuman5196 just the C+ checklist to do now, thanks!

  16. abdulrahuman5196 commented on Dec 19, 2023

    @abdulrahuman5196
    Contributor

    The PR that introduced the bug has been identified. Link to the PR:
    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:
    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:

    Seems to related to code changes introduced as part of comment linking.

    Determine if we should create a regression test for this bug.

    Yes. If not already present.

    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.

    1. Open a chat and check the bottom loader, you shouldn't see it.
    2. Scroll to the top and bottom to check if it appears.
    3. Send messages.
    4. No bottom loader should appear as you send messages

    Thank you for processing. @conorpendergrast I have also added the checklist.

  17. melvin-bot commented on Dec 22, 2023

    @melvin-bot

    @conorpendergrast, @abdulrahuman5196, @roryabraham, @perunt Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  18. conorpendergrast commented on Dec 22, 2023

    @conorpendergrast
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions