appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.63k stars 3.74k forks source link

[Bug]: Widgets in Infinite loading state even after the dependant API has completed #36255

Closed tomjose92 closed 2 months ago

tomjose92 commented 2 months ago

Is there an existing issue for this?

Description

I have an async function which does some operations, and alongside calls two APIs but without the await keyword. Now the widgets that are dependant on the response of these APIs are seen in continuous loading state even after the function has trigged and the APIs have come back successful.

This happens only in Deployed mode and used to work before.

Slack Thread here: https://theappsmith.slack.com/archives/C040LHZN03V/p1726054005869429

Steps To Reproduce

  1. Create an async function
  2. Call two APIs but without using await keyword
  3. Connect the response of these APIs to some widget, I test with the input widget
  4. Now deploy the App

You will see that the widgets dependant on those APIs are seen in loading state, but from the network tab I was able to verify that the APIs have completed successfully and return response.

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Internal Instance - Nightly Build

sneha122 commented 2 months ago

Fixed in PR https://github.com/appsmithorg/appsmith-ee/pull/5125