← Back to Pull requests

docs: add matrix and external cache guides; warn on shadowed mise_toml #654

Closed
unknown closed this pull request without merging on Oct 04, 2026 00:29 UTC
View on GitHub
unknown unknown commented on Oct 03, 2026 23:06 UTC
Author

<!-- entire-trail-link-start -->
https://entire.io/gh/jdx/mise-action/trails/27
<!-- entire-trail-link-end -->

Summary


  • Matrix builds (#418): document the MISE_<TOOL>_VERSION override, which keeps the rest of mise.toml (I checked: MISE_UV_VERSION=0.9.0 resolves uv to 0.9.0 with source environment while other tools are untouched), plus a per-matrix cache_key using {{default}}, and why mise_toml is a poor fit.

  • .mise.toml footgun (#418): mise loads .mise.toml ahead of mise.toml in the same directory (verified), so a repo .mise.toml silently beat the mise.toml the mise_toml input writes. The action now warns when .mise.toml exists.

  • Other cache actions (#260): document which directory to cache (~/.local/share/mise, following MISE_DATA_DIR/XDG_DATA_HOME/mise_dir) and an example with cache: false.
  • Typecheck, lint, tests and build pass; dist/ rebuilt. The examples are not run in CI.

    Fixes #418
    Fixes #260

    🤖 Generated with Claude Code

    <!-- CURSOR_SUMMARY -->
    ---

    [!NOTE]

    Low Risk

    Mostly documentation plus a non-breaking warning; no changes to install, cache restore/save, or auth paths.

    > Overview

    Expands README with two workflow guides and a small runtime guard for a config footgun.

    > External caching: Documents disabling built-in GitHub cache (cache: false) and caching mise’s data directory with a compatible action (example: runs-on/cache), including how mise_dir / MISE_DATA_DIR / XDG_DATA_HOME determine the path and how to build invalidation keys from config files.

    > Matrix builds: Recommends job-level MISE_<TOOL>_VERSION overrides on top of repo config, per-matrix cache_key suffixes (e.g. {{default}}-ruby…), and notes that mise_toml is a poor fit because it replaces repo tools and can lose to .mise.toml.

    > Behavior change: When the mise_toml input is used and a .mise.toml already exists in the working directory, the action now warns that mise loads .mise.toml ahead of the written mise.toml, so the input may have no effect. dist/ is rebuilt to ship this change.

    > <sup>Reviewed by Cursor Bugbot for commit 46157ab54d88605c8c7c0699cd2cc105f2bcc734. Bugbot is set up for automated code reviews on this repo. Configure here.</sup>

    <!-- /CURSOR_SUMMARY -->

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Documentation
    Added guidance for using a compatible cache action, configuring cache keys, and setting tool versions in matrix builds.
    Clarified when repository configuration takes precedence over the mise_toml input, and how to override a tool version for a single command.
    Bug Fixes
    * The action now warns when an existing .mise.toml takes precedence over the configuration provided through mise_toml.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 380 lines (+285 / -95) across 4 files Reviewer: jdx Review duration: 83m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.48) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 380 lines diff across 4 files
    0.48
    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%
    56%
    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.356
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #654"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 47.9% (MEDIUM) · Higher = larger blast radius
    47.9%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 20.7% · Safe to merge
    20.7%