karafka-core 2.6.8 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cbf9ee706d087b7dcaea80dd337de6cfb7378af2566c7c91d3f92f603241542
4
- data.tar.gz: 9a925d25b8cd28b65c6cfccc063470d0f11d9daddcd101cbcf4f5950d0f7ba14
3
+ metadata.gz: 76358e7c8611fc35f916793e0cab32637f46d55b48d00e6362657d8226df183b
4
+ data.tar.gz: d2ca3020b63d0476dbe8cd12e6bccacc1e684a900bd0e3d1cb9938bfaffee4ae
5
5
  SHA512:
6
- metadata.gz: 4ac3047a2c035c012d255ea0dfd400963eee75db432e3d9af8d40079de9bff63ea04187d3dbfde5e30310c974257d260293293ebe8a1a5f3ddf6012f55518470
7
- data.tar.gz: 0f49c0c21bc54c9ac20785666056da63b3566a2d8a6382d8d1a627e7439cf1f0635b6bea1504701b29943c435f7cc5b38e3464e83c573b5e5b033d910d1d2f28
6
+ metadata.gz: 65f9f87efa744efe7ea64f1edcb7e4b10c719e3a4ec8610b76a27ea6d48fe2a0ec8d11926efcd524d29d58883076e7d728e2074e71eff473ff3bf7d1aa6ad29e
7
+ data.tar.gz: 66d0a8fcdd746259711bf11b7dbd477e372640e9e385c7d43a960a6439946486b4b49f43958d7c841a11d33c7a62a458cb1caece6870cee251013ecc1c6ffeef
@@ -80,7 +80,7 @@ jobs:
80
80
  run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
81
81
 
82
82
  - name: Set up Ruby
83
- uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
83
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
84
84
  with:
85
85
  ruby-version: ${{matrix.ruby}}
86
86
  bundler: 'latest'
@@ -114,9 +114,9 @@ jobs:
114
114
  with:
115
115
  fetch-depth: 0
116
116
  - name: Set up Ruby
117
- uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
117
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
118
118
  with:
119
- ruby-version: '4.0.9'
119
+ ruby-version: '4.0.10'
120
120
  bundler-cache: true
121
121
  - name: Run rubocop
122
122
  run: bundle exec rubocop
@@ -133,9 +133,9 @@ jobs:
133
133
  with:
134
134
  fetch-depth: 0
135
135
  - name: Set up Ruby
136
- uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
136
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
137
137
  with:
138
- ruby-version: '4.0.9'
138
+ ruby-version: '4.0.10'
139
139
  bundler-cache: true
140
140
  - name: Run yard-lint
141
141
  run: bundle exec yard-lint lib/
@@ -24,12 +24,13 @@ jobs:
24
24
  fetch-depth: 0
25
25
 
26
26
  - name: Set up Ruby
27
- uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
27
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
28
28
  with:
29
29
  bundler-cache: false
30
30
 
31
- - name: Bundle install
32
- run: |
33
- bundle install --jobs 4 --retry 3
31
+ - name: Build the gem
32
+ run: gem build *.gemspec
34
33
 
35
- - uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1
34
+ # Unlike rubygems/release-gem, this action does not push when signing fails
35
+ - name: Sign and push the gem (with Sigstore attestation)
36
+ uses: karafka/misc/.github/actions/gem-push@0fae3bd661f8f240f5b12039eb844ad52940a4fb # master
@@ -0,0 +1,49 @@
1
+ name: Sigstore Check
2
+
3
+ # Builds the gem, signs it the way the push workflows do and verifies the attestation, without
4
+ # pushing anything, so a broken signer shows up before a release
5
+
6
+ on:
7
+ schedule:
8
+ - cron: '0 3 * * *'
9
+ pull_request:
10
+ branches: [ master ]
11
+ paths:
12
+ - '.github/workflows/sigstore_check.yml'
13
+ - '.github/workflows/push*.yml'
14
+ workflow_dispatch:
15
+
16
+ permissions:
17
+ contents: read
18
+
19
+ concurrency:
20
+ group: ${{ github.workflow }}-${{ github.ref }}
21
+ cancel-in-progress: true
22
+
23
+ jobs:
24
+ sign:
25
+ # Signing needs the OIDC token, which forks do not get
26
+ if: >-
27
+ github.repository_owner == 'karafka' &&
28
+ (github.event_name != 'pull_request' ||
29
+ github.event.pull_request.head.repo.full_name == github.repository)
30
+ runs-on: ubuntu-latest
31
+ timeout-minutes: 15
32
+
33
+ permissions:
34
+ contents: read
35
+ id-token: write
36
+
37
+ steps:
38
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
39
+
40
+ - name: Set up Ruby
41
+ uses: ruby/setup-ruby@f9c4492e86def3e644ab32a0ef185eda5b0c20d0 # v1.342.0
42
+ with:
43
+ bundler-cache: false
44
+
45
+ - name: Build the gem
46
+ run: gem build *.gemspec
47
+
48
+ - name: Sign and verify the gem
49
+ uses: karafka/misc/.github/actions/sigstore-check@0fae3bd661f8f240f5b12039eb844ad52940a4fb # master
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 4.0.9
1
+ 4.0.10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Karafka Core Changelog
2
2
 
