Commit cd645f8
AC-1305 chore: fix CI matrix (sqlite3 pin, drop unsupportable Rails edge)
Three separate causes, all observed in run 33625139653:
* Rails 6.1/7.0 on Ruby 3.0/3.1 (4 jobs): their sqlite3_adapter declares
`gem "sqlite3", "~> 1.4"`, but the gemspec's sqlite3 dev dependency is
unpinned, so Bundler resolved sqlite3 2.x -> "can't activate sqlite3
(~> 1.4), already activated sqlite3-2.8.1". Ruby 2.7 passed only
because sqlite3 2.x needs Ruby >= 3.0, so it got sqlite3 1.7.3.
Fixed by pinning sqlite3 ~> 1.4 in those two gemfiles.
* Rails edge on Ruby 2.7/3.0/3.1 (3 jobs): rails main is 8.2.0.alpha,
whose actionpack.gemspec requires Ruby >= 3.3.1, so Bundler cannot
resolve on any Ruby in the matrix.
* Rails edge/7.2+ on any Ruby: test/helper.rb builds a bare RouteSet with
no Rails app, and Rails 7.2 changed with_routing/reset_routes to reset
through the app -> 25-27 errors ("undefined method `config' for nil").
This needs a source change, not a matrix change, so edge is dropped
rather than left permanently red.
Coverage goes from 9 jobs (2 green) to 10 jobs, adding Rails 7.1 on
Ruby 3.1-3.4. Rails 7.1 verified green locally on Ruby 3.3 and 3.4
(52 runs, 167 assertions, 0 failures, 0 errors).
Also bumps actions/checkout v2 -> v4 (hygiene; v2 is forced onto Node 24).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 41f0176 commit cd645f8
5 files changed
Lines changed: 29 additions & 14 deletions
File tree
- .github/workflows
- gemfiles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | | - | |
11 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
16 | 29 | | |
17 | | - | |
| 30 | + | |
18 | 31 | | |
19 | 32 | | |
20 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
This file was deleted.
0 commit comments