← Back to Pull requests

test: bound ibis Python solve and diagnose stalled CI #956

Open
unknown opened this pull request with 355 lines diff across 4 files
View on GitHub
unknown unknown commented on Oct 14, 2026 17:34 UTC
Author

test_lock_poetry_ibis has reached GitHub's six-hour limit on Windows, and passing Linux/macOS executions also grew to about 52 minutes. Pin this category-propagation fixture's target Python to 3.12.* to reduce the solver's search across interpreter versions. The host-Python test matrix remains unchanged.

Enable Python stack dumps after ten minutes per test and cap test jobs at 90 minutes to diagnose and bound remaining stalls.

Local validation:

  • With CI's Linux mamba 2.9.0/libsolv 0.7.40 builds, the original constraints took 180.4 seconds and the Python pin took 5.2 seconds. Both selected the same 313 package names, versions, and builds. A debugger captured active libsolv SAT search. The fixture requests 49 conda dependencies and no pip dependencies.

  • The actual ibis test passed with a fresh cache in 13.6 seconds, and with two xdist workers and branch coverage in 16.1 seconds overall.

  • TOML/YAML parsing, whitespace, typecheck, and pre-commit checks passed.
  • CI validation:

  • The first PR run passed ibis in all six OS/host-Python combinations in 21–35 seconds. All 46 pytest shards passed after retrying one ensureconda download failure on the unchanged commit.

  • The latest run, on 25b2205b, again passed ibis on Windows Python 3.10 in 29.7 seconds and Windows Python 3.14 in 26.0 seconds.
  • Following up on Matt's October 16 comment, the latest run still fails in other tests. The new stack dumps identified ensureconda downloading conda-standalone. One Windows job logged 6,977 separate 8 KiB range requests before solving; its eventual failure was an HTTP 502 during repodata fetching. Another Windows job spent 44 minutes on two downloads that failed with HTTP 502. A macOS job reached the 90-minute limit after stack dumps showed one worker downloading and another waiting for its lock.

    The excessive requests reproduce locally: extracting a 4 MiB executable takes 514 requests on Python 3.12, versus one when the archive is downloaded before extraction. The downloader fix and regression tests are in ensureconda#59; it is separate from this fixture change and does not fix conda's later repodata HTTP errors.

    The exact repository-metadata change that triggered the original ibis slowdown and the six-hour Windows process state remain unproven. The CI results validate the Python-pin mitigation; they do not establish that complete causal chain.

    Diff: 355 lines (+266 / -89) across 4 files Reviewer: beckermr Review duration: 2661m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 355 lines diff across 4 files
    0.43
    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
    Diff Size diff_size
    0.351
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #956"
    general weight: 0.35
    Reviewers
    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: 42.5% (MEDIUM) · Higher = larger blast radius
    42.5%
    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: 22.7% · Safe to merge
    22.7%