Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: karafka/karafka-testing
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.4.6
Choose a base ref
...
head repository: karafka/karafka-testing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 12 commits
  • 11 files changed
  • 2 contributors

Commits on Sep 3, 2024

  1. Update dependency ruby to v3.3.5 (#222)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 3, 2024
    Copy the full SHA
    744fe5b View commit details

Commits on Sep 9, 2024

  1. remove 3.0 from ci (#223)

    mensfeld authored Sep 9, 2024
    Copy the full SHA
    a668124 View commit details

Commits on Oct 9, 2024

  1. Remove Ruby 3.0 support (#224)

    * remove 3.0 from ci
    
    * drop ruby 3.0 support
    mensfeld authored Oct 9, 2024
    Copy the full SHA
    1678d3f View commit details

Commits on Oct 27, 2024

  1. Copy the full SHA
    af9cad6 View commit details

Commits on Nov 5, 2024

  1. Update dependency ruby to v3.3.6 (#226)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 5, 2024
    Copy the full SHA
    7cf3001 View commit details

Commits on Dec 25, 2024

  1. Update dependency ruby to v3.4.0 (#228)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 25, 2024
    Copy the full SHA
    d0e0e2b View commit details
  2. Update dependency ruby to v3.4.1 (#229)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 25, 2024
    Copy the full SHA
    2afc47e View commit details

Commits on Jan 30, 2025

  1. update bundler

    mensfeld committed Jan 30, 2025
    Copy the full SHA
    985eecf View commit details

Commits on Feb 15, 2025

  1. Update dependency ruby to v3.4.2 (#231)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 15, 2025
    Copy the full SHA
    2c22020 View commit details

Commits on Mar 13, 2025

  1. harden ci (#232)

    mensfeld authored Mar 13, 2025
    Copy the full SHA
    ea17979 View commit details

Commits on Mar 14, 2025

  1. Update ruby/setup-ruby digest to 6c79f72 (#233)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    Copy the full SHA
    e103144 View commit details

Commits on Mar 15, 2025

  1. Update ruby/setup-ruby digest to 922ebc4 (#234)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 15, 2025
    Copy the full SHA
    49fe377 View commit details
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.github @mensfeld
/.github/workflows/ @mensfeld
/.github/actions/ @mensfeld
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug Report
about: Report an issue within the Karafka ecosystem you've discovered.
---

To make this process smoother for everyone involved, please read the following information before filling out the template.

Scope of the OSS Support
===========

We do not provide OSS support for outdated versions of Karafka and its components.

Please ensure that you are using a version that is still actively supported. We cannot assist with any no longer maintained versions unless you support us with our Pro offering (https://karafka.io/docs/Pro-Support/).

We acknowledge that understanding the specifics of your application and its configuration can be essential for resolving certain issues. However, due to the extensive time and resources such analysis can require, this may fall beyond our Open Source Support scope.

If Karafka or its components are critical to your infrastructure, we encourage you to consider our Pro Offering.

By backing us up, you can gain direct assistance and ensure your use case receives the dedicated attention it deserves.


Important Links to Read
===========

Please take a moment to review the following resources before submitting your report:

- Issue Reporting Guide: https://karafka.io/docs/Support/#issue-reporting-guide
- Support Policy: https://karafka.io/docs/Support/
- Versions, Lifecycle, and EOL: https://karafka.io/docs/Versions-Lifecycle-and-EOL/


Bug Report Details
===========

Please provide all the details per our Issue Reporting Guide: https://karafka.io/docs/Support/#issue-reporting-guide

Failing to provide the required details may result in the issue being closed. Please include all necessary information to help us understand and resolve your issue effectively.


Additional Context
===========

Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature Request
about: Suggest new Karafka Testing features or improvements to existing features.
---

## Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Describe the solution you'd like

A clear and concise description of what you want to happen.

## Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

## Additional context

Add any other context or screenshots about the feature request here.
43 changes: 33 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,34 +6,41 @@ concurrency:

on:
pull_request:
branches: [ main, master ]
push:
branches: [ main, master ]
schedule:
- cron: '0 1 * * *'
- cron: '0 1 * * *'

permissions:
contents: read

jobs:
specs:
timeout-minutes: 30
runs-on: ubuntu-latest
needs: diffend
strategy:
fail-fast: false
matrix:
ruby:
- '3.4.0-preview1'
- '3.4.0-preview2'
- '3.3'
- '3.2'
- '3.1'
- '3.0'
include:
- ruby: '3.3'
coverage: 'true'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
with:
fetch-depth: 0

- name: Install package dependencies
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"

- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe
with:
ruby-version: ${{matrix.ruby}}
bundler: 'latest'
@@ -42,24 +49,24 @@ jobs:
run: |
gem install bundler --no-document
gem update --system --no-document
bundle config set without 'tools benchmarks docs'
- name: Bundle install
run: |
bundle install --jobs 4 --retry 3
diffend:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
with:
fetch-depth: 0

- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe
with:
ruby-version: 3.3

@@ -73,12 +80,28 @@ jobs:
run: bundle secure

coditsu:
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
with:
fetch-depth: 0

- name: Download Coditsu script
run: |
curl -sSL https://api.coditsu.io/run/ci -o coditsu_script.sh
chmod +x coditsu_script.sh
- name: Verify Coditsu script checksum
run: |
EXPECTED_SHA256="0aecc5aa010f53fca264548a41467a2b0a1208d750ce1da3e98a217304cacbbc"
ACTUAL_SHA256=$(sha256sum coditsu_script.sh | awk '{ print $1 }')
if [ "$ACTUAL_SHA256" != "$EXPECTED_SHA256" ]; then
echo "::error::Checksum verification failed. Expected $EXPECTED_SHA256 but got $ACTUAL_SHA256."
exit 1
fi
- name: Run Coditsu
run: \curl -sSL https://api.coditsu.io/run/ci | bash
run: ./coditsu_script.sh
16 changes: 16 additions & 0 deletions .github/workflows/verify-action-pins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Verify Action Pins
on:
pull_request:
paths:
- '.github/workflows/**'
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
- name: Check SHA pins
run: |
if grep -E -r "uses: .*/.*@(v[0-9]+|main|master)" .github/workflows/; then
echo "::error::Actions should use SHA pins, not tags or branch names"
exit 1
fi
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.4
3.4.2
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Karafka Testing Changelog

## 2.4.7 (Unreleased)
- **[Breaking]** Drop Ruby `3.0` support according to the EOL schedule.

## 2.4.6 (2024-07-31)
- [Fix] uninitialized constant `Karafka::Testing::Errors::ConsumerGroupNotFound`.

4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
karafka-testing (2.4.6)
karafka-testing (2.4.7)
karafka (>= 2.4.0, < 2.5.0)
waterdrop (>= 2.7.0)

@@ -38,4 +38,4 @@ DEPENDENCIES
karafka-testing!

BUNDLED WITH
2.5.14
2.6.3
2 changes: 1 addition & 1 deletion karafka-testing.gemspec
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'karafka', '>= 2.4.0', '< 2.5.0'
spec.add_dependency 'waterdrop', '>= 2.7.0'

spec.required_ruby_version = '>= 3.0.0'
spec.required_ruby_version = '>= 3.1.0'

spec.metadata = {
'funding_uri' => 'https://karafka.io/#become-pro',
2 changes: 1 addition & 1 deletion lib/karafka/testing/version.rb
Original file line number Diff line number Diff line change
@@ -4,6 +4,6 @@
module Karafka
module Testing
# Current version of gem. It should match Karafka framework version
VERSION = '2.4.6'
VERSION = '2.4.7'
end
end
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -2,5 +2,15 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"github-actions": {
"enabled": true,
"pinDigests": true
},
"packageRules": [
{
"matchManagers": ["github-actions"],
"minimumReleaseAge": "7 days"
}
]
}