Skip to content

ci(release): gather release notes from release-note blocks in PR bodies - #9704

Open
rh-hemartin wants to merge 9 commits into
mainfrom
release-notes-from-pr-bodies
Open

rh-hemartin wants to merge 9 commits into
mainfrom
release-notes-from-pr-bodies

Conversation

@rh-hemartin

@rh-hemartin rh-hemartin commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Release notes move from commit subjects to fenced release-note blocks in PR bodies — the approach Kubernetes uses and kubearchive adopted. This implements the contract described in #9164 (ADR 0160) directly, without the ADR.

Related Issue

Closes #9164 (supersedes the ADR-only PR; the decision is recorded here in COMMITS.md instead)

Changes

  • PR template (.github/pull_request_template.md): new ## Release Note section with a ```release-note block defaulting to NONE.
  • CI check (scripts/check-release-note.sh + .github/workflows/release-note-check.yml): every PR must carry a non-empty release-note block. A NONE block is rejected when the PR title or any commit subject carries the ! breaking-change marker — such a PR must start its block with action required. This closes the gap behind incident v0.33.0 release notes contain an unexpanded $(cat /tmp/release-body-existing.txt) placeholder and lost the changelog, including the #5552 breaking scaffold removal #8366, where a breaking change vanished from the release notes because one commit subject lacked !.
  • Release pipeline (.github/workflows/release.yml): installs the Kubernetes release-notes tool (v0.23.0, pinned; Renovate bumps the version and scripts/renovate/update-release-notes-checksum.sh refreshes the digest), gathers the blocks from merged PRs between the previous final tag and the current tag (START_SHA is the previous tag itself — v0.23.0 walks first parents from the tag and stops at the merge base, exclusive; --repo-path points at the workflow checkout; --dependencies=false), and passes the markdown to GoReleaser via --release-notes. PRs whose body was edited after merge block the release until a maintainer adds the release-note-edit-approved label.
  • GoReleaser (.goreleaser.yml): the commit-subject changelog: block is removed; the gathered markdown replaces it. The agents-release footer stays.
  • Review hardening: ::error:: annotations go to stderr; quoted NONE sentinels are rejected (the gatherer publishes them literally); a body with both a note and a leftover NONE block fails; the check skips with a warning when the validator is absent at the PR base (bootstrap) and syncs the action-required label best-effort so fork PRs don't fail CI.
  • COMMITS.md: documents the new contract. Conventional Commits prefixes stay gitlint-enforced but no longer feed the release notes; breaking changes now require three markers (! in subjects/title + action required block).

Testing

  • make lint passes (staged first)
  • scripts/check-release-note-test.sh — 32 unit tests for the check script, all pass (valid blocks, missing/empty blocks, NONE + ! combinations, quoted sentinels, leftover-NONE bodies, real-CRLF bodies, action-required marker assertions, false positives)
  • Live smoke test: ran the actual release-notes binary against fullsend-ai/fullsend for the v0.55.0..v0.56.1 range with a real token — exit 0, all 389 commits walked and mapped to PRs, PRs without blocks correctly skipped. (Run against v0.17.1; the pin has since moved to v0.23.0, whose flags and range semantics were re-verified against its source — see the review threads — and a gather-dry-run on the head commit is still pending.)
  • End-to-end: after merge, the next rc release exercises the full chain (gather → GoReleaser --release-notes). Its notes will be nearly empty by design — PRs merged before this change carry no blocks.

Checklist

  • PR title follows Conventional Commits (correct type, ! for breaking changes)
  • Commits are signed off (DCO) — human and human-directed agent sessions only
  • I wrote this contribution myself and can explain all changes in it

Release Note

Release notes are now written in a release-note block in each PR body instead of being generated from commit subjects. Contributors: add the block (the PR template carries a NONE default) and start it with "action required" for breaking changes — CI enforces both.

@qodo-code-review

qodo-code-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Generate release notes from PR-body release-note blocks

✨ Enhancement ⚙️ Configuration changes 🧪 Tests 📝 Documentation 🕐 20-40 Minutes

Grey Divider

AI Description

• Move user-facing release notes from commit subjects to fenced blocks in PR bodies.
• Check every PR for a nonempty block and reject NONE when breaking-change markers are present.
• Gather merged PR notes for each release and publish them through GoReleaser.
Merge Risk 🟡 Medium

Blast radius 🟡 Medium 💥 2 capabilities

  • 2 affected capabilities within one bounded functional scope: release_note_lifecycle.
  • The template, validator, workflow output, and persistent label jointly implement one bounded PR release-note contract; label state is an input to that lifecycle, not an independent functional behavior.
  • Tag selection, gathering, metadata verification, rendering, artifact transfer, and GoReleaser publication are producer, transformation, and consumer hops of one bounded release-publication behavior.
Sources

scripts/gather-release-notes.sh[84-97]

  # v0.23.0 walks first parents from END_SHA and stops at the merge base
  # of END_SHA and START_SHA (exclusive), so START_SHA must be PREV
  # itself: every commit after PREV up to TAG is then included, and the
  # first PR merged after the previous tag keeps its note.
  local START_SHA END_SHA
  # ^{commit} peels annotated tags to their commit SHA; the tool's
  # CommitObject call fails on a tag object.
  START_SHA=$(git rev-parse "${PREV}^{commit}")
  END_SHA=$(git rev-list -n1 "${TAG}")
  # The tool reads its range from these env vars and walks a local clone
  # (v0.23.0 has no --required-author flag and no date window; it opens
  # the repo at --repo-path, which defaults to a tempdir clone that does
  # not exist here).
  export START_SHA END_SHA
Behavioral complexity 🟡 Medium 🧩 Interacting branches, Compatibility cases

  • Before, validation and label mutation were coupled in one job.
  • After, a read-only validator exports action-required state to a separately permissioned dependent job, whose repository target is explicit, across repeated opened, edited, labeled, and unlabeled events.
  • The new correctness conditions are consistent parser output, job dependency, repository targeting, persistent label state, and fork recovery; the follow-up does not alter these conditions.
Potential damage 🟡 Medium 🩹 Temporary loss

  • A wrong rejection temporarily prevents an otherwise mergeable PR from progressing.
  • A wrong acceptance can allow inaccurate release metadata into the merged PR.
  • Label-write failure preserves the merge gate; API and fork-token failures remain possible.
  • Recovery requires editing the body, rerunning the check, or maintainer intervention; rollback does not repair already merged metadata.
  • Generally recoverable before merge.
  • Incorrect already-merged metadata requires manual correction or a later release.
