Skip to content

chore: replace gen-release-notes with communique#504

Merged
jdx merged 2 commits intomainfrom
chore/use-communique
Feb 18, 2026
Merged

chore: replace gen-release-notes with communique#504
jdx merged 2 commits intomainfrom
chore/use-communique

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Feb 18, 2026

Summary

  • Replaces the custom tasks/gen-release-notes bash script (which shelled out to the Claude Code CLI) with communique, a purpose-built Rust tool for AI-editorialized release notes
  • Adds communique.toml with project context and emoji = false default
  • Simplifies the create-release CI job: creates a draft release from CHANGELOG.md as a baseline, then enhances it via communique generate --github-release with continue-on-error: true so CHANGELOG.md content remains as fallback if communique fails

Test plan

  • Verify mise install picks up communique
  • Test locally with communique generate v2.16.2 --dry-run to confirm it generates notes for a past release
  • Review workflow changes to confirm the fallback pattern is correct

🤖 Generated with Claude Code


Note

Low Risk
CI-only changes that affect release-note generation; failures should degrade to CHANGELOG-based notes due to the explicit fallback and continue-on-error.

Overview
Draft GitHub releases are now created from the latest CHANGELOG.md section and then optionally enhanced via communique generate --github-release (with continue-on-error so the CHANGELOG text remains the fallback).

This removes the custom tasks/gen-release-notes script and its dependency on installing/running the Claude Code CLI, adds communique.toml project context (with emojis disabled), and installs communique via mise.toml.

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

Switch from the custom Claude Code CLI-based release note generation
script to communique, a purpose-built tool that handles AI-editorialized
release notes with built-in GitHub Release integration.

- Add communique to mise tools
- Add communique.toml with project context
- Simplify create-release job: create draft from CHANGELOG.md, then
  enhance with communique (continue-on-error for resilience)
- Delete tasks/gen-release-notes (no longer needed)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings February 18, 2026 12:07
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @jdx, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly refactors the release note generation process by transitioning from a custom bash script to a dedicated Rust-based tool, communique. This change aims to streamline and enhance the automation of editorialized release notes, improving both efficiency and reliability within the continuous integration pipeline for release creation.

Highlights

  • Release Note Generation Tool Replacement: Replaced the custom tasks/gen-release-notes bash script, which previously used the Claude Code CLI, with communique, a purpose-built Rust tool designed for AI-editorialized release notes.
  • Communique Configuration Added: Introduced a new communique.toml configuration file to provide project context for the usage CLI library and set emoji = false as a default setting for generated notes.
  • CI Workflow Simplification: Simplified the create-release CI job by integrating communique generate --github-release to enhance draft releases, including continue-on-error: true to ensure CHANGELOG.md content serves as a fallback if communique encounters issues.
Changelog
  • communique.toml
    • Added a new configuration file for the communique tool.
    • Defined project context for the 'usage' CLI argument parser library.
    • Set the default emoji option to false.
  • mise.toml
    • Updated the list of managed tools to include communique at its latest version.
  • tasks/gen-release-notes
    • Removed the entire custom bash script previously used for generating release notes with the Claude Code CLI.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/publish-cli.yml
Activity
  • No human activity has occurred on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request replaces the custom gen-release-notes bash script with communique, a dedicated tool for generating AI-editorialized release notes. The changes include adding a communique.toml configuration file, updating mise.toml to install the new tool, and removing the old script. The changes are straightforward and improve the release process. I have one suggestion to improve the readability of the new communique.toml configuration file.

Comment thread communique.toml
@@ -0,0 +1,4 @@
context = "usage is a CLI argument parser library for Rust that generates shell completions, man pages, and markdown docs from a simple spec format. Think OpenAPI/Swagger for CLIs."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

For better readability and maintainability, it's recommended to use a TOML multi-line string for this long context description and break it into multiple lines. This makes the configuration file easier to read and edit, and aligns with the style shown in communique's own documentation.

Suggested change
context = "usage is a CLI argument parser library for Rust that generates shell completions, man pages, and markdown docs from a simple spec format. Think OpenAPI/Swagger for CLIs."
context = """
usage is a CLI argument parser library for Rust that generates shell completions,
man pages, and markdown docs from a simple spec format.
Think OpenAPI/Swagger for CLIs.
"""

Copy link
Copy Markdown
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

Replaces the custom bash-based gen-release-notes script with communique, a dedicated Rust tool for AI-editorialized release notes. The workflow now creates a draft release from CHANGELOG.md first, then enhances it with AI-generated content as a non-blocking step.

Changes:

  • Removed custom bash script that shelled out to Claude Code CLI
  • Added communique tool configuration with project context
  • Simplified CI workflow to use two-step release creation with CHANGELOG.md fallback

Reviewed changes

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

Show a summary per file
File Description
tasks/gen-release-notes Removed custom bash script for generating release notes
mise.toml Added communique as a managed tool dependency
mise.lock Locked communique version 0.1.7 from GitHub releases
communique.toml Added project context and disabled emoji in release notes
.github/workflows/publish-cli.yml Simplified workflow to create draft from CHANGELOG.md then enhance with communique

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

--notes-file /tmp/release-notes.txt
- name: Enhance release notes with communique
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
continue-on-error: true
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

The communique generate command requires the ANTHROPIC_API_KEY environment variable to function, but this dependency isn't obvious from the command itself. Consider adding a comment explaining that this step uses AI to enhance the release notes and requires the API key set in the env block below.

Suggested change
continue-on-error: true
continue-on-error: true
# Uses AI (via communique/Anthropic) to enhance the release notes; requires ANTHROPIC_API_KEY set in the env block below.

Copilot uses AI. Check for mistakes.
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.88%. Comparing base (4ff941b) to head (9d3563b).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #504      +/-   ##
==========================================
+ Coverage   77.81%   77.88%   +0.06%     
==========================================
  Files          47       48       +1     
  Lines        6595     6660      +65     
  Branches     6595     6660      +65     
==========================================
+ Hits         5132     5187      +55     
- Misses       1105     1109       +4     
- Partials      358      364       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jdx jdx merged commit 79a5320 into main Feb 18, 2026
7 checks passed
@jdx jdx deleted the chore/use-communique branch February 18, 2026 12:29
jdx pushed a commit that referenced this pull request Feb 18, 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.

2 participants