PromucFlow_constructor/app/client/src/workers
Ankita Kinger e1cb5d9306
fix: Adding responseMeta in query object even when the query fails (#41216)
## Description

Adding responseMeta in query object even when the query fails so the
header request id can be used by the user, if needed.

Fixes [#8024](https://github.com/appsmithorg/appsmith-ee/issues/8024)

EE PR for tests: https://github.com/appsmithorg/appsmith-ee/pull/8149

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/17625800361>
> Commit: c3a972f13beeaef82774a8bddb28c89cf1f783f6
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=17625800361&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Thu, 11 Sep 2025 06:23:42 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Improved error messages and details when plugin actions or triggers
fail, providing clearer context to diagnose issues.
* Surfaces underlying response data on errors (when available), enabling
more informative failure feedback in the UI.
* Ensures action state is updated consistently after failures (clears
loading and populates data/meta when present), preventing stale or
misleading states.
* Standardized error handling across related flows without changing
successful execution behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-11 12:34:27 +05:30
..
common chore: optimised isChildPropertyPath to not use a regex and added more logging around calculateSubTreeSortOrder (#41162) 2025-08-04 11:32:15 +05:30
Evaluation fix: Adding responseMeta in query object even when the query fails (#41216) 2025-09-11 12:34:27 +05:30
Tern chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00