← Back to Pull requests

fix: align the gleam and gh version checks with their releases #7780

Closed
unknown closed this pull request without merging on Oct 14, 2026 10:19 UTC
View on GitHub
unknown unknown commented on Oct 14, 2026 09:37 UTC
Author

Changes

Aligns three version checks with the upstream releases:

  • gleam: validate() accepts versions from 0.23.0 instead of 0.19.0-rc1; older releases use other asset names (gleam-v<version>-linux-amd64.tar.gz), so the install failed for them anyway.

  • gh: validate() accepts versions from 2.0.0 instead of ^2.0.0, so a future 3.x isn't rejected.

  • nix: the comment now gives the real reason for the 2.10.3 minimum: 2.10.0 to 2.10.2 use an auto-chroot store even though NIX_STORE_DIR and NIX_STATE_DIR are set (NixOS/nix#6732, fixed in 2.10.3). Prebuilds go back to 2.5.0 but are untested. The value is unchanged.
  • Found while researching the minimum versions for #7771.

    Context

    Please select one of the following:

  • This closes an existing Issue, Closes: # <!-- NOTE that this should NOT be a Discussion -->

  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation
  • AI assistance disclosure

    Did you use AI tools to create any part of this pull request?

    Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.

  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).

  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).

  • Yes — other (please describe):
  • Claude Sonnet 5.5 and Claude Opus 5.5 (Claude Code) wrote the changes and tests, reviewed by @viceice.

    Use of AI in replying to PR comments

    Who answers review comments:

  • @viceice will read and reply directly. Name the account.

  • An agent will draft replies and @username will read them before they are posted. Name the account.

  • An agent will draft replies and reply autonomously. This is heavily discouraged, and we prefer that there are humans in the loop

  • Nobody has explicitly committed to replying.
  • Documentation (please check one with an [x])

  • I have updated the documentation, or

  • No documentation update is required
  • How I've tested my work (please select one)

    I have verified these changes via:

  • Code inspection only, or

  • Newly added/modified tests
  • 🤖 Generated with Claude Code

    Diff: 298 lines (+223 / -75) across 3 files Reviewer: viceice Review duration: 42m
    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 · 298 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 #7780"
    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%