Show partial data when there is an error in development widget

What does this MR do and why?

Show partial data when there is an error in development widget (#520149 (closed))

When there was an error (e.g. due to SAML), partial data in the GraphQL response was not shown in the development widget UI. This is fixed so we always show partial data even when there is an error.

Changelog: fixed

References

Screenshots or screen recordings

Before After
Screenshot_2025-04-24_at_13-53-08_Harum_soluta_doloribus_odit_quis_aspernatur_praesentium_voluptas_dicta_adipisci.___5____Issue___flightjs_Flight Screenshot_2025-04-24_at_13-57-07_Harum_soluta_doloribus_odit_quis_aspernatur_praesentium_voluptas_dicta_adipisci.___5____Issue___flightjs_Flight

How to set up and validate locally

  1. Go to an issue
  2. Click on the "Create merge request" button and create a merge request
  3. Go back to the issue — the Development widget should now appear
  4. Apply diff.patch to generate a top-level error in the GraphQL response while still returning partial data
  5. Confirm that you see an error as well as the merge request in the Development widget

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #520149 (closed)

Edited by Coung Ngo

Merge request reports

Loading