Skip to content

Health aggregate: distinguish unconfigured providers from degraded ones #3

Description

@iceteaSA

Signal-quality issue in ck health / the aggregate insula health line.

Observed

On this box (7-ish credentialed provider families), the health line reads:

insula  ● ok  29/35 providers degraded, 6 serving; 0 of 9 cookie logins stale

The 29 "degraded" are overwhelmingly providers we have never configured — no credential source exists on this machine for them. That makes the aggregate line a permanent alarm: a real degradation (a provider we DO use failing auth) would change the count by 1 against a baseline of 29, which nobody notices. The useful signal today is only the serving count and the cookie-staleness clause.

Ask

Distinguish unconfigured (no credential source discovered — expected, excluded from the alarm count) from degraded (credential source present but fetch/auth failing — actionable). The line becomes something like:

6 serving · 1 degraded · 28 unconfigured

with degraded > 0 as the operator trigger. If discovery can't currently tell "no source" apart from "source errored", that distinction is probably worth carrying in the provider snapshot anyway — it's the same split our local fetchers ended up needing (fail-open on stale vs fail-loud on drift) for the guard verdicts downstream.

Happy to contribute the classification if pointed at where provider snapshot state lives.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions