Skip to content

Comments

fix(ci): preserve release PR title in publish-release job#7850

Merged
paulbalaji merged 1 commit intomainfrom
fix/release-pr-title
Jan 21, 2026
Merged

fix(ci): preserve release PR title in publish-release job#7850
paulbalaji merged 1 commit intomainfrom
fix/release-pr-title

Conversation

@paulbalaji
Copy link
Collaborator

@paulbalaji paulbalaji commented Jan 21, 2026

Summary

  • Added title: 'chore: release npm packages' to publish-release job's changesets action

Problem

The release PR title was reverting from "chore: release npm packages" back to "Version Packages" (see #7785).

Root cause: Both prepare-release and publish-release jobs run changesets/action with version: pnpm version:prepare. The version:prepare script includes turbo run version:update which regenerates typescript/cli/src/version.ts unconditionally.

When publish-release runs:

  1. Checks out main (with old version in version.ts)
  2. Runs version:prepare which regenerates version.ts
  3. Changesets action detects dirty file and commits "Version Packages"
  4. Updates PR without title parameter → reverts to default "Version Packages"

Fix

Add title parameter to publish-release job so it preserves the correct PR title.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Improved release workflow configuration to generate clearer and more consistent changelog entries during package releases.

✏️ Tip: You can customize this high-level summary in your review settings.

Both prepare-release and publish-release run changesets/action with
version:prepare, which regenerates version.ts. When publish-release
updates the PR without specifying title, it reverts to default
"Version Packages" instead of "chore: release npm packages".

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@changeset-bot
Copy link

changeset-bot bot commented Jan 21, 2026

⚠️ No Changeset found

Latest commit: 13a75d3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@paulbalaji paulbalaji enabled auto-merge January 21, 2026 15:18
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

📝 Walkthrough

Walkthrough

This change adds title parameters to the changesets/action@v1 steps in both the prepare-release and publish-release jobs within the GitHub Actions release workflow, setting the title to 'chore: release npm packages' for consistent changelog entries.

Changes

Cohort / File(s) Summary
Release workflow configuration
.github/workflows/release.yml
Added title: 'chore: release npm packages' parameter to both the prepare-release and publish-release job changesets/action steps (2 additions)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • antigremlin
  • yjamin

Poem

Like an onion's layers, all things have their place,
A title for the changelog, simple and clean,
"Chore: release" whispers through the workflow's space,
Two steps aligned—no fuss, no mess, no brace,
Just what's needed, nothin' fancy in between. 📦✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The description covers the problem, root cause, and fix clearly. However, it doesn't follow the repository's template structure with required sections like Related issues, Backward compatibility, and Testing. Consider restructuring the description to match the template: add Related issues section (#7785), confirm backward compatibility, and specify testing type (Manual/Unit Tests).
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main fix: preserving the release PR title in the publish-release job by adding the title parameter.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/release-pr-title

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 and usage tips.

@paulbalaji paulbalaji added this pull request to the merge queue Jan 21, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 21, 2026
@paulbalaji paulbalaji added this pull request to the merge queue Jan 21, 2026
Merged via the queue into main with commit 0c69d33 Jan 21, 2026
95 checks passed
@paulbalaji paulbalaji deleted the fix/release-pr-title branch January 21, 2026 15:52
@github-project-automation github-project-automation bot moved this from In Review to Done in Hyperlane Tasks Jan 21, 2026
@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.02%. Comparing base (2c0b865) to head (13a75d3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7850   +/-   ##
=======================================
  Coverage   77.02%   77.02%           
=======================================
  Files         117      117           
  Lines        2651     2651           
  Branches      244      244           
=======================================
  Hits         2042     2042           
  Misses        593      593           
  Partials       16       16           
Components Coverage Δ
core 87.80% <ø> (ø)
hooks 71.86% <ø> (ø)
isms 81.10% <ø> (ø)
token 86.67% <ø> (ø)
middlewares 84.98% <ø> (ø)
🚀 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants