Skip to content

App stuck in skeleton/loading state — hasLoadedApp never resolves despite successful OpenApp XHR #95899

Closed

Description

@melvin-bot

Bug Description

The app behaves as if openApp did not complete, leaving the UI stuck in a permanent skeleton/loading state.
Inbox and Workspaces show loading skeletons indefinitely. Search continues to work (separate request).
XHR logs confirm OpenApp returned successfully, but hasLoadedApp / IS_LOADING_APP is never cleared in the client.
Only workaround observed: switching browsers or clearing cache.

This appears to be a recurrence of the same underlying issue seen in #92677, also discussed in #95571.

Symptoms

  • Inbox and Workspaces tabs show persistent skeleton loaders
  • Search tab works normally
  • XHR confirms OpenApp response was received successfully
  • Refreshing the page does not resolve the issue
  • Switching browsers resolves the issue

Suspected Cause

IS_LOADING_APP gets stranded at true. The finallyData clearing write is queued in memory (QueuedOnyxUpdates) but never flushed to storage if the page reloads or the tab closes before the SequentialQueue drains.

Related

Issue OwnerCurrent Issue Owner: @BartekObudzinski

Activity

  1. BartekObudzinski commented on Jul 13, 2026

    @BartekObudzinski
    Contributor

    Prepared proposal for fixing stuck loading skeletons at the root, keep discussing with the team

  2. melvin-bot commented on Jul 16, 2026

    @melvin-bot
    Author

    @BartekObudzinski Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  3. BartekObudzinski commented on Jul 20, 2026

    @BartekObudzinski
    Contributor

    Keep working on unify skeleton work

  4. melvin-bot commented on Jul 23, 2026

    @melvin-bot
    Author

    @BartekObudzinski Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  5. melvin-bot commented on Jul 27, 2026

    @melvin-bot
    Author

    @BartekObudzinski Still overdue 6 days?! Let's take care of this!

  6. BartekObudzinski commented on Jul 29, 2026

    @BartekObudzinski
    Contributor

    Last 4 draft prs are left for unify skeleton work after that I need to validate if the problem still occur but it should be solved

  7. BartekObudzinski commented on Aug 3, 2026

    @BartekObudzinski
    Contributor

    I could not reproduce this on latest main.

    The stranding is still possible (deferred WRITE updates still live in memory), but it no longer blocks the UI. Inbox and Workspaces now derive loading from the request queue instead of the raw isLoadingApp flag, HAS_LOADED_APP only lands after the deferred updates flush, and PR #95569 added recovery that clears a stranded flag.

    @mountiny

  8. mountiny commented on Aug 3, 2026

    @mountiny
    Contributor

    Ok thanks!

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

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions