Skip to content

registry: fix go-getter and mysql CI failures#8662

Merged
jdx merged 1 commit intomainfrom
fix/registry-killport-go-getter
Mar 20, 2026
Merged

registry: fix go-getter and mysql CI failures#8662
jdx merged 1 commit intomainfrom
fix/registry-killport-go-getter

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Mar 20, 2026

Summary

  • go-getter: remove registry test — v1.8.5 has no binary assets (upstream forgot to publish them), causing test-tool to fail with no asset found: go-getter_1.8.5_linux_amd64.zip
  • mysql: drop conda:mysql backend — it's a metapackage with no binaries; the actual mysql binary lives in the mysql-client dependency, so the conda install succeeds but .mise-bins is empty and the system mysql is found instead
  • mysql-client: add new registry entry using conda:mysql-client directly

Test plan

  • test-tool CI no longer fails for go-getter or mysql
  • mise install mysql-client installs and mysql --version reports the conda version

🤖 Generated with Claude Code


Note

Low Risk
Registry-only metadata changes that adjust backends/tests; low risk beyond potentially changing which binaries are installed for MySQL-related tools.

Overview
Removes the test check from go-getter to avoid failures when upstream releases lack binary assets.

Updates mysql to drop the conda:mysql backend (leaving only the mise-mysql asdf backend) and adds a new mysql-client registry entry backed by conda:mysql-client with a mysql --version test.

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

- go-getter: remove test since v1.8.5 has no binary assets upstream
- mysql: drop conda:mysql backend (metapackage with no binaries), keep asdf
- mysql-client: add new entry using conda:mysql-client directly

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@jdx jdx merged commit 7b6f582 into main Mar 20, 2026
19 of 21 checks passed
@jdx jdx deleted the fix/registry-killport-go-getter branch March 20, 2026 08:59
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses CI failures related to go-getter and MySQL. It removes a failing test for go-getter and updates the MySQL configuration to use mysql-client directly, resolving issues with missing binaries.

Highlights

  • Go-getter fix: Removed the registry test for go-getter due to missing binary assets in version v1.8.5.
  • MySQL backend adjustment: Dropped the conda:mysql backend as it's a metapackage without binaries, and added a new registry entry using conda:mysql-client directly.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses CI failures for go-getter and mysql. For go-getter, the test is removed due to an upstream issue with missing binary assets in a recent release. For mysql, the change correctly removes a non-functional conda:mysql backend and introduces a new mysql-client tool using the proper conda:mysql-client backend. The changes are logical and well-justified. I have one suggestion to improve maintainability.

Comment thread registry/go-getter.toml
@@ -1,3 +1,2 @@
backends = ["aqua:hashicorp/go-getter", "asdf:mise-plugins/mise-go-getter"]
description = "Package for downloading things from a string URL using a variety of protocols"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

To improve maintainability, it would be helpful to add a comment explaining why the test was removed. This provides context for future contributors and can prevent the test from being re-added without understanding the underlying upstream issue.

Suggested change
description = "Package for downloading things from a string URL using a variety of protocols"
description = "Package for downloading things from a string URL using a variety of protocols"
# Test removed because upstream releases sometimes lack binary assets, causing CI to fail.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Mar 20, 2026

Greptile Summary

This PR fixes two recurring CI failures in the registry test-tool pipeline by removing a broken go-getter test and replacing the non-functional conda:mysql metapackage with a direct conda:mysql-client entry.

Key changes:

  • registry/go-getter.toml: The test field is removed entirely. Per src/cli/test_tool.rs (line 64–65), tools without a test field are silently skipped by test-tool, so the failing install attempt for the asset-less v1.8.5 release is bypassed. This is an effective but permanent workaround — go-getter will not be tested in CI again unless the test is manually restored after upstream publishes proper binary assets.
  • registry/mysql.toml: conda:mysql is dropped because it is a metapackage that installs dependencies but provides no binaries itself, causing .mise-bins to be empty and the system mysql to be found instead of the conda-installed one.
  • registry/mysql-client.toml: New entry using conda:mysql-client, which is the package that actually contains the mysql binary. The test (mysql --version / {{version}}) is consistent with the pattern used in other registry entries.

