← Back to Pull requests

test: make the deferred-sort module probe portable #197

Merged
justin-schroeder merged 1 files (72 lines) on Jun 11, 2026 19:30 UTC
View on GitHub
justin-schroeder justin-schroeder commented on Jun 11, 2026 19:29 UTC
Author

Fixes the one remaining CI failure: the #169 regression spec imported src/index.ts through Vite's /@fs/ endpoint using a hardcoded absolute path from the machine it was written on — instant failure on any other machine (all three desktop shards, 20ms in).

  • Path now resolves from the repo root at runtime.

  • The probe body is a string-evaluated script so the dynamic import() reaches the browser untouched.

  • Local: 3× repeat green; red→green for the underlying #169 fix was established in #191.
  • With #193 (sharding), #195 (bounded install), and #196 (Node pin), the run triggered by this merge should be the first fully green CI on the branch.

    Diff: 72 lines (+45 / -27) across 1 files Reviewer: justin-schroeder Review duration: 0m
    All Vouch review confidence checks passed
    Residual risk 0.30 = Change Risk (0.53) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.53 · 72 lines diff across 1 files
    0.53
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 1 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 8% · Reviewer familiarity: 35%
    43%
    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.257
    Self Review self_review
    0.140
    Rapid Merge rapid_merge
    0.100
    Real PR Conversation Timeline
    3 items
    vercel[bot] vercel[bot] commented on Jun 11, 2026 19:30 UTC
    Bot

    [vc]: #IWJnOYlxiDAkB2BUSBFpeckz3G72RkmJuuo4rRnIoVg=:eyJpc01vbm9yZXBvIjp0cnVlLCJ0eXBlIjoiZ2l0aHViIiwicHJvamVjdHMiOlt7Im5hbWUiOiJkcmFnLWFuZC1kcm9wLWRvY3MiLCJwcm9qZWN0SWQiOiJwcmpfbUNKSEUydjIwQnJmVFpuTlh3YW1QQTZrYks4bSIsInYwIjpmYWxzZSwicm9vdERpcmVjdG9yeSI6ImRvY3MiLCJpbnNwZWN0b3JVcmwiOiJodHRwczovL3ZlcmNlbC5jb20vZm9ybWtpdC9kcmFnLWFuZC1kcm9wLWRvY3MvRXNaMk5LOGdnblJGTUhjUWNFVUZodnd1VHV6ZCIsInByZXZpZXdVcmwiOiJkcmFnLWFuZC1kcm9wLWRvY3MtZ2l0LWZpeC1kZWZlcnJlZC1zb3J0LWNpLXBhdGgtZm9ybWtpdC52ZXJjZWwuYXBwIiwibmV4dENvbW1pdFN0YXR1cyI6IkRFUExPWUVEIn1dLCJyZXF1ZXN0UmV2aWV3VXJsIjoiaHR0cHM6Ly92ZXJjZWwuY29tL3ZlcmNlbC1hZ2VudC9yZXF1ZXN0LXJldmlldz9vd25lcj1mb3Jta2l0JnJlcG89ZHJhZy1hbmQtZHJvcCZwcj0xOTcifQ==
    The latest updates on your projects. Learn more about Vercel for GitHub.

    | Project | Deployment | Actions | Updated (UTC) |
    | :--- | :----- | :------ | :------ |
    | drag-and-drop-docs | !Ready Ready | Preview | Jun 11, 2026 7:31pm |

    <a href="https://vercel.com/vercel-agent/request-review?owner=formkit&repo=drag-and-drop&pr=197" rel="noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://agents-vade-review.vercel.sh/request-review-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://agents-vade-review.vercel.sh/request-review-light.svg"><img src="https://agents-vade-review.vercel.sh/request-review-light.svg" alt="Request Review"></picture></a>

    justin-schroeder justin-schroeder commented on Jun 11, 2026 19:30 UTC
    Reviewer

    Review notes: a local debug session traced the earlier confusing local failures to a stale orphaned Vite server on port 5173 serving the HTML fallback for /@fs paths (reuseExistingServer picked it up); with fresh servers the spec is stable across repeats. CI never has that problem (no pre-existing server). The probe's assertions are unchanged.

    Assignees
    justin-schroeder justin-schroeder
    Labels
    risk: low confidence: 43.7% 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: 52.7% (MEDIUM) · Higher = larger blast radius
    52.7%
    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: 43.7% · Lower = rushed or shallow review
    43.7%
    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: 29.7% · Safe to merge
    29.7%