Skip to content

Commit f633b78

Browse files
feat!: Min Ruby Version 3.2 and Rails 7.1 (#1701)
* feat!: Min Ruby Version 3.2 Ruby 3.1 is no longer receiving updates as of (31 Mar 2025) * squash: oops * squash: update jruby * squash: remove redundant tests * squash: bump active support instrumentation deps * squash: Min Ruby 3.2 rules * squash: Ruby 3.2 syntax * squash: typo * squash: JRuby not working * squash: Update .github/ISSUE_TEMPLATE/bug_report.md
1 parent 3ecb387 commit f633b78

File tree

33 files changed

+89
-272
lines changed

33 files changed

+89
-272
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ what happened and what you expected with a link to the relevant portion of the s
2626

2727
Operating system details: Linux, Ubuntu 20.04 LTS
2828
RUBY_ENGINE: "ruby"
29-
RUBY_VERSION: "3.1.1"
30-
RUBY_DESCRIPTION: "ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]"
29+
RUBY_VERSION: "3.4"
30+
RUBY_DESCRIPTION: "ruby 3.4.1 (2024-12-25 revision 48d4efcb85) arm64-darwin21]"
3131

3232
**Share a simplified reproduction if possible**
3333

.github/workflows/ci-contrib.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ jobs:
4949
with:
5050
gem: "opentelemetry-helpers-${{ matrix.gem }}"
5151
ruby: "3.2"
52-
- name: "Test Ruby 3.1"
53-
uses: ./.github/actions/test_gem
54-
with:
55-
gem: "opentelemetry-helpers-${{ matrix.gem }}"
56-
ruby: "3.1"
5752
yard: true
5853
rubocop: true
5954
coverage: true
@@ -63,7 +58,7 @@ jobs:
6358
uses: ./.github/actions/test_gem
6459
with:
6560
gem: "opentelemetry-helpers-${{ matrix.gem }}"
66-
ruby: "jruby-9.4.12.0"
61+
ruby: "jruby-10.0.2.0"
6762

6863
propagators:
6964
strategy:
@@ -95,11 +90,6 @@ jobs:
9590
with:
9691
gem: "opentelemetry-propagator-${{ matrix.gem }}"
9792
ruby: "3.2"
98-
- name: "Test Ruby 3.1"
99-
uses: ./.github/actions/test_gem
100-
with:
101-
gem: "opentelemetry-propagator-${{ matrix.gem }}"
102-
ruby: "3.1"
10393
yard: true
10494
rubocop: true
10595
build: true
@@ -108,7 +98,7 @@ jobs:
10898
uses: ./.github/actions/test_gem
10999
with:
110100
gem: "opentelemetry-propagator-${{ matrix.gem }}"
111-
ruby: "jruby-9.4.12.0"
101+
ruby: "jruby-10.0.2.0"
112102

113103
resource-detectors:
114104
strategy:
@@ -140,11 +130,6 @@ jobs:
140130
with:
141131
gem: "opentelemetry-${{ matrix.gem }}"
142132
ruby: "3.2"
143-
- name: "Test Ruby 3.1"
144-
uses: ./.github/actions/test_gem
145-
with:
146-
gem: "opentelemetry-${{ matrix.gem }}"
147-
ruby: "3.1"
148133
yard: true
149134
rubocop: true
150135
coverage: true
@@ -154,7 +139,7 @@ jobs:
154139
uses: ./.github/actions/test_gem
155140
with:
156141
gem: "opentelemetry-${{ matrix.gem }}"
157-
ruby: "jruby-9.4.12.0"
142+
ruby: "jruby-10.0.2.0"
158143

159144
processors:
160145
strategy:
@@ -183,11 +168,6 @@ jobs:
183168
with:
184169
gem: "opentelemetry-processor-${{ matrix.gem }}"
185170
ruby: "3.2"
186-
- name: "Test Ruby 3.1"
187-
uses: ./.github/actions/test_gem
188-
with:
189-
gem: "opentelemetry-processor-${{ matrix.gem }}"
190-
ruby: "3.1"
191171
yard: true
192172
rubocop: true
193173
coverage: true
@@ -197,7 +177,7 @@ jobs:
197177
uses: ./.github/actions/test_gem
198178
with:
199179
gem: "opentelemetry-processor-${{ matrix.gem }}"
200-
ruby: "jruby-9.4.12.0"
180+
ruby: "jruby-10.0.2.0"
201181

202182
samplers:
203183
strategy:
@@ -226,11 +206,6 @@ jobs:
226206
with:
227207
gem: "opentelemetry-sampler-${{ matrix.gem }}"
228208
ruby: "3.2"
229-
- name: "Test Ruby 3.1"
230-
uses: ./.github/actions/test_gem
231-
with:
232-
gem: "opentelemetry-sampler-${{ matrix.gem }}"
233-
ruby: "3.1"
234209
yard: true
235210
rubocop: true
236211
coverage: true
@@ -240,4 +215,4 @@ jobs:
240215
uses: ./.github/actions/test_gem
241216
with:
242217
gem: "opentelemetry-sampler-${{ matrix.gem }}"
243-
ruby: "jruby-9.4.12.0"
218+
ruby: "jruby-10.0.2.0"

.github/workflows/ci-instrumentation-with-services.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,10 @@ jobs:
4747
with:
4848
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
4949
ruby: "3.2"
50-
- name: "Test Ruby 3.1"
51-
uses: ./.github/actions/test_gem
52-
with:
53-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
54-
ruby: "3.1"
5550
yard: true
5651
rubocop: true
5752
coverage: true
5853
build: true
59-
- name: "Test JRuby"
60-
uses: ./.github/actions/test_gem
61-
with:
62-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
63-
ruby: "jruby-9.4.12.0"
6454
services:
6555
memcached:
6656
image: memcached:alpine
@@ -99,11 +89,6 @@ jobs:
9989
with:
10090
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
10191
ruby: "3.2"
102-
- name: "Test Ruby 3.1"
103-
uses: ./.github/actions/test_gem
104-
with:
105-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
106-
ruby: "3.1"
10792
yard: true
10893
rubocop: true
10994
coverage: true
@@ -142,11 +127,6 @@ jobs:
142127
with:
143128
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
144129
ruby: "3.2"
145-
- name: "Test Ruby 3.1"
146-
uses: ./.github/actions/test_gem
147-
with:
148-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
149-
ruby: "3.1"
150130
yard: true
151131
rubocop: true
152132
coverage: true
@@ -201,11 +181,6 @@ jobs:
201181
with:
202182
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
203183
ruby: "3.2"
204-
- name: "Test Ruby 3.1"
205-
uses: ./.github/actions/test_gem
206-
with:
207-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
208-
ruby: "3.1"
209184
yard: true
210185
rubocop: true
211186
coverage: true
@@ -251,11 +226,6 @@ jobs:
251226
with:
252227
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
253228
ruby: "3.2"
254-
- name: "Test Ruby 3.1"
255-
uses: ./.github/actions/test_gem
256-
with:
257-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
258-
ruby: "3.1"
259229
yard: true
260230
rubocop: true
261231
coverage: true
@@ -298,11 +268,6 @@ jobs:
298268
with:
299269
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
300270
ruby: "3.2"
301-
- name: "Test Ruby 3.1"
302-
uses: ./.github/actions/test_gem
303-
with:
304-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
305-
ruby: "3.1"
306271
yard: true
307272
rubocop: true
308273
coverage: true

.github/workflows/ci-instrumentation.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ jobs:
7979
with:
8080
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
8181
ruby: "3.2"
82-
- name: "Test Ruby 3.1"
83-
uses: ./.github/actions/test_gem
84-
with:
85-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
86-
ruby: "3.1"
8782
yard: true
8883
rubocop: true
8984
coverage: true
@@ -118,4 +113,4 @@ jobs:
118113
uses: ./.github/actions/test_gem
119114
with:
120115
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
121-
ruby: "jruby-9.4.12.0"
116+
ruby: "jruby-10.0.2.0"

.github/workflows/installation-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- 3.4
2222
- 3.3
2323
- 3.2
24-
- 3.1
2524
name: ${{ matrix.ruby-version }}
2625
runs-on: ubuntu-latest
2726
steps:

.github/workflows/release-hook-on-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: write # required for updating release PRs
1515
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1616
env:
17-
ruby_version: "3.1"
17+
ruby-version: "3.2"
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-hook-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
pull-requests: write # required for updating release PRs
1616
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1717
env:
18-
ruby_version: "3.1"
18+
ruby-version: "3.2"
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-perform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pull-requests: write # required for creating release PRs
2525
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
2626
env:
27-
ruby_version: "3.1"
27+
ruby-version: "3.2"
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-please.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
6060
- uses: ruby/setup-ruby@v1.265.0
6161
with:
62-
ruby-version: "3.1"
62+
ruby-version: "3.2"
6363
bundler: latest
6464
bundler-cache: false
6565
working-directory: ${{ matrix.path }}

.github/workflows/release-request-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: write # required for creating release PRs
1515
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1616
env:
17-
ruby_version: "3.1"
17+
ruby-version: "3.2"
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Install Ruby ${{ env.ruby_version }}

0 commit comments

Comments
 (0)