Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundler native helpers should not run in a frozen context #8419

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

deivid-rodriguez
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez commented Nov 16, 2023

While working on #8138, I realized that our Bundler native helpers in production are running with the frozen setting set to true, because that's what it's set in the updater image as configuration:

bundle config set --local frozen 'true' && \

Our native helper specs don't catch this, because they don't run in the context of the updater directory/Gemfile, so the frozen setting is not visible, but they do fail when they start running in the context of the updater directory/Gemfile. That was surfaced by the changes in #8138.

@github-actions github-actions bot added the L: ruby:bundler RubyGems via bundler label Nov 16, 2023
@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review November 16, 2023 12:28
@deivid-rodriguez deivid-rodriguez requested a review from a team as a code owner November 16, 2023 12:28
@deivid-rodriguez deivid-rodriguez merged commit aad7489 into main Nov 20, 2023
80 checks passed
@deivid-rodriguez deivid-rodriguez deleted the bundler-native-helpers-not-frozen branch November 20, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: ruby:bundler RubyGems via bundler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants