Skip to content

Conversation

@lerenn
Copy link
Owner

@lerenn lerenn commented Nov 6, 2025

Summary: This PR fixes a race condition in the test suite and updates Kafka TLS configuration to use JKS format.

Changes:

  1. Fixed WaitGroup race condition in test/v2/issues/169/suite_test.go - Added sync.Once to ensure wg.Done() is only called once
  2. Refactored generate-certs tool to fix linting issues - Extracted helper functions to reduce complexity
  3. Updated Kafka TLS configuration - Updated docker-compose to use JKS format, added JAAS config and client properties

Testing: All tests pass locally, linting passes, code generation is up to date

…ure Dagger module

- Replace deprecated bitnami/kafka:3.5.1 with confluentinc/cp-kafka:7.5.0
- Update docker-compose.yaml with Confluent Platform configuration for KRaft mode
- Update .dagger/brokers.go to use Confluent images and environment variables
- Move Dagger module from build/ci/dagger/ to .dagger/ at project root
- Integrate test utilities into .dagger/testutil.go to avoid replace directive issues
- Update GitHub Actions workflow to use .dagger instead of build/ci
- Add dagger/all Makefile target to run all CI checks locally
- Add .dagger/ to .gitignore
- Remove build/ci directory
- Add sync.Once to ensure wg.Done() is only called once
- Refactor generate-certs tool to fix linting issues
- Extract helper functions to reduce complexity and improve maintainability
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.

2 participants