ci: add a dedicated confluent-driver test matrix leg#729
Merged
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
wbarnha
enabled auto-merge
July 21, 2026 11:13
wbarnha
disabled auto-merge
July 21, 2026 12:10
wbarnha
enabled auto-merge
July 21, 2026 12:10
wbarnha
disabled auto-merge
July 21, 2026 12:45
wbarnha
enabled auto-merge
July 21, 2026 12:45
wbarnha
disabled auto-merge
July 21, 2026 13:29
wbarnha
enabled auto-merge
July 21, 2026 13:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Re-opens #717 onto
master. #717 was merged into its stale stacked-parent branch (claude/reenable-remaining-skipped-tests) instead ofmaster, so its content never reachedmaster. This branch is the same commit cherry-picked directly ontomaster, independent of any chain.test_confluent.pywas being skipped in CI becauseconfluent_kafkawas never installed. This adds a dedicated matrix leg (Cython off) that installsrequirements/extras/ckafka.txtand runs the confluent driver tests, so the confluent path is actually exercised rather than silently skipped, alongside the defaultaiokafkalegs.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