Skip to content

fix(changelog): disable @-mention pings in all publish issues - #885

Closed
vaind wants to merge 1 commit into
masterfrom
fix/disable-mentions-all-publish-issues
Closed

vaind wants to merge 1 commit into
masterfrom
fix/disable-mentions-all-publish-issues

Conversation

@vaind

@vaind vaind commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Problem

The changelog embedded in getsentry/publish issues still contains @author mentions for non-CalVer releases, so every contributor in the release gets notified. Example: getsentry/publish#9728 (devservices 1.5.2) pinged everyone listed in its changelog.

#755 added disableChangelogMentions() but gated it on CalVer (craft prepare calver or versioning.policy: calver). SemVer and auto-versioned projects still ping, even though the problem is the same.

Approach

Drop the CalVer gate so the publish-issue changelog always uses **author** instead of @author. The committed CHANGELOG.md is unchanged and keeps its @-mentions, which don't create notifications.

Requested by: @${GITHUB_ACTOR} in action.yml is intentionally left alone: pinging the person who requested the release is desired.

Testing

  • The transform is already covered by the disableChangelogMentions tests in src/utils/__tests__/helpers.test.ts. This PR only removes the condition around the call, and there is no handler-level test harness for prepare's Actions outputs.
  • typecheck, lint and prettier pass. Locally, the full test suite gives the same result with and without this change: 1217 passed. The 4 local failures (action.test.ts, prepare-dry-run.e2e.test.ts ×2, npm.test.ts OIDC) also fail on a clean master and are environment-related. CI on master is green.

Follow-up

Consumers pinned to an older Craft SHA (for example devservices, which pins c6e2f04 / 2.19.0) predate #755 entirely and need their pin bumped to pick this up.

🤖 Generated with Claude Code

#755 only stripped @-mentions from the publish-issue changelog for CalVer
releases, on the theory that regular-cadence releases are the noisy ones.
In practice any release that bundles more than a handful of PRs pings
every contributor when the publish issue is created — e.g.
getsentry/publish#9728 for devservices 1.5.2 (SemVer) notified everyone
listed. Nobody needs a notification because their PR shipped in a
release, so apply the same treatment regardless of versioning policy.

The committed CHANGELOG.md is unaffected and keeps @-mentions, since
those don't notify anyone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vaind
vaind requested a review from BYK September 30, 2026 17:52
@BYK

BYK commented Sep 30, 2026

Copy link
Copy Markdown
Member

This is by design. The earlier disabling part was for changelog previews as it was pinging everyone on almost every PR.

We want people to be pinged when their changes are getting released. Is there a particular reason you want to disable this?

@vaind

vaind commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

We want people to be pinged when their changes are getting released. Is there a particular reason you want to disable this?

I see, OK then. annoying most of the time but I see the value for people that want to udpate after a release.

@vaind vaind closed this Oct 1, 2026

This branch was successfully deployed

1 active deployment
false — 7aa64222 Deployed Sep 30, 2026 by vaind via Build #2947
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