← Back to Pull requests

test(research): qualify local HTTP fixtures with native synthetic providers #7364

Closed
unknown closed this pull request without merging on Oct 27, 2026 03:43 UTC
View on GitHub
unknown unknown commented on Oct 26, 2026 06:50 UTC
Author

The local research HTTP fixture now uses the existing native synthetic-provider launcher and a bounded Windows temporary root, so contributors can run the lifecycle checks without a system policy change or real model execution. Provider identity and UTF-8 IO remain explicit; source-scoped Windows qualification remains tracked in #7363.

At current head 1e5df0ba7, authenticated same-root runtime cleanup is registered before register_pack can start Node, with finalizer ordering that stops the runtime before deleting its directory. Two real-process regressions inject registration and provider-identity setup failures. Both fail on the previous cleanup placement on native Windows, and both pass after the repair, checking that the original owned PID exits. The source-read observer compares physical files with samefile, preserving exact read-count and changed-source assertions across Windows path spellings.

Validation on native Windows / CPython 3.12.10 from this checkout:

  • Local HTTP family: 14 passed, 10 source-scoped deselected. Includes the two new pre-yield failures and existing cancellation, retry, cache, citations, source changes and owner/origin rejection.

  • Required Ruff surface and git diff --check pass. Semantic advisory reports no supported product vocabulary carriers; test-only source is outside that probe's supported scope.

  • Previous author qualification used PYTHONUTF8=0 for the original 12 local cases. The fresh 14-case run used the current environment; no broader encoding qualification is claimed.

  • Historical workflow validation remains 527 passed plus 22 missing-Bash failures, followed by 22 passes with command-local existing Git Bash PATH; these were disjoint runs, not a full current-head workflow rerun.

  • Previous hosted Windows CI had 2 failed / 10 passed / 10 deselected in the path-spelling-sensitive observer. Current-head CI and independent re-review remain pending; no full CI pass is asserted.
  • Scope: tests and Windows CI entry only; no product frontend/Lark/CLI, authority, persisted state or source-verification behavior changes. Reused the existing launcher and cleanup owner; no new abstraction or shared vocabulary was needed. Integrated target main be1dc37a008be7017b64b622f653b6707df5c544; all branch commits are signed off. No model or benchmark job, active Goal mutation, system upgrade or self-merge.

    Diff: 299 lines (+224 / -75) across 3 files Reviewer: BigDataDZ Review duration: 1253m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 299 lines diff across 3 files
    0.40
    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.341
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #7364"
    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: 40% (MEDIUM) · Higher = larger blast radius
    40%
    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: 15.8% · Safe to merge
    15.8%