Show error state in performance bar for requests that just return null
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
If the performance bar tries to get data for a request ID with no data, the response from the server is a 200 with the body null. The frontend should handle this and show something sensible. At the moment it shows:
A request can return null for a bunch of reasons (non-exhaustive):
- It's more than 30 minutes since the request, and so its TTL has passed.
- The user who made the request can't see the performance bar (https://gitlab.com/gitlab-org/gitlab/blob/master/lib%2Fgitlab%2Fperformance_bar%2Fredis_adapter_when_peek_enabled.rb).
- The request itself isn't tracked by the performance bar (#33909 (closed)).
Edited by 🤖 GitLab Bot 🤖