Confidence Score: 4/5

  • Safe to merge — targeted CI fixes with no functional regressions to end-users who rely on the remaining backends.
  • The changes are narrowly scoped registry fixes backed by clear root-cause reasoning (missing upstream assets for go-getter; conda metapackage for mysql). The mysql-client entry follows established patterns and includes a test. The one mild concern is that removing the go-getter test permanently opts the tool out of future CI coverage, but this is a pragmatic trade-off for a broken upstream release.
  • registry/go-getter.toml — test removed permanently; should be restored once hashicorp publishes proper binary assets for a future go-getter release.

Important Files Changed

Filename Overview
registry/go-getter.toml Removes the test entry entirely to avoid CI failure caused by missing binary assets in go-getter v1.8.5. The test-tool runner skips tools without a test field, so this prevents the failed install attempt. However, test coverage for go-getter is permanently dropped until someone manually restores it.
registry/mysql-client.toml New registry entry pointing directly to conda:mysql-client (which provides the actual mysql binary). Has a reasonable test using mysql --version with {{version}} as expected output. Only has a conda backend with no asdf fallback, making this tool unavailable outside of conda environments.
registry/mysql.toml Drops conda:mysql backend (a metapackage that installs successfully but produces no binaries in .mise-bins), leaving only asdf:mise-plugins/mise-mysql. Existing test is preserved and remains valid.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[mise install mysql] --> B{backends}
    B --> C[asdf:mise-plugins/mise-mysql]
    C --> D[✅ MySQL server binary available]

    E[mise install mysql-client] --> F{backends}
    F --> G[conda:mysql-client]
    G --> H[✅ mysql binary available]

    I[mise install go-getter] --> J{backends}
    J --> K[aqua:hashicorp/go-getter]
    J --> L[asdf:mise-plugins/mise-go-getter]
    K --> M[⚠️ v1.8.5 missing binary assets upstream]
    K --> N[No test defined → skipped in CI]

    style M fill:#ffcccc
    style N fill:#ffffcc
    style D fill:#ccffcc
    style H fill:#ccffcc
Loading

Fix All in Claude Code

Last reviewed commit: "registry: fix go-get..."

@@ -0,0 +1,3 @@
backends = ["conda:mysql-client"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 No fallback backend for non-conda environments

Every other conda-backed registry entry pairs conda: with an asdf: fallback (e.g. clang-format.toml, vim.toml, ghc.toml). With only conda:mysql-client, users who don't have conda available will get a hard failure on mise install mysql-client with no recovery path.

If there is no suitable asdf/aqua equivalent, this is acceptable, but it may be worth a comment or at least documenting it in the tool description (e.g. "MySQL Client (conda only)"). If an asdf plugin does exist in the future, adding it here would make the tool more broadly usable.

Fix in Claude Code

@github-actions
Copy link
Copy Markdown

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.3.9 x -- echo 26.1 ± 0.3 25.7 31.4 1.00
mise x -- echo 26.3 ± 0.5 25.6 31.6 1.01 ± 0.02

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.3.9 env 25.6 ± 0.4 25.0 31.4 1.00
mise env 25.8 ± 0.3 24.9 27.3 1.01 ± 0.02

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.3.9 hook-env 26.3 ± 0.3 25.7 30.6 1.00
mise hook-env 26.5 ± 0.3 25.7 27.8 1.01 ± 0.02

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.3.9 ls 25.2 ± 0.3 24.5 26.6 1.00
mise ls 25.5 ± 0.3 24.8 27.5 1.01 ± 0.02

xtasks/test/perf

Command mise-2026.3.9 mise Variance
install (cached) 160ms 160ms +0%
ls (cached) 89ms 89ms +0%
bin-paths (cached) 91ms 92ms -1%
task-ls (cached) 831ms 828ms +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.

1 participant