Fix MultiProducerSingleConsumerAsyncChannel doc examples to use takeChannel() #460
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.16) × (1 − Review Confidence (0.70)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.16 · 8 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.54 · 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
Diff Size
diff_size
0.131
Real PR Conversation Timeline
3 items
Approved
Approved these changes.
Thanks for the fix!
FranzBusch
aniketatgithub
Fixes #458.
The doc comments on
MultiProducerSingleConsumerAsyncChannelandChannelAndStreamshowedconsume channelAndSource.channelas the way to extract the channel from the returned pair. But the storedchannelproperty is internal (it is wrapped in an internal helper type), so the documented snippet fails to compile for clients with'channel' is inaccessible due to 'internal' protection level.The supported API for extracting the channel is the public
takeChannel()method. This updates both doc examples to use it.