← Back to Pull requests

Editorial: add missing coercion in HostGrowSharedArrayBuffer description #4049

Merged
bakkot merged 1 files (2 lines) on Nov 07, 2026 18:46 UTC
View on GitHub
bakkot bakkot commented on Oct 30, 2026 17:22 UTC
Author

Cherry-pick of the commit from #4024 by @JinDX.

HostGrowSharedArrayBuffer takes a (mathematical) non-negative integer, and then the prose requirements require in some case an event whose "[[Payload]] is NumericToRawBytes(~biguint64~, _newByteLength_, _isLittleEndian_)". But the second argument to NumericToRawBytes must be a Number or BigInt, so coerce with ℤ.

Diff: 2 lines (+1 / -1) across 1 files Reviewer: ljharb Review duration: 11603m
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.10) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.10 · 2 lines diff across 1 files
0.10
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.58 · 1 substantive comment(s)
0.58
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
69%
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.066
Real PR Conversation Timeline
2 items
github-actions[bot] github-actions[bot] commented on Nov 07, 2026 18:45 UTC
Bot

The rendered spec preview for this PR is available as a single page at https://tc39.es/ecma262/pr/4049 and as multiple pages at https://tc39.es/ecma262/pr/4049/multipage .

<hidden purpose="for-rewritable-pr-comment-action-use" value="tc39_pr_preview_comment"></hidden>

Reviewers
Assignees
bakkot bakkot
Labels
risk: low confidence: 69.1% 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: 9.6% (LOW) · Higher = larger blast radius
9.6%
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: 69.1% · Lower = rushed or shallow review
69.1%
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: 2.9% · Safe to merge
2.9%
Repository