Dashboardclierror-reporting.ts silencing rules: whi…

error-reporting.ts silencing rules: which error types are silenced and why

Category: pattern
Confidence: 1.00
ID: 019f2480-2c5b-78f1-8066-6395e2555ce5
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 1
Source session: 1WlCd7H9Pp7ZLZzm0
Created: 2026-06-27 00:13:28
Updated: 2026-07-02 20:23:27

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 5 15h ago

Content

Current classifySilenced() branches (post-PRs #1148–#1153): - OutputError'output_error' (piped output closed early) - ContextError'context_missing' (user omitted required value; never a CLI bug) - AuthError (any reason: not_authenticated, expired, invalid) → 'auth_expected' (all auth reasons are user/env state after CLI-19 fix) - ApiError status >400 && <500 → 'api_user_error' - ApiError + isSearchQueryParseError()'api_query_error' (status 400 with 'Error parsing search query' detail) - TypeError + isNetworkError()'network_error' (raw 'fetch failed' only) - else → null (captured) Metric emission must never block error handling — all metric/logger calls in recordSilencedError() are wrapped in try/catch.

Move to: