Skip to content

Code Insights: Fix request cancellation for the live preview logic

Warren Gifford requested to merge vk/fix-live-preview-insight-fetch-logic into main

Created by: vovakulikov

The thing that we missed in the past during chart migration, prior to this PR we didn't have a proper network request cancellation hence it might be possible to fall in race condition there.

Test plan

  • Make sure that you can see the live preview and all live previews (search, capture group, lang stats) work properly around data fetching (even if you're filling the form really fast)

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading