Skip to content

ci: add a dedicated confluent-driver test matrix leg#729

Merged
wbarnha merged 6 commits into
masterfrom
claude/ci-confluent-driver-matrix
Jul 21, 2026
Merged

ci: add a dedicated confluent-driver test matrix leg#729
wbarnha merged 6 commits into
masterfrom
claude/ci-confluent-driver-matrix

Conversation

@wbarnha

@wbarnha wbarnha commented Jul 21, 2026

Copy link
Copy Markdown
Member

Description

Re-opens #717 onto master. #717 was merged into its stale stacked-parent branch (claude/reenable-remaining-skipped-tests) instead of master, so its content never reached master. This branch is the same commit cherry-picked directly onto master, independent of any chain.

test_confluent.py was being skipped in CI because confluent_kafka was never installed. This adds a dedicated matrix leg (Cython off) that installs requirements/extras/ckafka.txt and runs the confluent driver tests, so the confluent path is actually exercised rather than silently skipped, alongside the default aiokafka legs.

Verification

Workflow YAML validated; confluent legs install the ckafka extra and run only test_confluent.py. flake8/black/isort clean.

🤖 Generated with Claude Code


Generated by Claude Code

tests/unit/transport/drivers/test_confluent.py is skipped in CI because
confluent-kafka is an optional extra (faust[ckafka]) that the test job never
installs -- so the confluent driver ships with its unit tests effectively
unrun.

Give the test matrix an explicit `kafka-driver` axis:

* aiokafka -- the default driver and a core dependency -- keeps the full
  Python x Cython grid (10 jobs, unchanged behaviour).
* confluent -- a broker-less, pure-Python wrapper -- gets one dedicated leg
  per Python version (Cython off; the driver isn't Cython-accelerated). Each
  installs requirements/extras/ckafka.txt and runs just
  test_confluent.py, which now executes instead of skipping and adds
  coverage for the confluent driver.

confluent-kafka 2.x publishes manylinux wheels for cp310-cp314, so every
matrix Python is covered.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HHPL4VFWQRQPpjR1gXSKyL
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.11%. Comparing base (da18659) to head (52ec501).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #729   +/-   ##
=======================================
  Coverage   95.11%   95.11%           
=======================================
  Files         104      104           
  Lines       11169    11169           
  Branches     1206     1206           
=======================================
  Hits        10623    10623           
  Misses        452      452           
  Partials       94       94           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wbarnha
wbarnha enabled auto-merge July 21, 2026 11:13
@wbarnha
wbarnha disabled auto-merge July 21, 2026 12:10
@wbarnha
wbarnha enabled auto-merge July 21, 2026 12:10
@wbarnha
wbarnha disabled auto-merge July 21, 2026 12:45
@wbarnha
wbarnha enabled auto-merge July 21, 2026 12:45
@wbarnha
wbarnha disabled auto-merge July 21, 2026 13:29
@wbarnha
wbarnha enabled auto-merge July 21, 2026 13:30
@wbarnha
wbarnha merged commit 5bf3405 into master Jul 21, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant