← Back to Pull requests

Fix possible data race while calling has_ready_entities in EventsCBGExecutor (backport #3288) #3372

Merged
mergify[bot] merged 2 files (27 lines) on Oct 23, 2026 09:38 UTC
View on GitHub
mergify[bot] mergify[bot] commented on Oct 22, 2026 12:32 UTC
Author

Description

In #3178, I called has_ready_entities method of FirstInFirstOutCallbackGroupHandle without holding ready_mutex. This can result to data races while accessing ready_entities. This PR fixes that.

Is this user-facing behavior change?

Did you use Generative AI?

No

Additional Information

<hr>This is an automatic backport of pull request #3288 done by Mergify.

Diff: 27 lines (+19 / -8) across 2 files Reviewer: ahcorde Review duration: 1265m
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.24) × (1 − Review Confidence (0.71)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.24 · 27 lines diff across 2 files
0.24
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 1 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
70%
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.199
Real PR Conversation Timeline
3 items
ahcorde ahcorde approved these changes on Oct 22, 2026 12:37 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
mergify[bot] mergify[bot]
Labels
risk: low confidence: 70.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: 24.4% (LOW) · Higher = larger blast radius
24.4%
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: 70.9% · Lower = rushed or shallow review
70.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: 7.1% · Safe to merge
7.1%
Repository