Skip to content

[Due for payment 2026-01-06] [$250] iOS - In offline mode workspace chat does not appear in LHN after creating WS #77342

Closed

Description

@IuliiaHerets

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.2.75-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #74632
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: iPhone 15 iOS 26.1, Pixel 5 Android 14
App Component: Left Hand Navigation (LHN)

Action Performed:

  1. Sign in to ND
  2. Go offline
  3. Create a workspace.
  4. Open "Inbox" tab and verify, that workspace chat appears in "Inbox"

Expected Result:

Workspace chat appears in Inbox after creating the workspace offline

Actual Result:

Workspace chat does not appear in Inbox after creating the workspace offline

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug7026318_1765417371115.NO_WS_chat_offline.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022000354549443003739
  • Upwork Job ID: 2000354549443003739
  • Last Price Increase: 2025-12-21
Issue OwnerCurrent Issue Owner: @kadiealexander

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Dec 11, 2025
  2. melvin-bot commented on Dec 11, 2025

    @melvin-bot

    Triggered auto assignment to @jliexpensify (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.

  3. ashu75575 commented on Dec 11, 2025

    @ashu75575
    Contributor

    Proposal

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

    When creating a workspace offline on iOS, the workspace chat does not show up in the Inbox immediately, even though the workspace is created successfully.

    What is the root cause of that problem?

    On iOS while offline, Onyx updates are applied slightly later than expected.
    Navigation to the new workspace happens before the optimistic policy update finishes, so the Inbox never receives the update and does not re-render.

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

    Delay navigation by putting it into the microtask queue so the Onyx write completes first.
    This ensures the Inbox sees the new workspace policy and updates instantly, even offline.
    change this:

    App/src/libs/actions/App.ts

    Lines 512 to 514 in 821ee68

    });
    Navigation.navigate(routeToNavigate, {forceReplace: !transitionFromOldDot});
    })

    to

                // ADD THIS
                Navigation.setNavigationActionToMicrotaskQueue(() => {
                    Navigation.navigate(routeToNavigate, {forceReplace: !transitionFromOldDot});
                });

    What alternative solutions did you explore? (Optional)

    N/A

  4. jliexpensify commented on Dec 11, 2025

    @jliexpensify
    Contributor

    iOS <> Android swapsies

  5. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Dec 14, 2025
  6. melvin-bot commented on Dec 14, 2025

    @melvin-bot
  7. changed the title [-]iOS - In offline mode workspace chat does not appear in LHN after creating WS[/-] [+][$250] iOS - In offline mode workspace chat does not appear in LHN after creating WS[/+] on Dec 14, 2025
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Dec 14, 2025
  9. melvin-bot commented on Dec 14, 2025

    @melvin-bot

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

  10. 20 remaining items

  11. changed the title [-][$250] iOS - In offline mode workspace chat does not appear in LHN after creating WS[/-] [+][Due for payment 2026-01-06] [$250] iOS - In offline mode workspace chat does not appear in LHN after creating WS[/+] on Dec 30, 2025
  12. melvin-bot commented on Dec 30, 2025

    @melvin-bot

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

  13. melvin-bot commented on Dec 30, 2025

    @melvin-bot

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

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

    • @dukenv0307 requires payment through NewDot Manual Requests
    • @nkdengineer requires payment through NewDot Manual Requests
  14. melvin-bot commented on Dec 30, 2025

    @melvin-bot

    @dukenv0307 @kadiealexander The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  15. kadiealexander commented on Jan 5, 2026

    @kadiealexander
    Contributor

    Payment Summary

    Contributor: @nkdengineer due $250 via NewDot
    Contributor+: @dukenv0307 due $250 via NewDot

    @dukenv0307 please complete the checklist!

  16. dukenv0307 commented on Jan 7, 2026

    @dukenv0307
    Contributor

    BugZero Checklist:

    • [Contributor] 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/63980/changes#r2666937827

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    Regression Test Proposal Template

    Regression Test Proposal

    Precondition:

    Test:

    1. Sign in a new account
    2. Select other purpose in the onboarding flow
    3. Go offline
    4. Create a workspace.
    5. Open "Inbox" tab and verify, that workspace chat appears in "Inbox"

    Do we agree 👍 or 👎

    Zapier Logs Run ID: 00040eee-3913-afae-bddc-eb1d83a5a4b4
  17. quinthar commented on Jan 12, 2026

    @quinthar
    Contributor

    Approved $250 to @dukenv0307

  18. twisterdotcom commented on Jan 12, 2026

    @twisterdotcom
    Contributor

    @nkdengineer has submitted payment for this report on ND here.

    SO: https://stackoverflowteams.com/c/expensify/questions/7582

    Zapier Logs Run ID: 00040eee-a62c-acc9-f557-11cf6d3e5f74
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.DailyKSv2ExternalAdded 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