← Back to Pull requests

ci: free the Azure hosted runner disk before the Linux test suite #3057

Closed
unknown closed this pull request without merging on Nov 21, 2026 04:39 UTC
View on GitHub
unknown unknown commented on Nov 19, 2026 20:55 UTC
Author

Root cause of the current repo-wide linux_313 failures

The linux_313 Azure job has failed consistently since ~2026-11-16 (main-branch builds 9600/9603/9605/9606/9607 and multiple PR merge builds, incl. reruns — e.g. build 9611, two attempts). The failing test is test/test_container_images.py::test, and the failure is disk exhaustion, not a flake:

  • The build timeline records Free disk space on / is lower than 5%; Currently used: 95.08% before the test suite starts.

  • test/test_container_images.py sets manylinux_images.x86_64: dockcross/manylinux2014-x64 and cibuildwheel runs docker create --pull=always ... for it; the dockcross image's layer extraction fails with:

  •   failed to extract layer (...) to overlayfs as ...: write /var/lib/containerd/.../usr/local/libexec/git-core/git-sh-i18n--envsubst: no space left on device
      

  • The hosted runner image has grown closer to disk capacity recently, which is why reruns keep failing in the same window while earlier builds succeeded.
  • Fix

    Remove the hosted image's unused toolchain caches (dotnet, Android SDK, GHC, CodeQL) and prune dangling docker state before the test suite runs, so the multi-GB container image pulls have room. The step is conditioned on the Linux native job (matching the binfmt install step's condition) — the Android job is unaffected, and nothing needed at that point in the pipeline lives in those paths.

    Refs the failing build: https://dev.azure.com/joerick0429/538663c3-3831-41c5-882a-57f150ef01bc/_build/results?buildId=9611 (log 67, Run tests task).

    AI disclosure: this PR was prepared with AI assistance (Claude); the diagnosis (log analysis of the Azure build timeline) and the change were reviewed and verified by me.

    Diff: 218 lines (+163 / -55) across 2 files Reviewer: henryiii Review duration: 1903m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 218 lines diff across 2 files
    0.37
    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.322
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3057"
    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: 36.7% (MEDIUM) · Higher = larger blast radius
    36.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: 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: 14.5% · Safe to merge
    14.5%