Skip to content

fix(e2e): use explicit asdf backend for zprint in plugin_install test#7440

Merged
jdx merged 1 commit intomainfrom
fix-e2e-plugin-install
Dec 19, 2025
Merged

fix(e2e): use explicit asdf backend for zprint in plugin_install test#7440
jdx merged 1 commit intomainfrom
fix-e2e-plugin-install

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Dec 19, 2025

Summary

Fix failing test_plugin_install e2e test.

Problem

The test was failing because zprint's default backend was changed from asdf to github in PR #7410. The test removes zprint's asdf plugin and then expects mise plugin install --all to reinstall it, but since zprint no longer has an asdf backend in the registry, the command couldn't reinstall the plugin.

Solution

Explicitly specify the asdf backend in .tool-versions:

-zprint latest
+asdf:mise-plugins/mise-zprint latest

This tells mise to use the asdf backend for zprint, so mise plugin install --all knows to install the asdf plugin.

🤖 Generated with Claude Code


Note

Pins zprint to the asdf backend in test_plugin_install to ensure reinstall via mise plugin install --all.

  • e2e tests:
    • Update .tool-versions in e2e/plugins/test_plugin_install to use asdf:mise-plugins/mise-zprint instead of zprint, ensuring the asdf backend is used during plugin installation.

Written by Cursor Bugbot for commit 332a27f. This will update automatically on new commits. Configure here.

zprint's default backend was changed from asdf to github in PR #7410.
The test needs to explicitly specify the asdf backend so that
`mise plugin install --all` knows to install the asdf plugin.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings December 19, 2025 03:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes a failing e2e test by explicitly specifying the asdf backend for zprint after its default backend was changed from asdf to github in PR #7410.

  • Updates .tool-versions to use explicit asdf backend syntax for zprint
  • Ensures mise plugin install --all can reinstall the zprint asdf plugin after removal

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jdx jdx enabled auto-merge (squash) December 19, 2025 03:41
@jdx jdx merged commit c2238c4 into main Dec 19, 2025
36 checks passed
@jdx jdx deleted the fix-e2e-plugin-install branch December 19, 2025 03:42
@github-actions
Copy link

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 x -- echo 20.9 ± 0.6 20.1 29.2 1.00
mise x -- echo 21.7 ± 0.6 20.2 28.6 1.04 ± 0.04

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 env 20.5 ± 0.7 19.4 26.8 1.00
mise env 21.4 ± 0.4 19.9 22.5 1.04 ± 0.04

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 hook-env 20.5 ± 0.3 19.8 21.5 1.00
mise hook-env 21.1 ± 0.3 20.1 22.3 1.03 ± 0.02

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.12.12 ls 18.0 ± 0.4 17.2 22.3 1.00
mise ls 18.6 ± 0.4 17.5 22.0 1.03 ± 0.03

xtasks/test/perf

Command mise-2025.12.12 mise Variance
install (cached) 112ms 114ms -1%
ls (cached) 68ms 68ms +0%
bin-paths (cached) 74ms 75ms -1%
task-ls (cached) 285ms 287ms +0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants