stdoutlog: ignore nil writer options #9148
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.31) × (1 − Review Confidence (0.72)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 54 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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
Diff Size
diff_size
0.240
Real PR Conversation Timeline
4 items
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 89.2%. Comparing base (
cdf142d) to head (c0d7fdb).<details><summary>Additional details and impacted files</summary>

@@ Coverage Diff @@
## main #9148 +/- ##
=======================================
- Coverage 89.2% 89.2% -0.1%
=======================================
Files 339 339
Lines 22361 22362 +1
=======================================
- Hits 19953 19950 -3
- Misses 2408 2412 +4
| Files with missing lines | Coverage Δ | |
|---|---|---|
| exporters/stdout/stdoutlog/config.go | 100.0% <100.0%> (ø) | |
... and 5 files with indirect coverage changes
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
Approved
Approved these changes.
Approved
Approved these changes.
dmathieu
pellared
stdoutlog.New(stdoutlog.WithWriter(nil))currently succeeds but panics when exporting a record, including during SDK-managedLogger.Emit.Ignore nil writer options, preserving the default or previously configured writer. This follows the existing nil-value handling in options such as
stdoutmetric.WithEncoderandsdk/trace.WithSampler.Fixes #9126