Skip to content

Passthrough cube.js "continue wait" responses

What does this MR do and why?

Allow cube.js "Continue wait" responses to be read by the frontend as valid responses instead of errors

Testing Under Load

After testing with enough user data to cause a 'continue wait' scenario, the cube.js javascript library handles the retry mechanism just fine as long as the response is 200 OK with error: Continue wait. So this MR is sufficient to solve the original issue

How to set up and validate locally

  1. Setup the product analytics devkit according to it's instructions
  2. Setup the product analytics dashboard on a given project according to the devkit instructions
  3. Load a large number of test events into the clickhouse database for this project, you can use our gen_test_data script or any other source of data
  4. Check that the analytics dashboards for the project continue to load with no errors

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #416928 (closed)

Edited by Allen Cook

Merge request reports