Repository navigation
Commit bf196dd
dep(dev): pin json to < 3 in the rails_8_1 appraisal (#350)
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>1 parent e50e0f3 commit bf196dd
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments