Skip to content

Insights - AI insight cards load infinitely #106591

Open

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.5.36-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #106133
Email or phone of affected tester (no customers): osjdonijdsojio@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.5 / Chrome
App Component: Other

Action Performed:

Precondition:

  • Enable insightsAI beta.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Create an expense.
  4. Go to Insights.

Expected Result:

AI insight cards will not appear when not available.

Actual Result:

AI insight cards load infinitely.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug7310716_1794361417328.4.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Chandana Kiran
Bug ID: 7310716

Issue OwnerCurrent Issue Owner: @luacmartins

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    on Nov 11, 2026
  2. applause-bot commented on Nov 11, 2026

    @applause-bot
    Author

    While Applause doesn't embed attachments for this bug, here are the links for quick view:
    https://platform.applause.com/services/links/v1/external/6fe0fcbc0a51d1f1cf6c0e2bfc75ebc39bc2522da1fc81ba9433c0bfaa01d780

  3. melvin-bot commented on Nov 11, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #106133

  4. melvin-bot commented on Nov 11, 2026

    @melvin-bot

    @luacmartins @truph01 you have been assigned to this deploy blocker because you reviewed the offending PR: #106133

  5. melvin-bot commented on Nov 11, 2026

    @melvin-bot

    @mhawryluk you have been assigned to this deploy blocker because you authored the offending PR: #106133

  6. melvin-bot commented on Nov 11, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  7. github-actions commented on Nov 11, 2026

    @github-actions
    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.
  8. MelvinBot commented on Nov 11, 2026

    @MelvinBot
    Contributor

    🤖 Web test steps verification results: ⚠️ partial

    The deploy-blocker investigator identified Improve AI insight cards as the likely cause (medium confidence): it replaced explicit request-completion state with aiInsights === undefined, allowing unavailable insights to display skeletons indefinitely. Keep the deploy blocker and prioritize a compatibility-checked revert; web testing verified expense creation and Insights, but could not confirm beta enablement or reproduce the affected staging state.

    Populated Insights dashboard without a visible AI-card row

    Step Status
    insightsAI beta enabledBlocked: no beta control was available, and runtime beta state could not be inspected.
    ⚠️
    Open workspace chatCreated a workspace and opened its expense chat.
    Workspace expense chat containing the newly created expense
    ✅
    Create an expenseCreated a USD 12.34 manual expense; read-back confirmed one expense in a draft report.
    Created 2.34 expense in workspace chat
    ✅
    Open Insights and observe AI cardsDev NewDot displayed populated Insights without an AI row. This is inconclusive because beta-disabled and unavailable-insight states could not be distinguished; staging reproduction is not claimed.
    Populated Insights dashboard without a visible AI-card row
    ⚠️
    Runtime aiInsights missing versus [] and delayed arrivalThe affected payload was unavailable. Code confirms the regression path: the previous implementation hid absent insights after dashboard completion; the new implementation keeps four skeletons while insights remain undefined, online, and error-free. Explicit [] hides the row, so capturing that value during the failure would challenge this diagnosis. The PR reached staging version 9.5.36-0 approximately 54 minutes before reporting, matching the staging-only symptom. If reverting is unsuitable, model pending, unavailable, and failed states explicitly; do not use chart completion alone because AI results can arrive later. Validate absent data, [], delayed delivery, errors, offline behavior, and filter changes before clearing the blocker.
    ⚠️

    view run · view recording

  9. luacmartins commented on Nov 11, 2026

    @luacmartins
    Contributor

    NAB this is behind a beta. We're fixing that here https://github.com/Expensify/Web-Expensify/pull/58404

  10. added
    ReviewingHas a PR in review
    and removed
    DeployBlockerCashThis issue or pull request should block deployment
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringReviewingHas a PR in review

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions