-
Notifications
You must be signed in to change notification settings - Fork 0
Add a no-baseruby CI job to guard against the mise ruby source-build deadlock #126
Open
Description
Summary
Add a CI job that reproduces the fresh-install condition behind #122 — an environment with no
baseruby on PATH — so the ruby source-build deadlock is structurally guarded against regression.
Background / Why
#122 fixed the deadlock by setting ruby.compile = false (precompiled ruby) in the mise config.
However, the deadlock only manifests when there is no usable ruby on PATH: ruby-build's configure
probe re-enters the mise ruby shim for the in-progress version and blocks on the install lock.
Standard CI runners (macOS, Ubuntu) already ship a system ruby, so they never reproduce the
deadlock. As a result, the current setup-validation workflow cannot catch a regression if
ruby.compile = false is ever removed or overridden. The fix is therefore unguarded in CI.
Acceptance criteria
- CI exercises a
mise installin an environment with no baseruby on PATH, and fails fast
(no indefinite hang) if precompiled ruby is not enforced. - The job passes on the current config (
ruby.compile = false) and is wired into the existing
validation workflow.