Skip to content

v2.0.1

Choose a tag to compare

@sanlee-ys sanlee-ys released this 05 Jul 04:34
· 173 commits to main since this release
59eb8ad

Dead-code hardening release. Removes the Kafka consumer path outright instead of carrying it as inactive weight. No change to the {category, operational_domain} output contract; the classifier's live surface remains the /classify HTTP provider.

Removed

  • Kafka consumer (src/consumer.py) and its test suite. The consumer was an event-driven alternative to the /classify HTTP path — reading NoteCreated events off a note-events topic, classifying in-process, and writing labels back as namespaced tags. It went dead once the notes consumer moved to an HTTP BackgroundTasks writeback loop: nothing publishes note-events anymore, so it was a no-op against the live system. Deleted here (src/consumer.py, tests/test_consumer.py, tests/test_consumer_integration.py); the reference implementation remains available in git history and the ADRs.
  • Unused Kafka dependencies (kafka-python, testcontainers[kafka]) dropped from pyproject.toml / requirements.txt; uv.lock regenerated.
  • CI integration-test job (the Testcontainers Kafka lane in .github/workflows/tests.yml) and the matching Jenkins stage — neither had an integration test left to run.
  • Orphaned Kafka vars in .env.example, the consumer entry in the README structure listing, and docs/integration-testing.md.

Full unit suite (68 tests), ruff, and CodeQL pass clean.