Repository navigation
[elasticgraph]: Fix pre-1.0 release workflow on Ruby 4.0 - #1465
Merged
Merged
Conversation
The release workflow uses the latest Ruby (now 4.0), which broke `site:archive_docs` in two ways: - Bundler 2.5.22 (from `BUNDLED WITH`) fails to load on RubyGems 4. - `rdoc` is no longer loadable from the standard library, so YARD has no Markdown provider in the minimal release bundle. This backports the `config/release` portions of #759 and #958 from main: add `redcarpet` and `irb` (which pulls in `rdoc`) and regenerate the lockfile with Bundler 4.0.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bsorbo
requested review from
BrianSigafoos-SQ and
myronmarston
as code owners
November 12, 2026 22:02
myronmarston
approved these changes
Nov 12, 2026
bsorbo
added a commit
that referenced
this pull request
Nov 13, 2026
After #1465, the Release workflow on `pre-1.0` gets past **Archive Docs** but fails at **Bump the ElasticGraph version to release version**, when `bump_version` runs `bundle install`: ``` Because every version of elasticgraph-support depends on Ruby >= 3.2, < 3.5 ... So, because current Ruby version is = 4.0.9, version solving has failed. ``` The workflow uses `ruby-version: ruby`, which now resolves to Ruby 4.0. The pre-1.0 gemspecs set `required_ruby_version = [">= 3.2", "< 3.5"]`, so pre-1.0 can't be released on Ruby 4.0. This pins the release workflow to `"3.4"`, matching CI, publish-site, and update-gem-version-artifacts on `pre-1.0`. The `config/release` bundle from #1465 still works here: `site:build_docs` passed with it on Ruby 3.4. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
After #1464, the Release workflow on
pre-1.0gets past Set up Ruby but fails at Archive Docs (failed run):The workflow uses
ruby-version: ruby, which now resolves to Ruby 4.0. The pre-1.0 release bundle wasn't set up for it:BUNDLED WITH 2.5.22makessetup-rubyinstall a Bundler that doesn't work with RubyGems 4.rdocfrom the standard library, so YARD has no Markdown provider in the minimalconfig/releasebundle.This backports the
config/releaseportions of #759 (redcarpet) and #958 (irb, which pulls inrdoc, plus the Bundler 4 lockfile) frommain.gem-release,rakeandyardstay at their current locked versions.Verified locally that
site:build_docssucceeds with this bundle on Ruby 3.4. It hasn't been run on Ruby 4.0; the next release run will be the first test of that.🤖 Generated with Claude Code