Repository navigation
dep(dev): pin json to < 3 in the rails_8_1 appraisal - #350
Merged
Merged
Conversation
Both rails_8_1 CI jobs failed, unit with 7 errors and integration with 3. json 3.0 made `::JSON.parse`'s options keyword-only, and `ActiveSupport::JSON.decode` in Rails 8.1.3.1 still passes them positionally, so every tenant JSON round trip raised ArgumentError. The appraisal lockfiles are gitignored, so every run re-resolved onto json 3.0.2. Pin `json` to `< 3` in the `rails-8-1` appraisal and regenerate. The pin goes in `Appraisals` rather than the generated `gemfiles/rails_8_1.gemfile`, which the dependabot regeneration workflow would overwrite. It comes out once a Rails 8.1 release carries the backport of rails/rails#58601, which is already on `main` and `8-1-stable` and is why the rails_edge jobs stayed green. ref: rails/rails#58685 Co-Authored-By: Claude Opus 5 (1M context) <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.
Motivation
Both
rails_8_1CI jobs failed, unit with 7 errors and integration with 3. json 3.0 made::JSON.parse's options keyword-only, andActiveSupport::JSON.decodein Rails 8.1.3.1 still passes them positionally, so every tenant JSON round trip raisedArgumentError.Details
Pin
jsonto< 3in therails-8-1appraisal and regenerate. The pin goes inAppraisalsrather than the generatedgemfiles/rails_8_1.gemfile, which the dependabot regeneration workflow would overwrite.Additional information
The pin comes out once a Rails 8.1 release carries the backport of rails/rails#58601, already on
mainand8-1-stable, which is why therails_edgejobs stayed green.ref: rails/rails#58685
🤖 Generated with Claude Code