Skip to content

Modernize GitHub Actions CI and add build scripts#24

Merged
astubbs merged 6 commits intomaster-confluentfrom
dev/build-update
Apr 14, 2026
Merged

Modernize GitHub Actions CI and add build scripts#24
astubbs merged 6 commits intomaster-confluentfrom
dev/build-update

Conversation

@astubbs
Copy link
Copy Markdown
Owner

@astubbs astubbs commented Apr 9, 2026

  • Modernize the GitHub Actions workflow: update to actions v5/v6, JDK 17 Temurin, and a wider Kafka version matrix (2.8.1, 3.1.0, 3.5.0, 3.7.0, 3.9.1)
  • Split CI into two jobs: push builds use the default Kafka version from pom.xml for fast feedback, PRs run the full Kafka compatibility matrix
  • Add concurrency groups to auto-cancel in-progress runs when new commits are pushed
  • Add bin/ci-build.sh and bin/build.sh so CI and local builds use the same commands
  • Fix Mutiny module compilation (release.target=9) for java.util.concurrent.Flow compatibility
  • Add AGENTS.md for AI coding agent context and document build scripts in README template

Test plan

  • Push build triggers single job using default Kafka version
  • PR triggers full 5-version Kafka matrix + experimental range
  • Concurrent pushes cancel previous in-progress runs
  • Mutiny module compiles (may still fail on Jabel cross-compilation in CI)
  • bin/ci-build.sh and bin/build.sh work locally

🤖 Generated with https://claude.com/claude-code

astubbs and others added 5 commits April 9, 2026 15:26
Update the CI workflow with current action versions (checkout@v6,
setup-java@v5), JDK 17 Temurin, and a wider Kafka version matrix
(2.8.1 through 3.9.1). Replace inline Maven command with bin/ci-build.sh
so CI and local builds use the same script.

Fix Mutiny module compilation by overriding release.target to 9 (Mutiny
uses java.util.concurrent.Flow which requires Java 9+).

Add AGENTS.md for AI coding agent context and build scripts documentation
in the README template.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Split workflow into two jobs: push triggers build against only Kafka
3.9.1 for fast feedback, while pull requests run the full matrix
(2.8.1, 3.1.0, 3.5.0, 3.7.0, 3.9.1). Also update experimental range
to 3.1.0+ and remove stale 2.7.0 reference.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Instead of hardcoding 3.9.1, the push build now uses whatever Kafka
version is in pom.xml. This stays current automatically when the
dependency is updated. The PR matrix still overrides with specific
versions for compatibility testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses concurrency groups keyed by branch/PR so only the latest commit
builds. Saves CI minutes and avoids stale results.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses astubbs/dependencies-action to enforce PR merge ordering.
Child PRs with "depends on #N" in their description are blocked
until the parent PR merges, then automatically re-evaluated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@astubbs astubbs merged commit a8bea82 into master-confluent Apr 14, 2026
6 of 9 checks passed
@astubbs astubbs deleted the dev/build-update branch April 14, 2026 03:41
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