Skip to content

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Nov 30, 2025

Summary

  • Increases the default fetch_remote_versions_timeout from 10s to 20s
  • Some endpoints like api.anaconda.org consistently take 2-3+ seconds to respond under normal conditions
  • With slower connections or server load, the previous 10s default was too aggressive and caused frequent timeouts

Test plan

  • Verified api.anaconda.org response times (2.5-3.2s consistently)
  • Schema regenerated

🤖 Generated with Claude Code


Note

Increase default fetch_remote_versions_timeout from 10s to 20s in settings and schema.

  • Config defaults:
    • Update fetch_remote_versions_timeout default from 10s to 20s.
      • schema/mise.json: settings.fetch_remote_versions_timeout.default
      • settings.toml: [fetch_remote_versions_timeout].default

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

Some endpoints like api.anaconda.org can take 2-3+ seconds to respond
under normal conditions. With slower connections or server load, the
previous 10s default was too aggressive and caused frequent timeouts.

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

Co-Authored-By: Claude <[email protected]>
Copilot AI review requested due to automatic review settings November 30, 2025 03:04
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

This PR increases the default timeout for fetching remote tool versions from 10 seconds to 20 seconds to accommodate slower API endpoints like api.anaconda.org that consistently take 2-3+ seconds to respond under normal conditions.

Key Changes:

  • Updated fetch_remote_versions_timeout default from "10s" to "20s" in configuration
  • Regenerated JSON schema to reflect the new default value

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
settings.toml Updated default timeout value from 10s to 20s for fetch_remote_versions_timeout setting
schema/mise.json Synchronized schema default value to match the updated configuration

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

@jdx jdx enabled auto-merge (squash) November 30, 2025 03:07
@jdx jdx disabled auto-merge November 30, 2025 03:08
@jdx jdx merged commit 00afc99 into main Nov 30, 2025
28 of 29 checks passed
@jdx jdx deleted the fix/fetch-remote-versions-timeout branch November 30, 2025 03:08
@github-actions
Copy link

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.11.10 x -- echo 18.4 ± 0.6 17.5 23.6 1.00
mise x -- echo 19.3 ± 0.7 18.5 21.8 1.05 ± 0.05

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.11.10 env 17.9 ± 0.5 17.0 19.8 1.00
mise env 19.2 ± 0.8 17.9 22.1 1.07 ± 0.06

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.11.10 hook-env 17.9 ± 0.4 17.1 19.3 1.00
mise hook-env 18.9 ± 0.6 18.0 21.1 1.06 ± 0.04

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.11.10 ls 15.6 ± 1.1 14.8 28.5 1.00
mise ls 16.1 ± 0.5 15.5 18.6 1.04 ± 0.08

xtasks/test/perf

Command mise-2025.11.10 mise Variance
install (cached) 104ms 106ms -1%
ls (cached) 64ms 65ms -1%
bin-paths (cached) 70ms 71ms -1%
task-ls (cached) 419ms 428ms -2%

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