Skip to content

ci: switch off the post-merge review-summary request on buzz - #138

Merged
yjc801 merged 2 commits into
mainfrom
claude/disable-buzz-post-merge-summary-3e4b8c
Sep 4, 2026
Merged

ci: switch off the post-merge review-summary request on buzz#138
yjc801 merged 2 commits into
mainfrom
claude/disable-buzz-post-merge-summary-3e4b8c

Conversation

@yjc801

@yjc801 yjc801 commented Sep 4, 2026

Copy link
Copy Markdown
Owner

What

A merged PR's close no longer asks Alex for a review summary or holds the room open for it.

buzz-pr-mirror.yml gains a POST_MERGE_SUMMARY env value, shipped "off" and validated to be exactly on or off before any write. With it off, a merged PR takes the same close path as a PR closed without a merge: one mention-free notice (✅ **Merged** — archiving this channel.), the cross-channel annotations, the archive, and the close marker. Nobody is p-tagged.

Why

The owner asked for the post-merge summary to be disabled on this repo. Velvet's mirror keeps the request on; the two mirrors now differ here on purpose, so a future sync should not carry this back.

What a reviewer should know

  • The switch governs only whether a new request is made. A room that already holds one, either a summary-requested: close marker or a request this CI identity published under a lost marker write, is still finished by the existing grace-and-settle hold. The p-tag is out and a summary may be mid-turn, and an archive now would refuse it. So the off path keeps request_summary's full-history probe ahead of its fence, and rooms in that state drain within one grace window of the flip.
  • The mechanism is kept intact and tested under on. Flipping the value back restores it without a rewrite.
  • Tests. pr-mirror-close.test.sh asserts the shipped value is "off", runs the request scenarios under an explicit POST_MERGE_SUMMARY_INPUT=on, and adds off-path scenarios: the event close, the sweep close, an already-published request honoured rather than archived over, the forced re-close inside the convergence loop, and an invalid switch value refused. 332 → 375 assertions. Three mutations each fail the suite: value flipped to on, the gate removed (always ask), and the off-path probe removed.
  • Docs and neighbouring comments. docs/pr-auto-merge.md and the comments in buzz-pr-auto-merge.yml that described the hold now say the channel archives on the merge's own closed event. The best-effort post-merge alert into the PR channel is unchanged in behaviour; its comment now states the race honestly.

Verification

  • just auto-merge-check green (all lanes, including actionlint on both workflows).
  • Mutation check on the three seams above, workflow restored byte-for-byte afterwards.

🤖 Generated with Claude Code

A merged PR's close no longer asks Alex for a review summary or holds the
room open for it. buzz-pr-mirror.yml gains POST_MERGE_SUMMARY, shipped
"off" and validated to be exactly on|off before any write; with it off a
merged PR takes the not-merged close path: one mention-free notice
("✅ **Merged** — archiving this channel."), the cross-channel
annotations, the archive, and the close marker. Nobody is p-tagged.

The switch governs only whether a NEW request is made. A room that
already holds one — a `summary-requested:` marker, or a request this CI
identity published under a lost marker write — is still finished by the
existing grace-and-settle hold, because the p-tag is out and an archive
now would refuse the summary it asked for. The off path therefore keeps
request_summary's full-history probe before its fence. The mechanism is
kept intact and tested under `on`, so flipping the value back restores
it without a rewrite.

pr-mirror-close.test.sh asserts the shipped value is "off", runs the
request scenarios under an explicit `on`, and adds off-path scenarios
for the event close, the sweep close, an already-published request
honoured, the forced re-close inside the convergence loop, and an
invalid switch value (332 → 375 assertions). Each of three mutations —
value flipped to on, gate removed, off-path probe removed — fails the
suite. docs/pr-auto-merge.md and the buzz-pr-auto-merge.yml comments
that described the hold now say the channel archives on the merge's own
closed event. Velvet's mirror keeps the request on; the two differ here
on purpose.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Junchao Yan <yjc801@gmail.com>
@github-actions github-actions Bot added the approved-manual-merge A current-head reviewer approval the sweep will not auto-merge — ready for a human click label Sep 4, 2026
@github-actions github-actions Bot removed the approved-manual-merge A current-head reviewer approval the sweep will not auto-merge — ready for a human click label Sep 4, 2026
@yjc801
yjc801 merged commit 8fce6f8 into main Sep 4, 2026
47 checks passed
@yjc801
yjc801 deleted the claude/disable-buzz-post-merge-summary-3e4b8c branch September 4, 2026 21:58
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.

1 participant