Skip to content

App can stay on loading spinner indefinitely when external model resolution stalls #859

@divyansh-cyber

Description

@divyansh-cyber

Context

On first load, app initialization blocks on rebuild before rendering the main UI. Rebuild always calls external model resolution, and there is no timeout/fallback path. If that async call stalls (network issues, registry slowness, blocked environment), the app can remain stuck in loading state.

Expected Behavior

If external model resolution is slow the app should:

  1. fail fast with a visible error, or
  2. continue with local model flow and show a warning,
    instead of staying on spinner indefinitely.

Actual Behavior

Initialization waits for rebuild, and rebuild waits on external model update. In degraded network conditions this can block startup, keeping the spinner visible and delaying/locking access to the editor.

Steps to Reproduce

  1. Start app locally.
  2. Open browser DevTools and simulate offline or very poor network.
  3. Refresh app on root route.
  4. Observe spinner persists for long time (or indefinitely), main editing UI does not become usable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions