Skip to content

CI: dont set path twice & bundle: avoid --without & Drop redundant MRI matrix from rspec-tests#533

Merged
bastelfreak merged 4 commits into
8.xfrom
backport-530-to-8.x
Jul 24, 2026
Merged

CI: dont set path twice & bundle: avoid --without & Drop redundant MRI matrix from rspec-tests#533
bastelfreak merged 4 commits into
8.xfrom
backport-530-to-8.x

Conversation

@bastelfreak

Copy link
Copy Markdown
Contributor

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak
bastelfreak enabled auto-merge July 24, 2026 12:04
we do `bundle config set path`, so we don't need to provide `--path`.

Signed-off-by: Tim Meusel <tim@bastelfreak.de>
(cherry picked from commit 26e490f)
`--without` is deprecated and superseeded by `bundle config set...`

Signed-off-by: Tim Meusel <tim@bastelfreak.de>
(cherry picked from commit 68e27de)
@bastelfreak
bastelfreak force-pushed the backport-530-to-8.x branch from 3beb074 to acc1e6f Compare July 24, 2026 12:08
@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

The rpm/deb packages and the JAR file for openvox-server are available in a zip archive:
https://github.com/OpenVoxProject/openvox-server/actions/runs/30092338366/artifacts/8596289148

Comment thread Rakefile
silug and others added 2 commits July 24, 2026 14:13
rake spec launches the puppet/puppetserver ruby specs in a single
short-lived JRuby via lein run -m org.jruby.Main, which defaults to
compile-mode JIT. --dev turns the JIT off, favoring startup time over
peak optimization -- the right trade for a one-shot spec runner, and
consistent with the server's own JRuby pools, which already default to
compile-mode :off via jruby-utils. Verified against JRuby 10.0.5.0 that
org.jruby.Main accepts --dev in-process (compile mode JIT -> OFF).

The same flag is applied to the spec:init bundle install, which runs
under the same JRuby.

Trade-off note: JIT-optimizer-specific behavior is less exercised, but
these specs test openvox-server's ruby code, not JRuby's optimizer --
and production pools run with the JIT off anyway.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Steven Pritchard <steven.pritchard@gmail.com>
(cherry picked from commit b6d3535)
The rspec-tests job matrixed over MRI 3.1-4.0, but the specs never run
under that Ruby: rake spec executes them inside the JRuby pinned by
jruby-utils (lein run -m org.jruby.Main), and matrix.ruby only selects
the MRI that runs rake and dev-setup. All five variants per Java version
were testing the same thing. Keep one MRI (3.3, matching the build job
and Dockerfile reference Ruby), reducing 10 jobs per PR to 2.

If exercising the specs under multiple Ruby *language* versions is ever
wanted, that is controlled by the JRuby version in jruby-utils, not by
this matrix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Steven Pritchard <steven.pritchard@gmail.com>
(cherry picked from commit 6969e33)
@bastelfreak bastelfreak changed the title CI: dont set path twice & bundle: avoid --without CI: dont set path twice & bundle: avoid --without & Drop redundant MRI matrix from rspec-tests Jul 24, 2026
@bastelfreak

Copy link
Copy Markdown
Contributor Author

Those are all backports from main

@bastelfreak
bastelfreak merged commit 991d7d9 into 8.x Jul 24, 2026
16 checks passed
@bastelfreak
bastelfreak deleted the backport-530-to-8.x branch July 24, 2026 12:31
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.

3 participants