Skip to content

Consistent polling in error tracking pages

Summary

The endpoints details and stack_trace are consistently polled while waiting for a reactive cache response.

Steps to reproduce

Go to a specific error, via Operations -> Error Tracking -> Select error

Example Project

https://gitlab.com/gitlab-org/monitor/tanuki-inc/-/error_tracking/1056572/details

Note if ReactiveCaching has resolved the data it will be cached and data returned immediately. Choose another error to see the effect.

What is the current bug behavior?

Not waiting before polling again.

What is the expected correct behavior?

Polling should wait a reasonable time before polling again

Possible fixes

  • Add polling header in backend
  • Ensure frontend is respecting header