fix(e2e): use explicit asdf backend for zprint in plugin_install test#7440
Merged
fix(e2e): use explicit asdf backend for zprint in plugin_install test#7440
Conversation
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>
Contributor
There was a problem hiding this comment.
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-versionsto use explicit asdf backend syntax for zprint - Ensures
mise plugin install --allcan reinstall the zprint asdf plugin after removal
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Hyperfine Performance
|
| 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% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fix failing
test_plugin_installe2e 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 --allto 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:This tells mise to use the asdf backend for zprint, so
mise plugin install --allknows to install the asdf plugin.🤖 Generated with Claude Code
Note
Pins
zprintto the asdf backend intest_plugin_installto ensure reinstall viamise plugin install --all..tool-versionsine2e/plugins/test_plugin_installto useasdf:mise-plugins/mise-zprintinstead ofzprint, 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.