Skip to content

Fix changelog generation to exclude unresolved closed issues - #4900

Merged
netmindz merged 3 commits into
mainfrom
copilot/fix-4881
Sep 3, 2025
Merged

netmindz merged 3 commits into
mainfrom
copilot/fix-4881

Conversation

Copilot AI commented Sep 2, 2025 •

Copy link
Copy Markdown
Contributor

The automated changelog generation was incorrectly categorizing closed unresolved issues as "Fixed bugs". For example, issue #4598 "ArtNET proxyUniverse - ArtNet universe 0 unsupported" appears in the nightly release changelog under "Fixed bugs" even though it was closed as "not_planned" and marked with the "stale" label.

Problem

The janheinrichmerker/action-github-changelog-generator action automatically includes all closed issues with the "bug" label in the "Fixed bugs" section, regardless of whether they were actually resolved. Issues that are:

  • Closed due to inactivity (stale)
  • Marked as wontfix
  • Duplicates
  • Invalid reports

...were incorrectly appearing as resolved bugs in release notes, misleading users about what was actually fixed.

Solution

Added the exclude-labels parameter to both nightly.yml and release.yml workflows:

exclude-labels: 'stale,wontfix,duplicate,invalid'

This ensures that issues closed without resolution are excluded from the changelog entirely, providing a more accurate representation of what was actually fixed in each release.

Impact

  • Issue ArtNET proxyUniverse - ArtNet universe 0 unsupported  #4598 and similar unresolved issues will no longer appear in the "Fixed bugs" section
  • Users will have a clearer understanding of what was actually resolved vs. what was closed for other reasons
  • Changelog accuracy is improved for both nightly builds and official releases

Fixes #4881.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI changed the title [WIP] Unresolved closed issues show up in changelog Fix changelog generation to exclude unresolved closed issues Sep 2, 2025
Copilot AI requested a review from netmindz September 2, 2025 07:56
@netmindz
netmindz marked this pull request as ready for review September 2, 2025 07:59
@coderabbitai

coderabbitai Bot commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@DedeHai

DedeHai commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

neat, putting the AI to good use.
can't say if the solution works but sounds legit.

@netmindz
netmindz merged commit 46df941 into main Sep 3, 2025
@netmindz
netmindz deleted the copilot/fix-4881 branch September 3, 2025 06:16
aenertia pushed a commit to aenertia/WLED that referenced this pull request Aug 18, 2026
Fix changelog generation to exclude unresolved closed issues
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.

Unresolved closed issues show up in changelog

3 participants