diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

Why is the /diagnostics_toplevel_state ERROR when one of the diagnostics is STALE

Open Rayman opened this issue 1 year ago • 7 comments

In the current code the toplevel state is only STALE when ALL the diagnostics are STALE. Example:

group_analyzer

What I think is more logical is that the state is STALE when one of the diagnostics is STALE and none of them ERROR: group_analyzer2

What do you think about this logic? I've implemented this in my fork, but it is a breaking change

Rayman avatar Apr 18 '23 14:04 Rayman