Skip to content

chore: add changelog path filtering for Java client releases#170

Draft
bsbodden wants to merge 1 commit intomainfrom
chore/jreleaser-changelog-path-filtering
Draft

chore: add changelog path filtering for Java client releases#170
bsbodden wants to merge 1 commit intomainfrom
chore/jreleaser-changelog-path-filtering

Conversation

@bsbodden
Copy link
Collaborator

@bsbodden bsbodden commented Feb 26, 2026

Summary

  • Adds changelog.paths filter to jreleaser.yml so Java client release changelogs only include commits affecting agent-memory-client/agent-memory-client-java/, instead of all commits in the monorepo
  • Pins jreleaser-version to early-access in the release workflow since the paths feature (jreleaser/jreleaser#2073, merged Feb 21) is not yet in a stable JReleaser release (latest stable is v1.22.0)

Test plan

  • Trigger a dry-run of the Java client release workflow to verify changelog filtering works
  • Once JReleaser publishes a stable release with this feature, update jreleaser-version back to latest

Closes #154


Note

Low Risk
Low risk: release automation/config-only changes; main impact is potentially altering the generated GitHub release notes and relying on an early-access JReleaser build.

Overview
Java client releases now generate changelogs filtered to commits that touch agent-memory-client/agent-memory-client-java/ via release.github.changelog.paths in jreleaser.yml, avoiding monorepo-wide noise.

The release-java-client workflow pins jreleaser-version to early-access so the release job can use this changelog path-filtering capability.

Written by Cursor Bugbot for commit dda303d. This will update automatically on new commits. Configure here.

Add paths filter to jreleaser.yml so the Java client release changelog
only includes commits affecting the Java client directory. Pin
jreleaser-version to early-access since the paths feature (jreleaser/
jreleaser#2073) is not yet in a stable release.

Closes #154
Copilot AI review requested due to automatic review settings February 26, 2026 15:21
@jit-ci
Copy link

jit-ci bot commented Feb 26, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Java client release configuration so generated GitHub release changelogs are scoped to commits that touch the Java client directory, and updates the release workflow to use a JReleaser build that includes native path filtering support.

Changes:

  • Add release.github.changelog.paths filtering to the Java client’s jreleaser.yml.
  • Set the Java client release workflow to use the early-access JReleaser version channel.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
agent-memory-client/agent-memory-client-java/jreleaser.yml Filters changelog generation to only include commits affecting the Java client directory.
.github/workflows/release-java-client.yml Switches JReleaser version selection to early-access to enable the new changelog path filtering feature.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jreleaser-arguments: 'assemble --git-root-search'
clone-to-dist-repo: false
update-antora-version: false
jreleaser-version: 'early-access'
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jreleaser-version: 'early-access' is a moving target rather than an actual pin, which can make releases non-reproducible (and can break unexpectedly if the early-access artifacts change). Prefer pinning to a specific early-access build/version (and optionally add a note/TODO to switch back to a stable version once the feature is released).

Suggested change
jreleaser-version: 'early-access'
# TODO: Switch to a stable JReleaser version once the needed features are released.
jreleaser-version: '1.14.0-early-access-1'

Copilot uses AI. Check for mistakes.
@bsbodden bsbodden marked this pull request as draft February 26, 2026 16:25
@bsbodden bsbodden marked this pull request as draft February 26, 2026 16:25
@bsbodden bsbodden self-assigned this Feb 26, 2026
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.

Update jreleaser.yml to use native path filtering once JReleaser PR is merged

2 participants