Skip to content

[Due for payment 2026-11-27] [Performance] Building approval workflows blocks the app on large workspaces #107403

Open

Description

@trjExpensify

Accounts with Multiple Approvers enabled can experience UI freezes when rebuilding approval workflows for large workspaces.

Steps:

  1. Sign in to an account with Multiple Approvers enabled and a large workspace with many approval rules.
  2. Open reports or update workspace data so the Workspaces tab indicator is recalculated.
  3. Observe delayed responses while approval workflows are rebuilt.

Expected: Workflow reconstruction remains responsive and preserves members, approver order, approval limits, and missing-approver indicators.

Each approval-chain step currently scans every workspace rule and repeatedly reads its submitter list. PR #107398 groups rules by submitter once, avoiding unrelated rules when building each member’s workflow.

PR: #107398
Internal discussion

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. added theissue type on Nov 19, 2026
  2. expensify-chore-bot commented on Nov 19, 2026

    @expensify-chore-bot

    Triggered auto assignment to @mollfpr, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

  3. changed the title [-][Performance] Building approval workflows blocks the app on large workspaces[/-] [+][Due for payment 2026-11-27] [Performance] Building approval workflows blocks the app on large workspaces[/+] on Nov 20, 2026
  4. melvin-bot commented on Nov 20, 2026

    @melvin-bot

    @situchan

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.5.45-0 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-11-27. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ 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]. If no checklist is needed for this issue, you can click: [no checklist button]

  5. expensify-chore-bot commented on Nov 21, 2026

    @expensify-chore-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  6. situchan commented on Nov 22, 2026

    @situchan
    Contributor

    perf issue. no need checklist

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 productionDailyKSv2Overdue

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions