Skip to content

Parses BigInt values of compute minutes in runners dashboard

What does this MR do and why?

This change ensures the runner dashboard shows formatted results from runnerUsageByProject and runnerUsage even when BigInt strings are shown

It continues support for regular number types so it is backwards compatible.

EE: true

Why this change? In !153988 (closed) we update the type of these numbers and this parsing is backwards compatible so we can go ahead and make the update already.

MR acceptance checklist

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

Screenshots or screen recordings

No changes expected, this is the related UI:

image

In case there is a big number I've added word wrapping for the number:

image

How to set up and validate locally

Related to #463774 (closed)

Edited by Miguel Rincon

Merge request reports