← Back to Pull requests

feat(eval-run): prepare Fullsend before cases #349

Open
unknown opened this pull request with 265 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 24, 2026 17:50 UTC
Author

Summary


  • Before concurrent local case execution (at least two selected cases, parallelism > 1), run fullsend prepare <agent> --json once, after before_all and before any before_each, so the sandbox image is resolved and pulled once instead of once per case. A failed preparation stops the run before any case starts.

  • Multi-step pipelines are prepared too, unless every step declares its own runner: a step without one inherits the top-level Fullsend runner and needs its image warmed.

  • Single-attempt sandbox preflight failures (sandbox-preflight, sandbox-cleanup) are advisory: a WARNING is printed and the cases run, because each case's own run retries sandbox creation. Every other failure kind is fatal.

  • A binary without the prepare subcommand (probed with prepare --help) warns and skips preparation. The runner still requires fullsend >= 0.48; preparation is conditional on binary support.

  • Of runner.extra_args, only the flags prepare supports are forwarded: --forge, --event-file, repeatable --env-file, --offline. Runs keep all of them.

  • Reuses the runner's environment, process-group teardown and credential-masked console capture. Batch mode and non-Fullsend runners never prepare.
  • Dependency


  • Needs a fullsend that provides prepare (fullsend-ai/fullsend#9813); released versions without it warn and run unprepared.

  • Image/registry values must come from shared env (runner.env, execution.env, before_all); before_each env is not part of the prepared context.

  • Callers that continue to scoring after an execution failure need their own guard.
  • Testing


  • python3 -m pytest tests/test_fullsend_runner.py -q: 276 passed, 1 failed. The failure, test_prepare_timeout_stops_the_process_group, also fails on the parent revision in this sandbox (a leftover child pid is still reported alive), so it is not caused by this change.

  • python3 -m pytest tests/test_documentation_tracking.py tests/test_venv_activation.py -q: 69 passed, 4 skipped.

  • skillsaw lint: 0 errors. mkdocs build --strict: passes.

  • No real gateway or paid evaluation was run.
  • Closes #348

    Diff: 265 lines (+198 / -67) across 3 files Reviewer: fullsend-ai-coder[bot] Review duration: 8610m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 265 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.334
    Real PR Conversation Timeline
    1 comments
    "Review active on #349"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.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: 39.3% (MEDIUM) · Higher = larger blast radius
    39.3%
    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: 46.7% · Lower = rushed or shallow review
    46.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: 21.0% · Safe to merge
    21.0%