Assessed commit 4da7e16
Diagram

graph TD
  Body["PR body"] --> Check["PR check"] --> Validator["Note validator"] --> Merged["Merged PRs"] --> Gather["Notes generator"] --> Publisher["GoReleaser"] --> Release["GitHub release"]
  Pipeline["Release workflow"] -->|tag range| Gather
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Build a GitHub API notes collector in-house
  • ➕ Could tailor extraction and formatting to this repository's release-note contract.
  • ➖ Would require maintaining PR-to-commit mapping, pagination, rendering, and edge cases already handled by the upstream tool.
2. Retain GoReleaser's commit changelog
  • ➕ Avoids an additional release-time binary and API-dependent gathering step.
  • ➖ Cannot reliably publish the PR-authored migration guidance this change is intended to capture.

Recommendation: Use the established release-notes tool with PR-body validation rather than implement a collector or retain commit-subject notes. Review the external binary installation and tag-range behavior carefully because both become release-time dependencies.

Files changed (7) +364 / -63

Enhancement (3) +131 / -1
pull_request_template.mdAdd a default release-note block to PRs +11/-0

Add a default release-note block to PRs

• Adds a Release Note section with a fenced block defaulting to 'NONE'. Instructions tell authors to write user-facing prose and identify breaking changes.

.github/pull_request_template.md

release.ymlGather PR notes and pass them to GoReleaser +46/-1

Gather PR notes and pass them to GoReleaser

• Installs Kubernetes release-notes v0.17.1, selects the previous final tag, and gathers merged PR notes for the tag range on main. GoReleaser receives the generated markdown through '--release-notes'.

.github/workflows/release.yml

check-release-note.shCheck PR release-note blocks and breaking markers +74/-0

Check PR release-note blocks and breaking markers

• Extracts the first fenced release-note block and rejects missing or empty content. Rejects 'NONE' when the PR title or any commit subject has a Conventional Commits breaking-change marker.

scripts/check-release-note.sh

Tests (1) +125 / -0
check-release-note-test.shTest release-note validation cases +125/-0

Test release-note validation cases

• Adds shell cases for valid, missing, empty, and multiline blocks, plus breaking-marker and false-positive scenarios.

scripts/check-release-note-test.sh

Documentation (1) +60 / -31
COMMITS.mdDocument the PR-body release-note contract +60/-31

Document the PR-body release-note contract

• Explains when to write prose or 'NONE', how breaking changes should be marked, and why commit prefixes no longer determine release notes. Updates contributor and reviewer guidance accordingly.

COMMITS.md

Other (2) +48 / -31
release-note-check.ymlValidate release notes on PR changes +41/-0

Validate release notes on PR changes

• Adds a PR workflow that fetches the current body, title, and paginated commit subjects from GitHub before running the validator. It runs for opened, synchronized, reopened, and edited PRs targeting main.

.github/workflows/release-note-check.yml

.goreleaser.ymlRemove commit-subject changelog generation +7/-31

Remove commit-subject changelog generation

• Deletes the commit filtering and grouping rules now replaced by PR-body notes. Keeps the agents-release footer and documents where release notes are generated.

.goreleaser.yml

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ⚠️ Cancelled · Started 3:49 PM UTC · Completed 3:51 PM UTC

Commit: c4f9eb4 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.22

This review was superseded by a newer commit. Check the current pull request HEAD's review status before merging.

@qodo-code-review

qodo-code-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Action required

1. Agent-created PRs fail release checks ✗ Dismissed

Dismissed as Intentional

Description
check-release-note.sh rejects PRs without a fenced block, but the agents repository's code
post-script can create a PR from an optional description or a generic fallback without adding one.
When pr_body is absent or fails its secret scan, that PR is opened in fullsend and immediately
fails the new check.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The agents code post-script can open fullsend PRs without the newly required release-note block, particularly when it uses a fallback description.
## Fix Focus Areas
- scripts/check-release-note.sh[30-50]
- .github/workflows/release-note-check.yml[27-41]
- /cross_repos/agents/scripts/post-code.src.sh[1285-1357]
## Recommended Fix
Update the agents PR-creation path to retain or supply a valid release-note block even when it falls back from the structured description; coordinate deployment with the fullsend check.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Releases fail while reading pull requests ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
The release job now declares an explicit permissions block (contents: write, id-token: write,
pull-requests: read), with a comment explaining that pull-requests: read is needed by release-notes
generate to read merged PR bodies. This grants the read permission the finding says is missing, so
the generator's PR reads should no longer fail on authorization. The fix is at the job level rather
than the workflow level as the prompt suggests, but it satisfies the requested remediation.
Description
release-notes generate uses the release job’s GITHUB_TOKEN to read merged pull-request bodies,
but that job grants no pull-requests: read permission. When the generator requests pull-request
data, authorization can fail before GoReleaser publishes the release.

3. Breaking changes lose upgrade warnings ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
The check now runs has_breaking_marker on title/commit subjects regardless of block content. If a
breaking marker is present, it rejects NONE-like blocks and requires FIRST_LINE to match '^action
required' (case-insensitive), otherwise failing. Tests were added (BODY_WITH_NOTE with breaking
title now expected to fail; action-required variants pass). Also the workflow labels breaking PRs.
Description
check-release-note.sh checks for a breaking marker only when the block’s first line is NONE; any
other prose passes without starting with action required. A PR marked breaking can therefore
publish an ordinary note without the warning required by the new release-note contract.

View high (2)
4. Authors can bypass release-note checks ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
The workflow's checkout now uses ref: ${{ github.event.pull_request.base.sha }} with a comment
explaining the validator must come from a trusted revision, so the PR cannot neuter its check by
editing scripts/check-release-note.sh. This is the suggested fix (run validator from trusted base
revision); the PR body/title/commits are still fetched from the API.
Description
release-note-check.yml checks out the PR ref and runs scripts/check-release-note.sh from that
checkout. A PR author can change that script to exit successfully, so the check can pass for the
same PR even when its body lacks a valid block.

5. Release highlights cannot be published ✓ Resolved

Resolving commit: c957320

