ace-test-runner 0.28.1 → 0.28.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fc2c5132ba01f77ad703fc44426139e83ae2f930eb95a3ab26293f237bd13c7
4
- data.tar.gz: b998e891eeecc4dd6ff6be3cdfcfb15c5d14a17333b306febecbd1db4dee4532
3
+ metadata.gz: a2fe0cda308889b5fb22275ee892b5d0d04a068a3ad4412ff06d58e257f3c8a5
4
+ data.tar.gz: ac04898a2d9b10e4d097316eb8aee7b974f7a184a200ac818c2df8fb7fd6c761
5
5
  SHA512:
6
- metadata.gz: d70486feda75375aaf8e5057adc1c6b9a10cf2692a7b2b7cd5d337c6375ba53a894c353de62b3178ca33e95460a208b367a9c283256b9ae8ee8127891f18e2bb
7
- data.tar.gz: 2545709874b877010ad45bb538d05d03167b0a994a81119503a85c9f8666a13c689a2b971c738d8107d9f312785ec5a329de40718ac796baebb975f13f8421fa
6
+ metadata.gz: f5cb2eb0574de6484c59f548cdecbbbad8e8e2df1f3aac652637d91903aeabca9cacc3f6e0b39f846a5b15387999733a154026c06b4c59b45f1ce6e9c12ac61d
7
+ data.tar.gz: 1085277c79dfaaff21b8abcbe597d9b27322483557cc4e50af2693a03e24d2fefa872ae0d61bd724ee39c89f93d06c42b0e96cc33a99772e85b1cc80d93eea25
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.28.2] - 2026-11-10
11
+
12
+ ### Fixed
13
+
14
+ - Preserve installed toolchains in suite workers; use the selected Bundler entry point in development and configured dependencies in hermetic test fixtures.
15
+
10
16
  ## [0.28.1] - 2026-10-08
11
17
 
12
18
  ### Fixed
@@ -46,6 +46,12 @@ module Ace
46
46
  policy: @environment_policy,
47
47
  parent_env: ENV.to_h
48
48
  ).build
49
+ # This child is operational ACE, not a test process. Restore only the
50
+ # selected runtime through its owner; its test children will apply the
51
+ # hermetic policy again. Never bootstrap installed ACE from a checkout.
52
+ if Ace::Support::Cli::Toolchain.installed?
53
+ fixture_environment.env.merge!(Ace::Support::Cli::Toolchain.child_environment)
54
+ end
49
55
  fixture_environment.env[Models::EnvironmentPolicy::SUITE_CHANNEL_KEY] =
50
56
  @environment_policy.channel_payload
51
57
 
@@ -202,15 +208,14 @@ module Ace
202
208
  private
203
209
 
204
210
  def build_command(package, options)
205
- # Run the child with this suite's own Ruby binary and a bundler
206
- # bootstrap: the hermetic fixture env blocks RUBYOPT/BUNDLE_/GEM_ and
207
- # redirects HOME/XDG, so a PATH-resolved interpreter can fail through
208
- # manager shims and children have no dependency surface beyond the
209
- # Ruby install's default gem dir. -rbundler/setup makes bundler
210
- # discover the checkout Gemfile by walking up from the package cwd,
211
- # giving every child the same source-of-truth dependency set without
212
- # ambient env or globally installed gems.
213
- cmd_parts = [RbConfig.ruby, "-rbundler/setup", ace_test_executable]
211
+ cmd_parts = if Ace::Support::Cli::Toolchain.installed?
212
+ [RbConfig.ruby, Ace::Support::Cli::Toolchain.executable("ace-test")]
213
+ else
214
+ # Bundler's version switch may re-exec a script without Ruby's -r
215
+ # options. Its supported exec entrypoint restores setup after that
216
+ # switch and uses the tested checkout's dependency definition.
217
+ [RbConfig.ruby, Gem.bin_path("bundler", "bundle"), "exec", RbConfig.ruby, ace_test_executable]
218
+ end
214
219
 
215
220
  # Suite package execution intentionally bypasses grouped mode so each
216
221
  # package runs its full target scope as one batch under suite orchestration.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module TestRunner
5
- VERSION = "0.28.1"
5
+ VERSION = "0.28.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-test-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.1
4
+ version: 0.28.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-10-08 00:00:00.000000000 Z
10
+ date: 2026-11-10 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ace-support-fs