Skip to content

Enhance Release Requirement Check for Stable Release Tags - #162

Merged
elzik merged 1 commit into
mainfrom
fix-no-releases-on-dependency-changes
Oct 22, 2026
Merged

elzik merged 1 commit into
mainfrom
fix-no-releases-on-dependency-changes

Conversation

@elzik

@elzik elzik commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Summary

Improve release detection to include central dependency updates and all unreleased production changes.

  • Replace regex filtering with Git pathspecs covering production source, installers, and the central package version file.
  • Compare HEAD against the nearest reachable stable release tag rather than only the previous commit.
  • Exclude prerelease tags from baseline selection.
  • Compare against an empty tree when no stable release tag exists.
  • Fail on Git diff errors while preserving main-branch and forced-release conditions.

Central package changes now trigger releases even when they update only test or build dependencies.

Validation

  • Verified stable-tag selection and detection of unreleased production changes.
  • Verified no-change and initial-release scenarios.
  • Verified Git diff error handling.
  • Passed whitespace checks; no editor diagnostics.

@coderabbitai

coderabbitai Bot commented Oct 22, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 83373a63-7df7-4561-807d-99cfebbdde37
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codacy-production

codacy-production Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (98a4f17) 135 134 99.26%
Head commit (344ddc3) 135 (+0) 134 (+0) 99.26% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#162) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@elzik
elzik merged commit b9bd540 into main Oct 22, 2026
17 checks passed
@elzik
elzik deleted the fix-no-releases-on-dependency-changes branch October 22, 2026 21:37
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