← Back to Pull requests

Fix statistics errors caused by channel ID scoping #516

Open
mgaffigan opened this pull request with 151 lines diff across 10 files
View on GitHub
mgaffigan mgaffigan commented on Oct 26, 2026 20:38 UTC
Author

Fixes a bug where getChannelStatistics will return other than the requested channel's statistics.

Caught in #449
Closes #456
Related to https://github.com/OpenIntegrationEngine/engine/issues/457

Diff: 151 lines (+139 / -12) across 10 files Reviewer: NicoPiel Review duration: 25940m
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.46) × (1 − Review Confidence (0.82)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 151 lines diff across 10 files
0.46
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.73 · 1 substantive comment(s)
0.73
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
81%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.301
Real PR Conversation Timeline
4 items
github-actions[bot] github-actions[bot] commented on Oct 26, 2026 20:50 UTC
Bot

Test Results


129 files  ±0  129 suites  ±0   3m 8s ⏱️ +27s
737 tests ±0  737 ✅ ±0  0 💤 ±0  0 ❌ ±0 
827 runs  ±0  821 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 730c3958. ± Comparison against base commit fbda4743.

[test-results]:data:application/gzip;base64,H4sIAAG932oC/13MSw6CMBSF4a2Qjh30fS9uxpQrJI08TGlHxL3bKiXo8P9OcjY2+LFf2bURsr00bE0+nvKegot+mQsgZshjLDMoqHVbE9E/PfwzEz9gcH78gT6EJewS0lw+UcIe9RKlOOT7aGufDj99/qNlmnzMwUBxUq1BHFptgJvOOg5OWSk4Ci2MBqLOasdeb340SX0JAQAA

NicoPiel NicoPiel approved these changes on Oct 27, 2026 10:57 UTC
Approved Reviewer

Approved these changes.

gibson9583 gibson9583 approved these changes on Oct 30, 2026 10:48 UTC
Approved Reviewer

Looks safe to merge.

Reviewers
Assignees
mgaffigan mgaffigan
Labels
risk: low confidence: 81.9% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 46.2% (MEDIUM) · Higher = larger blast radius
46.2%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 81.9% · Lower = rushed or shallow review
81.9%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 8.4% · Safe to merge
8.4%