style: trim comments to load-bearing invariants only

This commit is contained in:
2026-08-25 22:13:41 -07:00
parent 5e9d030297
commit 895737febc
17 changed files with 5 additions and 58 deletions
@@ -10,7 +10,6 @@ interface QuietBoundaryState {
hasError: boolean;
}
// One failing telemetry card must not blank the whole dashboard.
export class QuietBoundary extends Component<QuietBoundaryProps, QuietBoundaryState> {
state: QuietBoundaryState = { hasError: false };
-4
View File
@@ -99,8 +99,6 @@ export const getClientErrorGroups = createServerFn()
const sample = latest.items[0];
if (!sample) continue;
// A group counts as resolved when its most recent occurrence is
// resolved; a recurrence arrives resolved=false and surfaces again.
const resolved = !!sample.resolved;
if (resolved && !includeResolved) continue;
@@ -161,8 +159,6 @@ export const getTelemetryRuntimeStatus = createServerFn()
.middleware([superTokensAdminFunctionMiddleware])
.handler(async () =>
toServerResult<TelemetryRuntimeStatus>(async () => {
// Dev has no k8s probes hitting /api/health, so opening the dashboard
// is the scheduler's fallback starter.
ensureTelemetryScheduler();
const health = await getHealthSnapshot();
return {