Repository navigation
fix(shim): recognize legacy rtx executable name - #11641
Marukome0743 wants to merge 1 commit into
Conversation
📝 WalkthroughWalkthroughThe change recognizes legacy Changesrtx compatibility
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR recognizes the legacy
Confidence Score: 5/5The PR appears safe to merge, with the documented legacy symlink path correctly classified and covered by unit and end-to-end tests. The bare Important Files Changed
Reviews (1): Last reviewed commit: "fix(shim): recognize legacy rtx executab..." | Re-trigger Greptile |
|
we don't need this |
Summary
Restore the documented legacy
rtxexecutable symlink compatibility by recognizingrtxand platform-suffixed names such asrtx.exeas mise itself.The recursive hang described in the original report has since become a bounded invalid-shim error, but the underlying misclassification remained: invoking a symlink named
rtxstill entered tool-shim dispatch instead of running the mise CLI.Changes
rtxandrtx.*as mise executable names in the shared shim-detection predicate.rtx-tinyavailable for normal tool shim dispatch.rtxsymlink that covers--version,activate bash, andreshim.This aligns runtime behavior with the existing migration documentation, which recommends symlinking
rtxtomisewhile transitioning existing shell setup.Validation
mise exec -- cargo test --all-features env::tests::test_is_mise_binary_includes_legacy_rtx_namemise run test:e2e e2e/cli/test_rtx_compat_symlinkmise run test:e2e e2e/plugins/test_tiny_shim e2e/cli/test_system_shims_no_recursion e2e/cli/test_reshim_with_shims_on_pathmise exec -- cargo check --all-featuresmise exec -- cargo clippy --workspace --all-features --all-targets -- -D warningsmise exec -- cargo fmt --allmise exec -- shfmt -w e2e/cli/test_rtx_compat_symlinkmise exec -- shellcheck e2e/cli/test_rtx_compat_symlinkmise run formatandmise run lintcould not start because hk does not recognize this Sapling working copy as a Git repository; the applicable formatting, shell, compilation, Clippy, unit, and E2E checks above passed individually.Addresses #3223
AI-assisted — Tool: Codex; model: OpenAI/GPT-5; version: unavailable.
Summary by CodeRabbit
New Features
rtxexecutable name, including version reporting, shell activation, andreshimsupport.rtxand related executable variants while continuing to support existingmisenames.Tests