Skip to content

feat(cli): bootstrap mise on demand instead of bundling - #38

Merged
caorushizi merged 1 commit into
masterfrom
codex/mise-runtime-bootstrap
Sep 26, 2026
Merged

caorushizi merged 1 commit into
masterfrom
codex/mise-runtime-bootstrap

Conversation

@caorushizi

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 26, 2026 13:43
@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Ready Ready Preview Sep 26, 2026 1:44pm UTC

Copilot AI left a comment

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.

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 Low severity

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.

Comment thread apps/docs/content/docs/zh/installation.md
@caorushizi
caorushizi merged commit bea03b3 into master Sep 26, 2026
9 checks passed
@caorushizi
caorushizi deleted the codex/mise-runtime-bootstrap branch September 26, 2026 14:00

This branch was successfully deployed

1 active deployment
Preview — 821852e7 Deployed Sep 26, 2026 by vercel[bot]
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