Skip to content

ci: Notify linked issues on release#3685

Merged
buenaflor merged 3 commits intomainfrom
chore/github-closing-comment
May 5, 2026
Merged

ci: Notify linked issues on release#3685
buenaflor merged 3 commits intomainfrom
chore/github-closing-comment

Conversation

@buenaflor
Copy link
Copy Markdown
Contributor

📜 Description

Add a release workflow that comments on GitHub issues closed by PRs included in a published stable release.

Also document that PR authors need to use GitHub closing keywords, such as Fixes #123, for linked issues to receive the release notification.

💡 Motivation and Context

This mirrors the release issue notification automation used by other Sentry SDK repositories and makes the required PR issue-linking behavior explicit for contributors.

💚 How did you test it?

Reviewed the workflow against this repo's release and changelog conventions. No automated tests were run because this is a GitHub Actions and documentation-only change.

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

Monitor the first stable release run to confirm the action comments on issues linked through closing keywords.

Made with Cursor

Add release automation that comments on issues closed by PRs included
in a published release, and document the PR keyword requirement so
contributors know how to opt issues into the notification flow.

Co-Authored-By: GPT-5.5 <noreply@openai.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@buenaflor buenaflor requested a review from denrase as a code owner May 5, 2026 09:18
Copilot AI review requested due to automatic review settings May 5, 2026 09:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Features

  • (span-first) Add transaction and app start type span attributes by buenaflor in #3678
  • Prevent cross-organization trace continuation by antonis in #3567
    • By default, the SDK now extracts the organization ID from the DSN (e.g. o123.ingest.sentry.io) and compares it with the sentry-org_id value in incoming baggage headers. When the two differ, the SDK starts a fresh trace instead of continuing the foreign one. This guards against accidentally linking traces across organizations.
    • New option strictTraceContinuation (default false): when enabled, both the SDK's org ID and the incoming baggage org ID must be present and match for a trace to be continued. Traces with a missing org ID on either side are rejected.
    • New option orgId: allows explicitly setting the organization ID for self-hosted and Relay setups where it cannot be extracted from the DSN.
    • Options are also applied to the native Android SDK. On iOS, only the Dart layer enforces strict trace continuation.

Fixes

Flutter

  • Avoid JNI callbacks for Android scope sync by denrase in #3676
  • Send frame delay in seconds by buenaflor in #3677

Dependencies

Deps

  • chore(deps): update Cocoa SDK to v8.58.2 by github-actions in #3664
  • chore(deps): update Native SDK to v0.13.8 by github-actions in #3667
  • chore(deps): update Android SDK to v8.40.0 by github-actions in #3663

Internal Changes

  • Notify linked issues on release by buenaflor in #3685
  • Enforce conventional commit format for PR titles by buenaflor in #3666

🤖 This preview updates automatically when you update the PR.

Copy link
Copy Markdown
Contributor

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

Adds automation to comment on GitHub issues that were closed by PRs included in a stable release, and documents the required issue-linking syntax for contributors.

Changes:

  • Documented use of GitHub closing keywords (Fixes #123, etc.) so linked issues can be detected for post-release notifications.
  • Added a new GitHub Actions workflow that runs on release.published (and manually) to comment on linked issues for stable releases.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
CONTRIBUTING.md Documents the requirement to use GitHub closing keywords so linked issues can be notified after release.
.github/workflows/release-comment-issues.yml New workflow that resolves the release version and runs getsentry/release-comment-issues-gh-action to comment on linked issues.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release-comment-issues.yml
Comment thread .github/workflows/release-comment-issues.yml
Comment thread .github/workflows/release-comment-issues.yml Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d5ccfd7. Configure here.

Comment thread .github/workflows/release-comment-issues.yml
Comment thread .github/workflows/release-comment-issues.yml
buenaflor and others added 2 commits May 5, 2026 11:22
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Declare the token scopes needed to read release and pull request data
and comment on linked issues during the release notification workflow.

Co-Authored-By: GPT-5.5 <noreply@openai.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread .github/workflows/release-comment-issues.yml
@buenaflor buenaflor merged commit b7f5256 into main May 5, 2026
15 checks passed
@buenaflor buenaflor deleted the chore/github-closing-comment branch May 5, 2026 10:09
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.

3 participants