Resolution reason
The release workflow now prepends a '## Changelog' header to the gathered release-notes body
('printf '## Changelog\n\n' | cat - release-notes-body.md > release-notes.md'), so the generated
body's first line matches what prepend-release-highlights.sh requires. SKILL.md is also updated to
describe the header.
Description
--release-notes replaces the GoReleaser changelog with gathered markdown, but
prepend-release-highlights.sh still requires the release body’s first line to be exactly `##
Changelog`. When a releaser follows the highlights step for a release produced by this workflow, the
script rejects its body before making the edit.


Remediation recommended

6. Fix edits fail release checks ✗ Dismissed

Dismissed as Rejected

Description
release-note-check.yml reruns on PR edits, while the agents repository's fix post-script can
replace a PR description without preserving its release-note block. If a fix agent proposes an
otherwise valid replacement body that omits the block, the edited fullsend PR fails the check
despite having passed before the edit.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The agents fix post-script preserves certain managed PR-body sections, but not the release-note block required by fullsend after a PR edit.
## Fix Focus Areas
- .github/workflows/release-note-check.yml[3-5]
- /cross_repos/agents/scripts/process-fix-result.py[997-1031]
- /cross_repos/agents/scripts/process-fix-result.py[1114-1175]
## Recommended Fix
Update the agents body-merging path to retain the current release-note block when applying a proposed PR description, or validate that the replacement supplies a valid block before editing.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


7. A NONE block appears in release notes ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
The NONE check was changed from the first line to the whole trimmed block: is_none_block() greps the
entire NOTE_TRIMMED (anchored ^...$, case-insensitive, optionally quoted) for none/n/a/na, so a
block like "NONE" followed by another line is no longer classified as a no-note sentinel. The
NONE-with-breaking-marker rejection now uses is_none_block, and tests were added
(BODY_NONE_PLUS_LINES expects a multi-line NONE block to pass as a published note for non-breaking
PRs, and fail when breaking). This addresses the mismatch by making classification whole-block
based, though the implementation differs from the suggested exact-equality fix (it also accepts
n/a/na and quoting and adds exclusion-filter mirroring).
Description
check-release-note.sh classifies a block as NONE using only its first trimmed line, while the
generator’s documented no-note value is the entire block text NONE. A block containing NONE
followed by another line passes validation but is not the exact no-note sentinel, so it can be
published rather than skipped.

8. Release-note test coverage disappears ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
The obsolete parametrized test that targeted the deleted GoReleaser changelog filters, and which
would run with an empty parameter list, was removed from gitlint_rules_test.py together with its
yaml import. No replacement test was added in this commit.
Description
COMMITS.md no longer has any type whose release-note column says No, so
test_hidden_types_excluded_from_release_notes receives an empty parameter list and stops checking
its assertion. That assertion also reads the removed GoReleaser changelog configuration, leaving a
stale test rather than a check of the new PR-body contract.

View medium (2)
9. Release tools can be replaced unnoticed ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
The author added a pinned SHA-256 digest (RELEASE_NOTES_SHA256) and verifies the downloaded
release-notes binary with sha256sum -c before chmod and moving it to /usr/local/bin, so a
substituted asset fails the job before it is installed/executed. This matches the suggested fix of
pinning the digest and verifying the download before installing.
Description
The install step downloads an executable from a versioned release-asset URL but performs no checksum
or signature verification. If that upstream asset is replaced, the substituted binary runs in the
release job with its write-enabled token and identity-token permission.

10. Previous changes recur in release notes ✓ Resolved

Resolving commit: 512e6ca

Resolution reason
Start boundary is now the first commit after the previous final tag (via git rev-list PREV..TAG), so
the previous release's merge commit is no longer included in the next release's range.
Description
START_SHA is set to the commit at the previous final tag, and the release-notes tool defines that
range boundary as inclusive. When that tag points to a PR merge commit with a release note, the next
release processes that PR again instead of starting after the previous release.

Grey Divider

Context sources
✅ Linked PRs:
  🌐 PR #9164
✅ Compliance rules (platform): 96 rules
✅ Skills: 5 invoked
  writing-user-docs
  writing-adrs
  check-patch-coverage
  cutting-releases
  adr-corner
✅ Web pages:
  +19 more
✅ Cross-repo context — repo relationships
  Explored: repo: fullsend-ai/agents (sha: f6907db2) — View relationship
  Explored: repo: fullsend-ai/metrics (sha: faca13bb) — View relationship
Review mode: Auto: ⚖️ Balanced: Downgraded extended -> standard: change is below the extended eligibility bar (hunks 16/18, lines 427/200; both must reach the floor). Router rationale: Multiple independent CI, shell parsing, and release-pipeline paths create dense defect risk.

Grey Divider

Tip of the day
💡 Did you know, you can tweak Display settings with a live preview to see your comment before it ships

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread scripts/check-release-note.sh Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread scripts/check-release-note.sh Resolved
Comment thread COMMITS.md Resolved
Comment thread scripts/check-release-note.sh Resolved
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:53 PM UTC · Completed 4:12 PM UTC

Commit: 6031665 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $3.13

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 19, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Risk Assessment: elevated (3/5)

Details

Modifications to core CI release workflows and 13 protected paths combined with high historical regression frequency across touched files warrant an elevated risk score, balanced by comprehensive test coverage and close alignment with the linked design scope.

Previous run

Risk Assessment: elevated (3/5)

Details

Modifications to core CI release workflows and 13 protected paths combined with high historical regression frequency across touched files warrant an elevated risk score, balanced by comprehensive test coverage and close alignment with the linked design scope.

Previous run (2)

Risk Assessment: elevated (3/5)

Details

Modifications to core CI release workflows and 11 protected paths combined with high historical regression frequency across touched files warrant an elevated risk score, balanced by comprehensive test coverage and close alignment with the linked design scope.

Previous run (3)

Risk Assessment: elevated (3/5)

Details

Modifications to CI release workflows and 10 protected paths combined with high historical regression frequency across touched files warrant an elevated risk score, balanced by comprehensive test coverage and alignment with the linked design scope.

Previous run (4)

Risk Assessment: elevated (3/5)

Details

Modifications to CI release workflows and 10 protected paths combined with high historical regression frequency across touched files warrant an elevated risk score, balanced by comprehensive test coverage and alignment with the linked design scope.

Previous run (5)

Risk Assessment: elevated (3/5)

Details

Modifications to CI release workflows and 8 protected paths combined with high historical churn and regression frequency on touched files yield an elevated risk score, balanced by alignment with the linked design scope.

Previous run (6)

Risk Assessment: elevated (3/5)

Details

Modifications to CI release workflows and 8 protected paths combined with high historical churn and regression frequency on touched files yield an elevated risk score, balanced by alignment with the linked design scope.

Previous run (7)

Risk Assessment: moderate (2/5)

Details

Moderate risk driven by modifications to CI release workflows and protected path configurations by an established contributor, counterbalanced by moderate git churn and strong scope alignment with the linked ADR follow-up contract.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Review

Findings

Medium

  • [logic-error] scripts/render-release-notes.sh:53 — MISSING treats every merged PR absent from the gathered JSON as lacking a release-note block, but the gatherer also omits PRs with a valid NONE block. Intentionally excluded maintenance PRs reappear under "PRs Without Release Notes" and trigger misleading missing-note warnings.
    Remediation: Have the gather step distinguish explicitly excluded (NONE) PRs from PRs with no block, pass that to the renderer, and exclude NONE entries from MISSING. Add a regression test covering a NONE PR alongside a genuinely missing block.
  • [auth-bypass] scripts/gather-release-notes.sh:134 — The new release-note-edit-approved label approves every future edit to the PR, not the body a maintainer reviewed. After one approved post-merge edit, the author (including a fork contributor) can edit the note again while the label stays on, and the next gather publishes the unreviewed content. The gate checks only lastEditedAt, mergedAt and label membership.
    Remediation: Bind approval to the exact body digest or edit revision and verify the gathered content matches it; reject later edits until a maintainer approves the new revision. Add a regression test covering approval followed by another author edit.
  • [protected-path] .github/workflows/release.yml — This PR modifies protected governance/infrastructure paths: .github/pull_request_template.md, .github/workflows/release-note-check.yml, .github/workflows/release.yml, AGENTS.md, scripts/check-release-note-test.sh, scripts/check-release-note.sh, scripts/gather-release-notes-test.sh, scripts/gather-release-notes.sh, scripts/render-release-notes-test.sh, scripts/render-release-notes.sh, scripts/renovate/update-release-notes-checksum.sh, skills/cutting-releases/SKILL.md, skills/cutting-releases/post-flight.md. The PR links docs(adr): gather release notes from PR bodies (ADR 0160) #9164 and explains the rationale, but human approval is always required for protected-path changes regardless of context.

Earlier findings

  • scripts/gather-release-notes.sh:140, logic-error — resolved: the post-merge-edit block now honors the release-note-edit-approved label.
  • .github/workflows/release-note-check.yml:109, logic-error — resolved: the label-sync step now sets GH_REPO.
  • .github/workflows/release-note-check.yml:35 and :14, permission-expansion — reclassified low → info: permissions are read-only for the validator and match the checkout.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

2 finding(s) below the low severity threshold were not posted.

Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJoaWdoIiwiY2F0ZWdvcnkiOiJsb2dpYy1lcnJvciIsImZpbGUiOiJzY3JpcHRzL2dhdGhlci1yZWxlYXNlLW5vdGVzLnNoIiwiaWQiOiJmXzRlMWZlYjI0NTFiMWM2NzAiLCJsaW5lIjoxNDAsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn0seyJzZXZlcml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Y2JhMmNlOTA2ZDAzNSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzk5NTgxZmUwMWE2MDFlNWQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9hNDY1ODRiNDQ5Y2U5YTQxIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfMWMzMmMxOTk0M2E4ZmM5NSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzUwOTg5Y2RhYzFhYjhmYTQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl84ZDk0ZDc0MmRhMmM3N2E0Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNmI4YzdiM2M4OTAwZWQyMSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2QwNjBlYjlkZDJkZjgyOTkiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl80MDI3Y2E4ZjIzYTJkOTc2Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfN2NhNTJjN2M1NzM4NDA3YyIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzM1Mjg4ZDZlNDJmODAwY2YiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl85ZTcwYTZlNDNiYzc0ZTgyIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

High

  • [logic-error] scripts/gather-release-notes.sh:140 — Any edit to a PR body after merge permanently blocks every release that includes that PR. The only check is lastEditedAt > mergedAt; reverting the edit sets a new lastEditedAt, so it still fails, and re-approval changes nothing. The error message tells maintainers to "revert it or re-approve it", but neither clears the condition, release.yml passes no override, and the release job needs this job. Harmless edits (checklist tick, bot update) trigger it too.
    Remediation: Add a verifiable recovery path (snapshot the reviewed note at merge time, or accept an explicit trusted-maintainer approval tied to the current body revision) and test that an unapproved edit fails while a revert/approval lets the release proceed.

Medium

  • [logic-error] .github/workflows/release-note-check.yml:109 — The sync-action-required-label job has no checkout and sets neither GH_REPO nor --repo, so gh pr view/gh label create/gh pr edit cannot resolve a repository. Every action-required PR fails label sync (even after a maintainer adds the label by hand), and stale-label removal on ordinary PRs silently no-ops.
    Remediation: Add GH_REPO: ${{ github.repository }} to the step's env: (or pass --repo "$GITHUB_REPOSITORY").
  • [logic-error] scripts/render-release-notes.sh:53 — MISSING is merged PRs minus the gatherer's JSON keys, but the gatherer also omits deliberate NONE/n/a/na blocks. Those PRs are republished under "PRs Without Release Notes" and counted in the missing-note warning, contradicting the contract that NONE blocks are skipped. The test cannot distinguish the two cases.
    Remediation: Carry an explicit set of deliberately excluded PRs, subtract it from MISSING, and add a regression test for a valid NONE PR.
  • [protected-path] .github/workflows/release.yml — This PR modifies protected paths (.github/ workflows and template, AGENTS.md, scripts/*, skills/cutting-releases/*). The PR links docs(adr): gather release notes from PR bodies (ADR 0160) #9164 and explains its rationale, but human approval is always required for protected-path changes regardless of context.

Earlier findings

  • .github/workflows/release-note-check.yml:88 — permission-expansion, reclassified low → info: pull-requests: write is now confined to the checkout-free label-sync job; the validation job is read-only.
  • .github/workflows/release-note-check.yml:14 — permission-expansion, reclassified low → info: workflow-level contents: read is overridden by explicit per-job permissions.
  • .github/workflows/release.yml:454 — injection-vuln, resolved: dry-run release-notes output is now wrapped in a runner-generated ::stop-commands:: token.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

2 finding(s) below the low severity threshold were not posted.

Previous run (2)

<!-- fullsend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b2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYjQyMTMyZjQxNDFmNjM2ZSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2FjMzcyZGNlOTI4OTcyMWYiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9iNGU5NzJhNTA2MWJhZGM3Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNmViMTkxZWRiYTllYzQ0NSIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzM3YzQxODRiZjcwYTAxZjciLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9hY2RjYmEyY2U5MDZkMDM1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfOTk1ODFmZTAxYTYwMWU1ZCIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2E0NjU4NGI0NDljZTlhNDEiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl8xYzMyYzE5OTQzYThmYzk1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfNTA5ODljZGFjMWFiOGZhNCIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmXzhkOTRkNzQyZGEyYzc3YTQiLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl82YjhjN2IzYzg5MDBlZDIxIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [protected-path] .github/workflows/release.yml — This PR modifies protected governance/infrastructure paths: .github/pull_request_template.md, .github/workflows/release-note-check.yml, .github/workflows/release.yml, AGENTS.md, scripts/check-release-note.sh, scripts/check-release-note-test.sh, scripts/gather-release-notes.sh, scripts/render-release-notes.sh, scripts/render-release-notes-test.sh, skills/cutting-releases/SKILL.md, skills/cutting-releases/post-flight.md. The PR links docs(adr): gather release notes from PR bodies (ADR 0160) #9164 and explains the rationale, but human approval is always required for protected-path changes, regardless of context.

Low

  • [permission-expansion] .github/workflows/release-note-check.yml:35 — The pull-requests: write grant is job-scoped, so checkout and validation steps run with a token that can write to PRs on same-repo runs; only the label-sync step needs it. The trusted-base checkout and fork-token downgrade mitigate the risk, and the workflow's own comment documents the tradeoff.
    Remediation: Split read-only validation from a narrowly scoped label-sync job and pass only the validated action-required result to the writer.
  • [injection-vuln] .github/workflows/release.yml:422 — The gather-dry-run job (workflow_dispatch only, read-only token) cats the gathered release-note markdown, which derives from contributor-controlled PR bodies, into the Actions log. Nothing escapes workflow-command syntax (::error::, ::add-mask::, ::stop-commands::), so a note could manipulate annotations or log interpretation.
    Remediation: Wrap the output in a stop-commands token with an unpredictable value, or upload the markdown as an artifact instead of printing it.

Earlier findings

  • .github/workflows/release-note-check.yml:8, edge-case — resolved: unlabeled is now in the trigger types, so removing the action-required label re-runs validation.
  • scripts/check-release-note.sh (pattern-inconsistency, 4 findings) — resolved: the duplicated sentinel patterns are consolidated into a shared SENTINEL_PAT.
  • .github/workflows/release-note-check.yml:14, permission-expansion — reclassified to info: workflow-level contents: read is a common convention in this repo and the only job overrides it.

1 finding(s) below the low severity threshold were not posted.

Previous run (3)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImVkZ2UtY2FzZSIsImZpbGUiOiIuZ2l0aHViL3dvcmtmbG93cy9yZWxlYXNlLW5vdGUtY2hlY2sueW1sIiwiaWQiOiJmX2QwNjBlYjlkZDJkZjgyO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ZF9ieV9jaGFuZ2UifV19 -->

Review

Findings

Medium

  • [edge-case] .github/workflows/release-note-check.yml:8 — The check needs the release-note-action-required label to stay on the PR, but the workflow triggers on labeled and not on unlabeled (types: [opened, synchronize, reopened, edited, labeled]). If an action-required PR passes and someone later removes the label, the successful check stays in place. The merge-group job is also skipped, so nothing validates again before merge. The PR can then merge without the label the gatherer uses to put its note under Urgent Upgrade Notes. Only someone with triage access can remove a label, and a later edited or synchronize event on a same-repo PR re-adds it. That limits the risk but does not remove it.
    Remediation: Add unlabeled to the pull_request activity types. Removing the label then re-runs validation, which re-adds the label (same-repo) or fails the check (fork).
  • [protected-path] .github/workflows/release.yml — This PR modifies protected paths (.github/, scripts/, skills/, AGENTS.md). The PR body explains the rationale and links docs(adr): gather release notes from PR bodies (ADR 0160) #9164, but human approval is always required for protected-path changes, regardless of context.

Low

  • [permission-expansion] .github/workflows/release-note-check.yml:31 — The job grants pull-requests: write for label sync. The comment at lines 27-28 says job-level scope keeps checkout and validation read-only, but job-level permissions apply to every step, so those steps also get the write-capable token on same-repository runs. Fork tokens are still downgraded by GitHub. The risk is small: the validator runs from the trusted base SHA. The exposure is wider than the step that needs it, and the comment is misleading.
    Remediation: Split read-only validation and label mutation into separate jobs and pass only the action-required result to the write-enabled job, or correct the comment to say the whole job has PR-write access.
  • [pattern-inconsistency] scripts/check-release-note.sh:101 — The sentinel alternation (none|n/a|na) is repeated in is_none_block, is_quoted_none_block and matches_exclusion_filter, while the breaking-change pattern lives in the top-level constant BREAKING_RE.
    Remediation: Define a shared constant (e.g. SENTINEL_PAT) and use it in all three places.

Earlier findings

  • .github/workflows/release.yml:146, logic-error — resolved. The jq interpolation and tab separator are now real, not escaped literal text.
  • scripts/render-release-notes.sh:61, api-contract — resolved. The renderer now consumes .text and adds attribution itself.
  • scripts/check-release-note.sh:52, api-contract — resolved. The closing fence must now be unindented and an unclosed block is rejected.
  • scripts/render-release-notes.sh:78, api-shape — resolved. The unused number parameter was removed from section_for and its call site.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR
Previous run (4)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJyZXF1ZXN0LWNoYW5nZXMiLCJmaW5kaW5ncyI6W3sic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImxvZ2ljLWVycm9yIiwiZmlsZSI6Ii5naXRodWIvd29ya2Zsb3dzL3JlbGVhc2UueW1sIiwiaWQiOiJmXzFjMzJjMTk5NDNhOGZjOTUiLCJsaW5lIjoxNDYsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn0seyJzZXZlcml0eSI6Im1lZGl1bSIsImNhdGVnb3J5IjoiYXBpLWNvbnRyYWN0IiwiZmlsZSI6InNjcmlwdHMvcmVuZGVyLXJlbGVhc2Utbm90ZXMuc2giLCJpZCI6ImZfNTA5ODljZGFjMWFiOGZhNCIsImxpbmUiOjYxLCJhY3Rpb25hYmxlIjp0cnVlLCJkaW1lbnNpb24iOiJjb3JyZWN0bmVzcyJ9LHsic2V2ZXJpdHkiOiJtZWRpdW0iLCJjYXRlZ29yeSI6ImFwaS1jb250cmFjdCIsImZpbGUiOiJzY3JpcHRzL2NoZWNrLXJlbGVhc2Utbm90ZS5zaCIsImlkIjoiZl84ZDk0ZDc0MmRhMmM3N2E0IiwibGluZSI6NTIsImFjdGlvbmFibGUiOnRydWUsImRpbWVuc2lvbiI6ImNvcnJlY3RuZXNzIn0seyJzZXZlcml0eSI6ImxvdyIsImNhdGVnb3J5IjoicGVybWlzc2lvbi1leHBhbnNpb24iLCJmaWxlIjoiLmdpdGh1Yi93b3JrZmxvd3MvcmVsZWFzZS1ub3RlLWNoZWNrLnltbCIsImlkIjoiZl9lMTM1ZDRiOGJmZGNlZWUwIiwibGluZSI6MTQsImFjdGl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lZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl9iNDIxMzJmNDE0MWY2MzZlIiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn0seyJpZCI6ImZfYWMzNzJkY2U5Mjg5NzIxZiIsInN0YXR1cyI6InJlc29sdmVkX2J5X2NoYW5nZSJ9LHsiaWQiOiJmX2I0ZTk3MmE1MDYxYmFkYzciLCJzdGF0dXMiOiJyZXNvbHZlZF9ieV9jaGFuZ2UifSx7ImlkIjoiZl82ZWIxOTFlZGJhOWVjNDQ1Iiwic3RhdHVzIjoicmVzb2x2ZWRfYnlfY2hhbmdlIn1dfQ== -->

Review

Findings

Medium

  • [logic-error] .github/workflows/release.yml:146 — The jq expression is double-escaped inside a single-quoted shell argument, so gh pr view --jq writes the literal text \(.number)\t\(.title) to the titles TSV instead of a number, a tab and the title. The renderer cannot find any PR title, so every non-urgent note lands in "Other Changes". The renderer tests build the TSV by hand and bypass this producer.
    Remediation: use --jq '"\(.number)\t\(.title)"' with single backslashes, and test the workflow's title-to-TSV step together with the renderer.
  • [api-contract] scripts/render-release-notes.sh:61 — The pinned Kubernetes release-notes v0.17.1 gatherer already appends PR and author attribution to its markdown field and indents continuation lines. The renderer adds both again, which would duplicate the PR link and author on every note and double-indent multi-line notes. The fixtures supply bare prose as markdown, which real gatherer output does not. This rests on reading the pinned tool's behaviour, not on running it.
    Remediation: build bullets from text, or render markdown as-is. Add a fixture that matches real v0.17.1 JSON output.
  • [api-contract] scripts/check-release-note.sh:52 — The validator accepts an indented closing fence, or no closing fence, as a valid block. The pinned gatherer only recognises an unindented closing fence directly after a newline, so such a note, even a breaking-change note, passes CI and is then silently skipped or mis-extracted at release. The test in check-release-note-test.sh that expects an indented closer to pass locks in the mismatch.
    Remediation: require a closing fence the gatherer recognises and reject unterminated blocks. Update the indented-fence test to expect rejection and add a missing-closing-fence regression test.

Low

  • [permission-expansion] .github/workflows/release-note-check.yml:14 — pull-requests: write is granted at workflow level, so it applies to checkout and validation although only label sync needs it. Label sync justifies the grant, and the base-SHA checkout and env-passed PR data limit the exposure.
    Remediation: optionally split validation from label sync and grant write only to the sync job.
  • [api-shape] scripts/render-release-notes.sh:78 — section_for declares and receives number but never uses it.

Earlier findings

  • .github/workflows/release-note-check.yml:87, api-contract — resolved by change: the diff adds the labeled trigger and an already-labeled early exit in the label-sync step.
  • .github/workflows/release-note-check.yml:74, api-contract — resolved by change: the same fork-PR label recovery rework.
  • COMMITS.md:50, tier-mismatch — resolved by change: the feat section now says commit types classify git history and the PR-body block controls release notes.
  • COMMITS.md:54, tier-mismatch — resolved by change: the "when in doubt" paragraph was rewritten the same way.
  • scripts/check-release-note.sh:104, pattern-inconsistency — reclassified from low to info: the regex contains quote characters, so keeping it in a variable is the required idiom, as in render-release-notes.sh.

Next steps:

  • /fs-fix — agent addresses review findings automatically
  • /fs-fix <your instruction> — agent fixes with your specific guidance
  • Push commits directly — review re-runs automatically on push
  • /fs-fix-stop — disable automatic fix runs for this PR

1 finding(s) below the low severity threshold were not posted.

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the component/ci CI pipelines and checks label Nov 19, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review-only pass: five inline findings (three HIGH, two MEDIUM). None of them repeats an existing comment.

Comment thread COMMITS.md Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread scripts/check-release-note.sh Resolved
Comment thread .github/workflows/release.yml Resolved
@rh-hemartin rh-hemartin changed the title feat(release): gather release notes from release-note blocks in PR bodies ci(release): gather release notes from release-note blocks in PR bodies Nov 20, 2026
@rh-hemartin

Copy link
Copy Markdown
Member Author

Addressing the review-rollup findings (these had no inline threads):

  • Dirty tree / checksum pinning / CRLF / Makefile script-test / PR title — fixed; see the inline thread replies.
  • prepend-release-highlights.sh header — fixed by prepending a ## Changelog header to the generated notes in the release workflow, so the helper works unchanged.
  • cutting-releases SKILL.md / post-flight.md stale docs — updated to describe PR-body release-note blocks gathered via release-notes and the Urgent Upgrade Notes section.
  • vouch-system.md template list — added the Release Note section.
  • gitlint vacuous test — removed test_hidden_types_excluded_from_release_notes (the GoReleaser changelog filters it asserted on are gone).
  • Cross-repo agents findings — out of scope here; need a coordinated change in fullsend-ai/agents.
  • Protected paths — acknowledged; human approval still required.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

🤖 Review · ❌ Terminated · Started 8:34 AM UTC · Ended 8:58 AM UTC

Commit: 512e6ca · View workflow run →

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Site preview

Preview: https://ca9a2121-site.fullsend-ai.workers.dev

Commit: 4da7e16bc72c6c7fa50a0737d0b869b40ab46e0a

@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review fullsend-ai-review Bot removed the risk/moderate PR risk: moderate label Nov 20, 2026
@fullsend-ai-review

Copy link
Copy Markdown

🤖 Finished Review · ❌ Failure (post-script /home/runner/work/fullsend/fullsend/.fullsend/.fullsend-cache/resources/sha256/1326338418b9df0f4e834da47d42076281ba7609d5b61b15f1ea90384a1e4d31/scripts/post-review.sh failed: exit status 1) · Started 8:34 AM UTC · Completed 8:58 AM UTC

Commit: 512e6ca · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.52

@rh-hemartin

Copy link
Copy Markdown
Member Author

/fs-review

- release-note-check: trigger on unlabeled so removing
  release-note-action-required re-runs validation
- release-note-check: correct the job-scope permissions comment
- check-release-note: hoist the none/n/a/na sentinel into SENTINEL_PAT
- release: extract the gather step into scripts/gather-release-notes.sh
  and add a workflow_dispatch dry-run that measures GITHUB_TOKEN rate
  limit and runtime over a tag range

Assisted-By: Claude Sonnet 4.5 (pi)
Signed-off-by: Hector Martinez <hemartin@redhat.com>
The release-notes tool only reads GITHUB_TOKEN; the dry-run job set
GH_TOKEN, so the gather failed. gh accepts GITHUB_TOKEN as well.

Assisted-By: Claude Sonnet 4.5 (pi)
Signed-off-by: Hector Martinez <hemartin@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🤖 Review · ⚠️ Cancelled · Started 11:05 AM UTC · Ended 11:05 AM UTC

Commit: 54f5321 · View workflow run →

This review was superseded by a newer commit. Check the current pull request HEAD's review status before merging.

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:08 AM UTC · Completed 11:18 AM UTC

Commit: f5e359a · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.47

@fullsend-ai-review
fullsend-ai-review Bot dismissed stale reviews from themself November 25, 2026 11:18

Superseded by updated review

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the requires-manual-review Review requires human judgment label Nov 25, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review-only pass at f5e359a: six findings (one HIGH, five MEDIUM). Five are inline. The commit-lint finding is about commit subjects, not a diff line, so it is here. None of them repeats an existing comment.

[HIGH] commit-lint fails at head: two commits use the forbidden fix(ci) type/scope (gitlint UC1) (.gitlint)

The commit-lint check is red at f5e359a (run 45601121788). The cause is not title length. gitlint rule UC1 rejects two commit subjects: fix(ci): pass GITHUB_TOKEN to the gather dry-run (f5e359a) and fix(ci): address release-notes review feedback (54f5321). The log prints, for each: 'UC1 "fix(ci)" pollutes release notes with non-user-facing changes. Use "ci(): ..." instead.' The PR cannot merge until both subjects are reworded.

Suggestion: Reword both commits to ci(release): ... (or squash them into the earlier ci(release) commits), then get commit-lint green.

Verified: required check fails: commit-lint (gh run view 45601121788 --log-failed shows 2x UC1 fix(ci)) at f5e359a; raised by: DeepSeek

Comment thread scripts/gather-release-notes.sh Resolved
Comment thread scripts/render-release-notes.sh Resolved
Comment thread scripts/gather-release-notes.sh Resolved
Comment thread scripts/gather-release-notes.sh Resolved
- Split release-note-check into a read-only validation job and a
  narrowly scoped label-sync job (only the latter holds
  pull-requests: write).
- Wrap the gather-dry-run notes output in a stop-commands token so
  contributor-controlled markdown cannot emit workflow commands.
- Fail the gather when a merged PR's body was edited after merge
  (lastEditedAt vs mergedAt via GraphQL).
- List merged PRs without a release note under 'PRs Without Release
  Notes' instead of dropping them silently; warn on missing notes and
  on zero notes from a non-empty range; soften the 'CI enforces'
  wording in AGENTS.md and CONTRIBUTING.md.
- Bump the pinned release-notes tool to v0.23.0, add a Renovate custom
  manager plus update-release-notes-checksum.sh so version and digest
  move together, and move the gather into its own read-only job that
  hands the markdown to the signing job as an artifact.
- Make the label-sync failure message neutral instead of blaming a
  fork.
- Add gather-release-notes-test.sh for the range math and merged-PR
  extraction, registered in the Makefile script-test target.

Assisted-By: glm-5-3(pi)
Signed-off-by: Hector Martinez <hemartin@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:21 PM UTC · Completed 3:39 PM UTC

Commit: a70b6ee · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.53

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot removed the requires-manual-review Review requires human judgment label Nov 25, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review comments on head a70b6ee. Most of them come from the move to release-notes v0.23.0: that version reads the range from a local git walk, not the date-window API that v0.17.1 used.

[MEDIUM] commit-lint fails: two commits use the forbidden fix(ci) type/scope (.gitlint)

Commits 54f5321 (fix(ci): address release-notes review feedback) and f5e359a (fix(ci): pass GITHUB_TOKEN to the gather dry-run) hit gitlint UC1: "fix(ci)" pollutes release notes with non-user-facing changes. The commit-lint check is red at head a70b6ee.

Suggestion: Reword both to ci(release): ..., or squash them into the existing ci(release) commits.

Verified: check fails: commit-lint (run 45643482277, UC1 fix(ci)) at a70b6ee; raised by: DeepSeek

Comment thread scripts/gather-release-notes.sh Resolved
Comment thread scripts/gather-release-notes.sh Resolved
Comment thread scripts/gather-release-notes.sh Resolved
Comment thread .github/workflows/release.yml Resolved
Comment thread scripts/gather-release-notes.sh Resolved
Comment thread scripts/render-release-notes-test.sh Resolved
Drop the --required-author flag (removed upstream), pass --repo-path so
the tool walks the workflow checkout instead of a nonexistent tempdir
clone, and set START_SHA to the previous tag itself so the first-parent
walk includes the first PR merged after it. Add a recovery path for the
post-merge-edit block (release-note-edit-approved label), set GH_REPO in
the label-sync job, route gather failures to notify-release-blocked,
define the missing fail() in the render test, and refresh stale
v0.17.1-era comments and docs.

Assisted-By: glm-5-3(pi)
Signed-off-by: Hector Martinez <hemartin@redhat.com>
The gather-dry-run on the head commit failed with 'finding commit of
merge base SHA: object not found': git rev-parse on an annotated tag
returns the tag object SHA, which the release-notes tool cannot resolve
as a commit. Peel with ^{commit}.

Assisted-By: glm-5-3(pi)
Signed-off-by: Hector Martinez <hemartin@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:41 PM UTC · Completed 12:59 PM UTC

Commit: 4da7e16 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.72

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

See the review comment for full details.

# Merged PRs that the tool returned no note for (no release-note block
# in the body). They are listed in the output under "PRs Without Release
# Notes" so they do not vanish from the release silently.
MISSING=$(jq -Rn --argjson allowed "${ALLOWED}" --slurpfile notes "${NOTES_JSON}" '

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] logic-error

MISSING treats every merged PR absent from the gathered JSON as lacking a release-note block, but the gatherer also omits PRs with a valid NONE block. Intentionally excluded maintenance PRs therefore reappear under 'PRs Without Release Notes' and trigger misleading missing-note warnings; the renderer cannot tell the two cases apart from its three inputs.

Suggested fix: Have the gather step distinguish explicitly excluded (NONE) PRs from PRs with no block, pass that distinction to the renderer, and exclude NONE entries from MISSING. Add a regression test covering a NONE PR alongside a genuinely missing block.

and .lastEditedAt > .mergedAt
' >/dev/null <<<"${meta}" \
&& ! jq -e '[.labels.nodes[].name]
| index("release-note-edit-approved")' >/dev/null <<<"${meta}"; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] auth-bypass

The new release-note-edit-approved label approves every future edit to the PR, not the body a maintainer reviewed. After a maintainer approves one post-merge edit, the PR author (including a fork contributor) can edit the note again while the label stays on, and the next gather publishes the unreviewed content. The gate checks only lastEditedAt, mergedAt and label membership; it never checks that approval followed the latest edit or matches the gathered body. Severity is medium: it needs a prior maintainer approval on that PR, applies only to PRs in the current tag range, and the impact is markdown in release notes.

Suggested fix: Bind approval to the exact release-note/body digest or edit revision and verify the gathered content matches it; reject later edits until a maintainer approves the new revision. Add a regression test covering approval followed by another author edit.

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review comments on head 4da7e16. One finding is inline. The other is about a line outside the diff, so it is here.

[MEDIUM] The UC1 message still says fix(ci) pollutes release notes (gitlint_rules/forbidden_type_scope.py line 48)

This PR rewrote the docstring of this file to say commit types no longer feed release notes. The RuleViolation text at line 48 still reads '"fix(ci)" pollutes release notes with non-user-facing changes'. Contributors see that message when commit-lint fails, and it now contradicts COMMITS.md. commit-lint is also still red at 4da7e16: run 45821534313 reports UC1 on f5e359a and 54f5321. Earlier reviews already asked for those two commits to be reworded, and the merge queue uses the MERGE method, so the subjects would land on main as they are.

Suggestion: Change the UC1 message to match COMMITS.md, for example '"fix(ci)" mislabels infrastructure changes as user-facing in git history. Use "ci(): ..." instead.' Also reword or squash f5e359a and 54f5321 to ci(release): ... before merge.

Verified: required check fails: commit-lint (gh run view 45821534313 --log-failed shows UC1 on f5e359a and 54f5321); read code at head at 4da7e16; raised by: DeepSeek

# releases can appear; the renderer keeps only PRs actually merged in
# the range (first-parent commits between PREV and TAG) and groups notes
# by PR title type, mirroring the old GoReleaser changelog layout.
release-notes generate \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[MEDIUM] The gatherer drops a note after a per-PR API error, or when the note duplicates another, and still exits 0, so the release publishes without it

In release-notes v0.23.0, ListReleaseNotes (pkg/notes/notes.go:351-392) logs Errorf("err: %v") and returns nil when buildReleaseNote fails. That happens when GetPullRequest hits a 5xx, a network error, or a rate limit after its 3 retries. release-notes generate then exits 0. The tool also drops a second PR whose Markdown matches one it has already seen (dedupeCache, notes.go:366-376).

In both cases the PR is missing from release-notes.json. render-release-notes.sh (lines 77-78 and 152-157) only lists it under 'PRs Without Release Notes' and prints a ::warning::. An action required note lost this way never reaches Urgent Upgrade Notes, and nothing stops the release. This is the same silent loss the PR sets out to fix. The earlier request to list missing PRs and print a warning did not cover a note the tool failed to gather because of an error.

Suggestion: Add body to the per-PR GraphQL query in fetch_pr_meta. After the gather, fail the job when a merged PR whose body has a non-NONE release-note block (classified with the same regexes as check-release-note.sh) has no entry in release-notes.json. At minimum, fail when that PR carries release-note-action-required. You can also capture the tool's stderr and fail on level=error lines.

Verified: read code at head + release-notes v0.23.0 pkg/notes/notes.go (kubernetes/release v0.23.0 source) at 4da7e16; raised by: Claude

This branch was successfully deployed

1 active and 2 inactive (1 outdated) deployments
site-preview — 4da7e16b Deployed Nov 26, 2026 by github-actions[bot]
forgejo-dev — 4da7e16b Deployed Nov 26, 2026 by rh-hemartin via forgejo-behaviour #21360
dev — 512e6caf Deployed Nov 20, 2026 by rh-hemartin via playback #20821
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/ci CI pipelines and checks risk/elevated PR risk: elevated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants