feat(cli): bootstrap mise on demand instead of bundling - #38
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Concurrent first-use installs may fail due to the short lock timeout, and documentation/localization inaccuracies remain.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
This PR moves mise from bundled build assets to verified, on-demand runtime downloads.
Changes:
- Adds system discovery, managed directories, migration, verification, and recovery.
- Removes embedded binaries and build-time synchronization.
- Updates tests, documentation, localization, and release configuration.
| File | Summary |
|---|---|
Taskfile.yml |
Removes mise build dependencies. |
packages/cli/tools/sync-mise/main.go |
Removes obsolete sync tool. |
packages/cli/tools/sync-mise/main_test.go |
Removes obsolete tests. |
packages/cli/tests/e2e/mise_runtime_test.go |
Adds runtime bootstrap coverage. |
packages/cli/testdata/reference/help/mise.txt |
Updates mise help text. |
packages/cli/testdata/reference/help/hk.txt |
Updates hk help text. |
packages/cli/internal/platform/i18n/locales/zh-CN.json |
Updates Chinese messages. |
packages/cli/internal/platform/i18n/locales/en-US.json |
Updates English messages. |
packages/cli/internal/platform/errors/codes.go |
Updates installation errors. |
packages/cli/internal/adapters/runtime/mise/paths.go |
Adds managed path handling. |
packages/cli/internal/adapters/runtime/mise/paths_test.go |
Tests path behavior. |
packages/cli/internal/adapters/runtime/mise/miserelease/release.go |
Updates release messaging. |
packages/cli/internal/adapters/runtime/mise/mise.go |
Implements runtime selection. |
packages/cli/internal/adapters/runtime/mise/mise_test.go |
Tests runtime resolution. |
packages/cli/internal/adapters/runtime/mise/install.go |
Adds installation and migration. |
packages/cli/internal/adapters/runtime/mise/install_test.go |
Tests installation behavior. |
packages/cli/internal/adapters/runtime/mise/embed_windows_amd64.go |
Removes embedded Windows asset. |
packages/cli/internal/adapters/runtime/mise/embed_other.go |
Removes fallback embedded asset. |
packages/cli/internal/adapters/runtime/mise/embed_linux_arm64.go |
Removes embedded Linux ARM asset. |
packages/cli/internal/adapters/runtime/mise/embed_linux_amd64.go |
Removes embedded Linux AMD64 asset. |
packages/cli/internal/adapters/runtime/mise/embed_darwin_arm64.go |
Removes embedded macOS ARM asset. |
packages/cli/internal/adapters/runtime/mise/embed_darwin_amd64.go |
Removes embedded macOS AMD64 asset. |
packages/cli/internal/adapters/runtime/mise/download.go |
Adds verified downloads. |
packages/cli/internal/adapters/runtime/mise/download_test.go |
Tests download behavior. |
docs/plans/2026-09-26-mise-runtime-bootstrap.md |
Documents bootstrap architecture. |
docs/plans/2026-09-14-polyglot-workspace-and-dependencies.md |
Updates mise distribution references. |
docs/plans/2026-09-14-mise-runtime-adoption.md |
Updates runtime documentation. |
CONTRIBUTING.md |
Updates contributor guidance. |
apps/docs/content/docs/zh/run.md |
Updates runtime documentation. |
apps/docs/content/docs/zh/installation.md |
Documents managed mise behavior. |
apps/docs/content/docs/zh/hk.md |
Updates hk documentation. |
apps/docs/content/docs/zh/error-codes.md |
Updates installation errors. |
apps/docs/content/docs/zh/create.md |
Updates creation guidance. |
apps/docs/content/docs/en/installation.md |
Documents managed mise installation. |
.goreleaser.yaml |
Removes release-time downloads. |
.gitignore |
Clarifies legacy asset handling. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This branch was successfully deployed
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.

No description provided.