Skip to content

Conversation

DevelopmentCats
Copy link
Contributor

Description

CI was failing on new module releases because there was no fallback to gh api failures when there was no previous tag for the module was found.

https://github.com/coder/registry/actions/runs/17225186737/job/48868318539

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Copy link
Contributor

@Copilot 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

This PR fixes CI failures in the release workflow by adding a fallback mechanism when the GitHub API fails to generate release notes, specifically for new modules without previous tags.

  • Adds error handling for GitHub API failures in release note generation
  • Implements a git-based changelog fallback using commit messages
  • Includes informative error messaging for debugging purposes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

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

As a test, we can try creating release for all existing modules manually.

@DevelopmentCats DevelopmentCats merged commit 6bebc02 into main Aug 26, 2025
4 checks passed
@DevelopmentCats DevelopmentCats deleted the cat/fix-release-ci branch August 26, 2025 13:19
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