GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: export mise path entries to subsequent steps by jdx · Pull Request #575 · jdx/mise-action

Conversation

@jdx

@jdx jdx commented Jul 24, 2026 •
edited by cursor Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

Summary

  • restore activation-like propagation of mise-produced PATH entries to subsequent workflow steps
  • add only the PATH prefix introduced by mise through GITHUB_PATH, without exporting the runner's complete computed PATH through GITHUB_ENV
  • enable PATH export by default for compatibility with behavior users relied on before v4.2.1
  • add export_path: false as an explicit opt-out
  • cover configured PATH ordering across Linux, macOS, Windows, and Alpine, plus the opt-out behavior

Root cause

v4.2.1 correctly stopped exporting the complete PATH returned by mise env --json, which had snapshotted the runner environment into GITHUB_ENV. However, removing PATH entirely also removed [env] _.path and other mise-produced path entries that users relied on in subsequent steps.

This change computes the prefix that mise added to the action's existing PATH and forwards those directories individually using the GitHub Actions PATH environment file. It retains mise's configured ordering while avoiding the unsafe full-PATH export.

Addresses #565.

Validation

  • aube install
  • aubr all
  • mise x [email protected] [email protected] -- actionlint .github/workflows/test.yml
  • mise x [email protected] -- shellcheck scripts/test.sh

This pull request was generated by Codex.


Note

Medium Risk
Touches how every workflow step sees PATH after setup; logic is nuanced (prefix vs set-diff) but defaults preserve prior behavior and CI covers ordering and opt-out.

Overview
Restores activation-like PATH propagation for subsequent workflow steps after v4.2.1 stopped exporting PATH entirely. The action now derives only the prefix mise added to the current PATH (tools, [env] _.path, etc.) and appends those entries through GITHUB_PATH, instead of writing the full computed PATH into GITHUB_ENV.

Adds export_path (default true) so workflows can keep regular env exports while opting out of PATH changes. Dotenv fallbacks strip PATH from GITHUB_ENV and still export additions via JSON when needed.

CI creates ordered PATH fixtures across the matrix and adds a path_opt_out job; scripts/test.sh checks [env] _.path ordering persists in later steps.

Reviewed by Cursor Bugbot for commit 30d9042. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@jdx
fix: export mise path entries to subsequent steps
5fcf8d2
@coderabbitai

coderabbitai Bot commented Jul 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

@jdx, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 32 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: bb3fafbb-b5da-4d43-897f-550bc26e0ba1

📥 Commits

Reviewing files that changed from the base of the PR and between f10502f and 30d9042.

⛔ Files ignored due to path filters (2)
  • dist/index.js is excluded by !**/dist/**
  • dist/index.js.map is excluded by !**/dist/**, !**/*.map
📒 Files selected for processing (5)
  • .github/workflows/test.yml
  • README.md
  • action.yml
  • scripts/test.sh
  • src/index.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Jul 24, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5fcf8d2. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread dist/index.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jdx jdx mentioned this pull request Jul 24, 2026
v4.2.1 regression: pnpm mise shims not resolvable in subsequent steps ("pnpm is not a valid shim") #565
Closed
@greptile-apps

greptile-apps Bot commented Jul 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Greptile Summary

Restores propagation of mise-produced PATH entries to subsequent workflow steps.

  • Filters PATH from legacy dotenv output instead of writing the complete computed PATH to GITHUB_ENV.
  • Adds mise-specific PATH entries through GITHUB_PATH, with an export_path opt-out.
  • Updates action metadata, documentation, bundled artifacts, and cross-platform workflow tests.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains within the scope of the previous review thread.

Important Files Changed

Filename Overview
src/index.ts Separates PATH from regular environment export, filters PATH from legacy dotenv output, and propagates mise-added entries through GITHUB_PATH.
action.yml Declares the new export_path input and updates the env input contract.
.github/workflows/test.yml Adds PATH-ordering fixtures and verifies the legacy-version opt-out behavior.
scripts/test.sh Updates integration assertions to require mise-configured PATH precedence.
dist/index.js Includes the bundled runtime implementation corresponding to the TypeScript changes.

