← Back to Pull requests

Skip metadata-read-overflow in downstream builds #8563

Closed
unknown closed this pull request without merging on Nov 18, 2026 01:03 UTC
View on GitHub
unknown unknown commented on Nov 18, 2026 00:43 UTC
Author

Since #8554, metadata-read-overflow fails in edgeworker's CI for every workerd PR rebased onto main, with RangeError: WebAssembly.Memory(): could not allocate memory. Edgeworker master is unaffected for now because its workerd pin predates #8554, but the next workerd bump would hit it too.

Edgeworker's build can't allocate a buffer of 2 GiB or more: a 2 GiB ArrayBuffer and a WebAssembly.Memory of 1 GiB or more both fail there. The test needs such a buffer to reach the overflow, so it can't run there. It never really did: before #8554 it got its buffer from a 2 GiB Uint8Array and swallowed every exception, so in edgeworker it passed without ever reaching the reader. #8554 made it assert its result, which exposed this.

This tags the test no-downstream, which every edgeworker test config filters out. The overflow is in workerd's PyodideMetadataReader, which workerd's own CI still tests.

The internal-build check on #8554 decided from the changed paths not to run the edgeworker build, which is why this wasn't caught before merging.

Testing

  • In an edgeworker checkout at master with deps/workerd at this branch, all eight metadata-read-overflow variants carry the tag, and bazel test --config=bazelflare skips them ("All specified test targets were excluded by filters").

  • Before this change, the same checkout reproduced the CI failure.

  • In workerd, all four variants still run and pass on bazelflare.
  • 🤖 Generated with Claude Code

    Diff: 188 lines (+141 / -47) across 2 files Reviewer: ryanking13 Review duration: 20m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.36) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 188 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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.314
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #8563"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 35.8% (MEDIUM) · Higher = larger blast radius
    35.8%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 15.5% · Safe to merge
    15.5%