Skip to content

chore(ci): preserve gem lockfile resolution under toys 0.22.0 and Bundler 4 - #36638

Merged
torreypayne merged 2 commits into
mainfrom
chore/bigtable-iam-test-string-keys
Oct 19, 2026
Merged

torreypayne merged 2 commits into
mainfrom
chore/bigtable-iam-test-string-keys

Conversation

@torreypayne

@torreypayne torreypayne commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Preserves per-gem Gemfile.lock resolution during toys test under toys 0.22.0 and Bundler 4.0+:

  • Removes pre-activated json from Gem.loaded_specs in Toys::Utils::Gems#create_modified_gemfile so load_git (Toys::Utils::GitCache) does not override the gem's locked json version (e.g. 2.21.2) with a newer json (3.1.0) installed in GEM_HOME.
  • Defers deleting the temporary lockfile in Toys::Utils::Gems#delete_modified_gemfile to at_exit so ENV["BUNDLE_LOCKFILE"] (set by Bundler 4.0+) still exists when child ruby test processes run.

@torreypayne torreypayne changed the title chore(bigtable): use string keys when building IAM policy JSON in tests chore(ci): preserve gem lockfile resolution under toys 0.22.0 and Bundler 4 Oct 17, 2026
@torreypayne
torreypayne added this pull request to stack #36645 October 17, 2026 00:38
@torreypayne
torreypayne marked this pull request as ready for review October 19, 2026 18:46
@torreypayne
torreypayne requested review from a team and yoshi-approver as code owners October 19, 2026 18:46
@torreypayne
torreypayne merged commit a6a0a3c into main Oct 19, 2026
26 checks passed
@torreypayne
torreypayne deleted the chore/bigtable-iam-test-string-keys branch October 19, 2026 23:39
@github-actions github-actions Bot added the release-please:force-run To run release-please label Oct 20, 2026
@release-please release-please Bot removed the release-please:force-run To run release-please label Oct 20, 2026
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.

2 participants