Skip to content

Name the single build of a series without YJIT plainly - #10

Merged
excid3 merged 1 commit into
mainfrom
plain-name-without-yjit
Sep 9, 2026
Merged

excid3 merged 1 commit into
mainfrom
plain-name-without-yjit

Conversation

@excid3

@excid3 excid3 commented Sep 9, 2026

Copy link
Copy Markdown
Member

Problem

Series with yjit: false (1.8 through 3.1, per #3) have one build per target, released as ruby-VERSION.TARGET.no_yjit.tar.gz. mise's Ruby plugin only ever looks for ruby-VERSION.TARGET.tar.gz in a release, so for every Ruby older than 3.2 it finds no precompiled asset here and falls back to compiling from source. That defeats the point of this repo for the Hatchbox servers that need those versions.

Change

bin/package names the artifact ruby-VERSION.TARGET.tar.gz whenever the series has no YJIT, regardless of the --yjit/--no-yjit flag: the .no_yjit suffix only exists to tell apart the two variants of a series that has both. Series with YJIT are unchanged. The build workflow needs no change (it still passes --no-yjit for those series; only the output file name differs). README and CLAUDE.md updated.

Rolling it out

Verification

Ruby syntax and rubocop pass on package.rb; the workflow YAML parses. The change is a one-line naming rule, so I did not run a full local build; the first rebuild of an old series after merge is the real test.

https://claude.ai/code/session_01KeNcsk8V24YRXGfD2HwDZY

Series with `yjit: false` (1.8 through 3.1) have one build per target,
and it was released as ruby-VERSION.TARGET.no_yjit.tar.gz. mise only
ever asks for ruby-VERSION.TARGET.tar.gz, so it never found a
precompiled tarball for those versions and compiled from source. The
.no_yjit suffix now only distinguishes the two variants of a series
that has both; a series without YJIT names its one artifact plainly,
whichever flag bin/package was given.

Claude-Session: https://claude.ai/code/session_01KeNcsk8V24YRXGfD2HwDZY
@excid3
excid3 force-pushed the plain-name-without-yjit branch from 28892fd to 8cc2d50 Compare September 9, 2026 19:03
@excid3
excid3 merged commit 573cc09 into main Sep 9, 2026
7 checks passed
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.

1 participant