← Back to Pull requests

Repros 776 #788

Closed
unknown closed this pull request without merging on Nov 04, 2026 22:55 UTC
View on GitHub
unknown unknown commented on Nov 04, 2026 22:17 UTC
Author

Second round: first-round items verified, one new repro and fix

Reviewed at edf34c1e. The answers to items 1, 2, 4, 6 and 8 check out (cached builds now report no build time, confirmed by running the pipeline twice with the cache on; closes are in the finally; the memo hits; one sweep chain; unregistered features throw), 3 is documented, and deferring 5 and 7 is fine. The NVQ cache-reload fix matches the loadCompressor proposed on #780, so the two merge either way. The full suite is green here on JDK 24 with the native provider.

One new item, with a failing test and a fix on repros-776:

| # | Issue | Repro | Fix |
|---|---|---|---|
| 1 | The fused-PQ 256-cluster check runs inside the core FusedPQ constructor while writers are being configured, so a rejected build leaves tmp_graph_ files and open writers behind, and the message is not the documented one | 09a1e6ef | c8102de8 |

1. The release note says the 256-cluster check "now fail[s] before any index writer is opened". Only the null-PQ case does: FusedPQProvider.checkCompressedBuild checks for null, and the cluster count is enforced by the core constructor during configureWriter, after the writer for every earlier feature set is open and, with the cache on, every WriteHandle begun. Nothing closes or aborts them. TestCompressedBuildPreflight runs Grid.runOneGraph with a 16-cluster PQ (what the harness's own tests use) and feature sets [INLINE_VECTORS], [INLINE_VECTORS, FUSED_PQ]; on the head it finds two tmp_graph_ files in the cache dir after the exception. The fix enforces the count in checkCompressedBuild with the documented message, and makes CompressedOnDiskBuild close opened writers and abort cache handles if configuring a later feature set still fails.

Worth addressing, not fixed here:

  • AutoBench's buildCompressor / searchCompressor params are lambda identities (Compression$$Lambda/0x...@1a2b3c), different between runs and between build points. The note says to exclude them when diffing but also to match rows by params; SearchContext already has the resolved buildCompressorLabel / searchCompressorLabel that experiments.csv uses, which would make rows matchable. Pre-existing, so a follow-up, but the note should not promise matching by params until then.

  • getCompressor prints null codebooks computed in 0.00s, for the None search compressor. Cosmetic, pre-existing.
  • Diff: 304 lines (+228 / -76) across 3 files Reviewer: MarkWolters Review duration: 37m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 304 lines diff across 3 files
    0.45
    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%
    60%
    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.342
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #788"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 45.1% (MEDIUM) · Higher = larger blast radius
    45.1%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 17.8% · Safe to merge
    17.8%