feat(inkless:consume): meter control-plane fetch errors separately from data-plane #726
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 101 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.277
Real PR Conversation Timeline
1 comments
"Review active on #726"
general
weight: 0.35
giuseppelillo
FetchCompleter surfaced a non-NONE error returned by the control-plane findBatches response (e.g. OFFSET_OUT_OF_RANGE, UNKNOWN_TOPIC_OR_PARTITION) with no metric and no log; it reached the broker only as the generic FailedFetchRequestsPerSec, so a steady failed-fetch trickle could not be attributed to a control-plane error class.
Add PartitionControlPlaneErrorRate on InklessFetchMetrics, marked at the findBatches-error branch in FetchCompleter, plus a WARN log carrying the specific error code. This is distinct from the existing PartitionStorageErrorRate / PartitionCorruptRecordRate, which classify data-plane failures during record extraction.
Regenerates docs/inkless/metrics.rst (also picking up the reader throughput meters added in the previous commit, whose doc had not been regenerated).