cockpit-data-suite zero-budget semantic-index
Cockpit data readers
Pin every reader that powers the cockpit surfaces: the claim-mix readout, the compute-lock contention summary, per-provider activity, the queue mix, recovery activity, and workspace rollups. The cockpit tabs depend on these projections matching their schema exactly.
Behaviours 0 Tests 37 Graph 38 nodes · 37 edges Runner - CircleCI - Source qa/suites/cockpit-data-suite.yaml
Test witnesses
These tests belong to the suite. Missing implementation links stay visible until a code-backed graph claim records them.
| Test | Status | Implementation | Open |
|---|---|---|---|
passes path through and reports operational on ok response @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
reports down on 503 @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
reports down on non-ok HTTP @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
reports down on thrown fetch @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
reports operational on 200 with latency @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
returns down when sentinel write throws @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
returns not_configured regardless of input (TODO stub) @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
returns not_configured when binding is missing @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
returns not_configured when fetcher is missing @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
returns not_configured when url is missing @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
returns operational when sentinel write succeeds @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
treats sentinel absent (null) as operational with 404 detail @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
treats sentinel present (200) as operational @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
treats thrown head() as down @cv/cockpit-probes · vitest · src/checks.test.ts | catalog | missing implementation link | Test |
computes percentages that sum to ~100 @cv/cockpit-data · vitest · src/claim-mix.test.ts | catalog | missing implementation link | Test |
drops unknown classes silently @cv/cockpit-data · vitest · src/claim-mix.test.ts | catalog | missing implementation link | Test |
returns zero counts and zero percents on empty input @cv/cockpit-data · vitest · src/claim-mix.test.ts | catalog | missing implementation link | Test |
groups by prefix before the first colon and sorts desc by count @cv/cockpit-data · vitest · src/compute-lock-contention.test.ts | catalog | missing implementation link | Test |
returns zero on empty table @cv/cockpit-data · vitest · src/compute-lock-contention.test.ts | catalog | missing implementation link | Test |
aggregates by provider and sorts desc by count @cv/cockpit-data · vitest · src/provider-activity.test.ts | catalog | missing implementation link | Test |
parses agent format <agent>:<provider>:<model> @cv/cockpit-data · vitest · src/provider-activity.test.ts | catalog | missing implementation link | Test |
parses provider from system actor_id @cv/cockpit-data · vitest · src/provider-activity.test.ts | catalog | missing implementation link | Test |
returns empty result when no rows @cv/cockpit-data · vitest · src/provider-activity.test.ts | catalog | missing implementation link | Test |
returns null on empty/missing actor_id @cv/cockpit-data · vitest · src/provider-activity.test.ts | catalog | missing implementation link | Test |
treats bare-token system ids as the whole string @cv/cockpit-data · vitest · src/provider-activity.test.ts | catalog | missing implementation link | Test |
binds windowMinutes as ms cutoff @cv/cockpit-data · vitest · src/queue-mix.test.ts | catalog | missing implementation link | Test |
returns zeros across statuses + stages on empty input @cv/cockpit-data · vitest · src/queue-mix.test.ts | catalog | missing implementation link | Test |
sums counts per status and breaks them down per stage @cv/cockpit-data · vitest · src/queue-mix.test.ts | catalog | missing implementation link | Test |
returns zeros and source=not_configured until a source table exists @cv/cockpit-data · vitest · src/recovery-activity.test.ts | catalog | missing implementation link | Test |
10m with no server fallback @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
flips to red when a claimed lease is overdue beyond grace @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
flips to red when a failed request landed in the last 5 minutes @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
flips to yellow when attempts >= 2 and otherwise green @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
honors limit @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
respects state filter @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
returns green for a workspace with no recent requests @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |
stays yellow when stale queue is being handled by server fallback @cv/cockpit-data · vitest · src/workspace-rollups.test.ts | catalog | missing implementation link | Test |