Reviews (2): Last reviewed commit: "fix: filter path from dotenv fallback" | Re-trigger Greptile

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot]
greptile-apps Bot reviewed Jul 24, 2026
View reviewed changes
Comment thread src/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@jdx
fix: filter path from dotenv fallback
30d9042
@jdx
jdx merged commit 0f85637 into main Jul 24, 2026
20 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@jdx
jdx deleted the codex/export-mise-path branch July 24, 2026 18:37
@jdx jdx mentioned this pull request Jul 24, 2026
chore: release v4.2.3 #578
Merged
@scottames-github-bot scottames-github-bot Bot mentioned this pull request Jul 30, 2026
chore(deps): update github-actions scottames/dots#1001
Merged
1 task
@shoji9x9 shoji9x9 mentioned this pull request Aug 7, 2026
chore: bump jdx/mise-action from 4.2.1 to 4.2.3 in the actions group across 1 directory shoji9x9/skills#171
Merged
samip5 pushed a commit to k8s-gateway/k8s_gateway that referenced this pull request Sep 8, 2026
k8s-gateway-bot Sky M
chore(deps): update https://github.com/jdx/mise-action action to v4.3…
cb4ac6d
….0 (#363)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [https://github.com/jdx/mise-action](https://github.com/jdx/mise-action) | action | minor | `v4.2.0` → `v4.3.0` |

---

### Release Notes

<details>
<summary>jdx/mise-action (https://github.com/jdx/mise-action)</summary>

### [`v4.3.0`](https://github.com/jdx/mise-action/releases/tag/v4.3.0): : Install age-filtered mise releases

[Compare Source](jdx/mise-action@v4.2.5...v4.3.0)

A small release that adds an opt-in way to hold back from installing brand-new mise releases.

#### Added

##### `minimum_release_age` input ([#&#8203;604](jdx/mise-action#604) by [@&#8203;jdx](https://github.com/jdx))

When `version` is omitted, you can now set `minimum_release_age` to install the newest **stable, non-draft** mise release that is older than a given cutoff — a simple way to avoid picking up a mise release the moment it ships (closes [#&#8203;603](jdx/mise-action#603)).

```yaml
- uses: jdx/mise-action@v4
  with:
    minimum_release_age: 7d
```

It accepts relative durations (`24h`, `7d`, `6mo`, `1y`) as well as absolute ISO dates and timestamps. Age-filtered versions are resolved from the GitHub Releases API (the CDN only serves the latest binary) and downloaded by their exact version. If mise is already present on disk, an age-filtered run updates it to the resolved version rather than keeping the existing binary. An explicit `version` always takes precedence over `minimum_release_age`, and invalid dates fail fast.

**Full Changelog**: <jdx/mise-action@v4.2.5...v4.3.0>

### [`v4.2.5`](https://github.com/jdx/mise-action/releases/tag/v4.2.5): : Resilient mise downloads with automatic retries

[Compare Source](jdx/mise-action@v4.2.4...v4.2.5)

A small patch release that makes setup more resilient to transient network failures when downloading mise.

#### Fixed

##### Retry mise downloads after transient failures ([#&#8203;597](jdx/mise-action#597) by [@&#8203;jdx](https://github.com/jdx))

The download helpers previously made a single `curl` or `wget` attempt, so a transient GitHub release-asset HTTP or TLS failure would abort setup before mise or any user command could run (see [#&#8203;596](jdx/mise-action#596)).

Downloads now run through a retry wrapper that makes up to five attempts with a 2s pause between failures, logging a warning on each retry. This applies consistently to binary, checksum, signature, and version fetches. Checksum and minisign verification still run only after a successful download — never inside the retry loop — so integrity guarantees are unchanged.

**Full Changelog**: <jdx/mise-action@v4.2.4...v4.2.5>

### [`v4.2.4`](https://github.com/jdx/mise-action/releases/tag/v4.2.4): : Reliable locking detection under forced color

[Compare Source](jdx/mise-action@v4.2.3...v4.2.4)

A small patch release that fixes locking-support detection when workflows force colored output.

#### Fixed

##### Detect `mise install --locked` reliably under forced color ([#&#8203;580](jdx/mise-action#580) by [@&#8203;scop](https://github.com/scop))

When colored output was forced globally (for example via `CLICOLOR_FORCE=1`), ANSI escape codes in `mise install --help` prevented the action from matching `--locked` in the help text, so locking support was reported as unavailable even on versions of mise that supported it.

The help probe now runs with `NO_COLOR=1` in its environment, which overrides `CLICOLOR_FORCE` and guarantees plain-text output for the feature detection — regardless of the surrounding workflow's color settings.

**Full Changelog**: <jdx/mise-action@v4.2.3...v4.2.4>

### [`v4.2.3`](https://github.com/jdx/mise-action/releases/tag/v4.2.3): : Restore mise PATH propagation

[Compare Source](jdx/mise-action@v4.2.2...v4.2.3)

A patch release that restores mise's PATH propagation to subsequent workflow steps — without reintroducing the full-PATH snapshot behavior that v4.2.1 fixed.

#### Fixed

##### Export mise PATH entries to subsequent steps ([#&#8203;575](jdx/mise-action#575)) by [@&#8203;jdx](https://github.com/jdx)

v4.2.1 stopped exporting the complete `PATH` returned by `mise env --json` into `GITHUB_ENV`, which correctly prevented snapshotting the runner's environment into subsequent steps. However, that also dropped mise-produced PATH entries — tool shims, `[env] _.path` directories, and similar — that workflows relied on after the setup step. See [#&#8203;565](jdx/mise-action#565).

The action now computes only the **prefix** that mise prepended to the existing `PATH` and forwards those directories individually through `GITHUB_PATH`. This preserves mise's configured ordering, composes cleanly with PATH changes from other actions, and never persists the runner's full `PATH` through `GITHUB_ENV`. The dotenv fallback path (used with older mise versions) also strips `PATH=` lines and re-derives additions from `mise env --json`.

A new `export_path` input (default `true`) lets workflows keep regular `env` exports while opting out of PATH changes:

```yaml
- uses: jdx/mise-action@v4
  with:
    export_path: false # keep env vars, skip mise PATH additions
```

**Full Changelog**: <jdx/mise-action@v4.2.2...v4.2.3>

### [`v4.2.2`](https://github.com/jdx/mise-action/releases/tag/v4.2.2): : Zstd tar fallback for older runners

[Compare Source](jdx/mise-action@v4.2.1...v4.2.2)

A small patch release that fixes archive selection on runners with an older `tar` and corrects a stale default in the README.

#### Fixed

##### Verify `tar` supports Zstd before picking `.tar.zst` ([#&#8203;569](jdx/mise-action#569) by [@&#8203;JackMyers001](https://github.com/JackMyers001)

The action previously chose the `.tar.zst` mise archive whenever `zstd --version` succeeded, then extracted it with `tar --zstd`. On RHEL 8-compatible runners that ship `zstd` 1.4.4 alongside GNU `tar` 1.30, the `--zstd` option isn't recognized and installation failed.

Detection now runs both checks:

```
zstd --version
tar --zstd --version
```

If either fails, the action falls back to the `.tar.gz` archive. No configuration change is required — existing workflows on affected runners just start working again. Fixes [#&#8203;568](jdx/mise-action#568).

#### Documentation

- Update the `cache_key_prefix` example in the README to reflect the current default of `mise-v1` (previously documented as `mise-v0`) ([#&#8203;570](jdx/mise-action#570) by [@&#8203;muzimuzhi](https://github.com/muzimuzhi)).

#### New Contributors

- [@&#8203;JackMyers001](https://github.com/JackMyers001) made their first contribution in [#&#8203;569](jdx/mise-action#569)
- [@&#8203;muzimuzhi](https://github.com/muzimuzhi) made their first contribution in [#&#8203;570](jdx/mise-action#570)

**Full Changelog**: <jdx/mise-action@v4.2.1...v4.2.2>

### [`v4.2.1`](https://github.com/jdx/mise-action/releases/tag/v4.2.1): : Signed checksums and PATH export fix

[Compare Source](jdx/mise-action@v4.2.0...v4.2.1)

A small patch release with two user-facing fixes: mise downloads are now verified against minisign-signed release checksums by default, and the `env` input no longer leaks the runner's `PATH` into subsequent steps.

#### Fixed

##### Verify mise downloads with signed checksums ([#&#8203;548](jdx/mise-action#548)) by [@&#8203;jdx](https://github.com/jdx)

The action now embeds mise's minisign public key and verifies `SHASUMS256.txt.minisig` before trusting any release checksums, then checks the downloaded mise binary's SHA256 against the verified list. This applies to both GitHub release archives (verified before extraction) and the default `mise.jdx.dev` CDN path (verified against the signed checksum for the matching release asset). If a CDN download fails verification, the action warns and falls back to the signed GitHub release asset instead of installing an unverified binary.

- The existing `sha256` input still works as an explicit override.
- Pinned mise versions older than `2024.12.24` (which predate minisign checksums) get a warning and skip signed verification rather than failing.
- Because tar installs now extract from a verified file on disk, the previous streaming `download | tar` fast path is replaced with a download-then-verify-then-extract flow.

Thanks to [@&#8203;potiuk](https://github.com/potiuk) for the detailed threat-model writeup in [#&#8203;547](jdx/mise-action#547).

##### Exclude `PATH` from environment export ([#&#8203;556](jdx/mise-action#556)) by [@&#8203;jdx](https://github.com/jdx)

The `env` input has always documented that "PATH modifications are not part of this", but since the switch to `mise env --json` in [#&#8203;252](jdx/mise-action#252) (needed for redaction support), the action was exporting every string value returned by mise — including the computed `PATH` — into `GITHUB_ENV`. That effectively snapshotted the runner's entire `PATH` into subsequent steps and let `[env] _.path` entries in `mise.toml` leak past the action's own PATH management.

`exportMiseEnv` now skips `PATH` (case-insensitive) when exporting JSON env vars, restoring the documented behavior. Normal mise env vars are still exported, and PATH continues to be managed by the action's own setup (e.g. `add_shims_to_path`). Fixes [#&#8203;555](jdx/mise-action#555).

**Full Changelog**: <jdx/mise-action@v4.2.0...v4.2.1>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Reviewed-on: https://codeberg.org/k8s-gateway/k8s_gateway/pulls/363
@jdx jdx mentioned this pull request Oct 3, 2026
Changed behavior of python.uv_venv_auto = "source" PATH handling between version 4.2.1 to 4.2.3 #587
Closed
@bo0tzz bo0tzz mentioned this pull request Oct 14, 2026
fix: keep PATH entries that mise moves forward #684
Closed
@Tensho Tensho mentioned this pull request Oct 28, 2026
fix: keep mise shims override root dirs livelink/pipelines-workflows#8
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@greptile-apps greptile-apps[bot] greptile-apps[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@jdx
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.