3
+ ## 2.6.9 (2026-11-20)
4
+ - [Maintenance] Release the code of 2.6.8 again, with a Sigstore attestation. 2.6.6, 2.6.7 and 2.6.8 were published without one: signing failed in the release workflow (the signer does not work with json 3.x, the default of Ruby 4.0) and the attestation patch then pushed the gems unsigned. There are no code changes; use 2.6.9 rather than 2.6.8 for the attested gem.
5
+ - [Maintenance] Sign the gem with `sigstore-cli` and push it with `gem push --attestation` (the `gem-push` action of `karafka/misc`), so a failed signing stops the release instead of publishing the gem without an attestation.
6
+ - [Maintenance] Add the `Sigstore Check` workflow: nightly, and on pull requests that change the push workflow, it builds the gem, signs it like a release and verifies the attestation, without pushing.
7
+
3
8
  ## 2.6.8 (2026-11-12)
4
9
  - [Feature] Add `Helpers::Kafka::Config.enabled?` that treats a librdkafka boolean setting as on only when it is `true` or `"true"`.
5
10
  - [Change] Make `Contractable::Contract.virtual` raise `ArgumentError` when called inside `nested`. Such a rule ignored the nesting and got the root data.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-core (2.6.8)
4
+ karafka-core (2.6.9)
5
5
  karafka-rdkafka (>= 0.20.0)
6
6
  logger (>= 1.6.0)
7
7
 
@@ -59,9 +59,9 @@ GEM
59
59
  rake (> 12)
60
60
  logger (1.7.0)
61
61
  mini_portile2 (2.8.9)
62
- minitest (6.0.6)
62
+ minitest (6.1.0)
63
63
  drb (~> 2.0)
64
- prism (~> 1.5)
64
+ prism (>= 1.5, < 3)
65
65
  prism (1.9.0)
66
66
  rake (13.4.2)
67
67
  simplecov (1.3.2)
@@ -3,6 +3,6 @@
3
3
  module Karafka
4
4
  module Core
5
5
  # Current Karafka::Core version. We follow the versioning schema of given Karafka version
6
- VERSION = "2.6.8"
6
+ VERSION = "2.6.9"
7
7
  end
8
8
  end
data/renovate.json CHANGED
@@ -44,13 +44,6 @@
44
44
  "ruby/setup-ruby"
45
45
  ],
46
46
  "minimumReleaseAge": "5 days"
47
- },
48
- {
49
- "description": "Major updates stay manual",
50
- "matchUpdateTypes": [
51
- "major"
52
- ],
53
- "automerge": false
54
47
  }
55
48
  ],
56
49
  "labels": [
@@ -63,8 +56,6 @@
63
56
  "before 4am on the first day of the month"
64
57
  ]
65
58
  },
66
- "automerge": true,
67
- "platformAutomerge": true,
68
59
  "osvVulnerabilityAlerts": true,
69
60
  "vulnerabilityAlerts": {
70
61
  "labels": [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.8
4
+ version: 2.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -51,6 +51,7 @@ files:
51
51
  - ".github/ISSUE_TEMPLATE/feature_request.md"
52
52
  - ".github/workflows/ci.yml"
53
53
  - ".github/workflows/push.yml"
54
+ - ".github/workflows/sigstore_check.yml"
54
55
  - ".github/workflows/trigger-wiki-refresh.yml"
55
56
  - ".github/workflows/verify-action-pins.yml"
56
57
  - ".gitignore"