Skip to content

Harden draft release note generation#19281

Open
trask wants to merge 2 commits into
open-telemetry:mainfrom
trask:trask-fix-release-note-references
Open

Harden draft release note generation#19281
trask wants to merge 2 commits into
open-telemetry:mainfrom
trask:trask-fix-release-note-references

Conversation

@trask

@trask trask commented Jul 21, 2026

Copy link
Copy Markdown
Member

Prevent invalid references from aborting draft release-note generation by restricting extraction to positive shorthand references and local issue or pull request URLs. Also require classifier responses to JSON-escape copied code, especially Java string literals in evidence, to reduce malformed Copilot output.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679c77fb-c5f7-4643-bbd5-910902c0a14c
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 21, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-24 07:10:17 UTC.

  • Waiting on: Maintainers
  • Next step: Merge when ready.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Restricts release-note reference extraction to valid local issue/PR references.

Changes:

  • Ignores zero-valued shorthand references.
  • Excludes cross-repository URLs.

@trask
trask marked this pull request as ready for review July 21, 2026 01:54
@trask
trask requested a review from a team as a code owner July 21, 2026 01:54
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 679c77fb-c5f7-4643-bbd5-910902c0a14c
@trask trask changed the title Fix release note reference extraction Harden draft release note generation Jul 21, 2026
@trask
trask requested a review from Copilot July 21, 2026 02:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

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

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